Skip to content
Snippets Groups Projects
Commit 35e782d9 authored by David Verelst's avatar David Verelst
Browse files

changed default walltime to 2h, default queue to work queue,

updated print message for wine configurator
parent b239bb76
No related branches found
No related tags found
No related merge requests found
......@@ -15,15 +15,14 @@ echo "-------- copying HAWC2 executables from/to:"
echo "$HAWC2EXES/* /home/$USER/$WINEDIRNAME/drive_c/bin/"
cp $HAWC2EXES/* "/home/$USER/$WINEDIRNAME/drive_c/bin/"
echo "-------- adding /home/$USER/$WINEDIRNAME/drive_c/bin/ to wine system PATH"
#WINEARCH=win32 WINEPREFIX=~/$WINEDIRNAME wine regedit /E tmp.reg "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment"
#sed -i 's/"PATH"="C:\\\\windows\\\\system32;C:\\\\windows"/"PATH"="C:\\\\windows\\\\system32;C:\\\\windows;C:\\\\bin"/g' tmp.reg
#WINEARCH=win32 WINEPREFIX=~/$WINEDIRNAME wine regedit ./tmp.reg
#rm ./tmp.reg
# add C:\bin (/home/$USER/$WINEDIRNAME/drive_c/bin/) to Windows PATH variable
echo "-------- adding C:\bin to wine/Windows PATH"
echo "-------- adding /home/$USER/$WINEDIRNAME/drive_c/bin/ to wine system PATH"
echo "-------- this is equivalent to C:\bin in Windows terms."
# seems like this doesn't work since the key Environment doesn't exist by default?
#rm ./tmp.reg
#WINEARCH=win32 WINEPREFIX=~/$WINEDIRNAME wine regedit /E ./tmp.reg "HKEY_CURRENT_USER\Environment"
......
......@@ -247,11 +247,10 @@ if __name__ == '__main__':
default='wetb_py3')
parser.add_argument('-q', '--queue', type='string', dest='queue',
help='name of the PBS queue: workq or xpresq. '
'defaults to xpresq',
default='xpresq')
'defaults to xpresq', default='workq')
parser.add_argument('-w', '--walltime', type='string', dest='walltime',
help='walltime, in HH:MM:SS. Default=00:29:59',
default='00:29:59')
default='02:00:00')
parser.add_argument('--dry', action='store_true', dest='dry', default=False,
help='dry run: do not submit pbs file.')
parser.add_argument('--jobname', type='string', action='store',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment