Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
pbsutils
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
toolbox
pbsutils
Commits
35e782d9
Commit
35e782d9
authored
8 years ago
by
David Verelst
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config-wine-hawc2.sh
+2
-3
2 additions, 3 deletions
config-wine-hawc2.sh
qsub-wrap.py
+2
-3
2 additions, 3 deletions
qsub-wrap.py
with
4 additions
and
6 deletions
config-wine-hawc2.sh
+
2
−
3
View file @
35e782d9
...
...
@@ -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:
\b
in to wine/Windows PATH"
echo
"-------- adding /home/
$USER
/
$WINEDIRNAME
/drive_c/bin/ to wine system PATH"
echo
"-------- this is equivalent to C:
\b
in 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"
...
...
This diff is collapsed.
Click to expand it.
qsub-wrap.py
+
2
−
3
View file @
35e782d9
...
...
@@ -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
=
'
0
0:29:59
'
)
default
=
'
0
2: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
'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment