Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
linuxbin
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Pour rappel, le service sera inaccessible ce lundi 05/05/25 midi pour raison de mise à jour.
Show more breadcrumbs
Aerospace and Mechanical Engineering
linuxbin
Commits
ad4c33bf
Commit
ad4c33bf
authored
6 years ago
by
Papeleux Luc
Browse files
Options
Downloads
Patches
Plain Diff
config pbs
parent
e95b3f29
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
parametricJob.py
+5
-2
5 additions, 2 deletions
parametricJob.py
with
5 additions
and
2 deletions
parametricJob.py
+
5
−
2
View file @
ad4c33bf
...
...
@@ -563,8 +563,11 @@ class ParametricJob(PRMSet):
#file.write("#PBS -l model=%s\n"%self.pars['MODEL'].val) #allow choice for subqueues => chose CPU Type
#allowed values : westemere / westmere_fat / westmere_xfat / ivyBridge
# workdir :
#file.write("echo '------------------ Work dir --------------------'\n")
#file.write("cd ${PBS_O_WORKDIR} && echo ${PBS_O_WORKDIR}\n")
file
.
write
(
"
echo
'
------------------ Work dir --------------------
'
\n
"
)
#pbs does not start in launchworkdir => get back to it
file
.
write
(
"
cd ${PBS_O_WORKDIR} && echo ${PBS_O_WORKDIR}
\n
"
)
#pbs output only written at the end of exec. This command allow having output during run
file
.
write
(
"
exec > ${PBS_O_WORKDIR}/${PBS_JOBNAME}_${PBS_JOBID}.log
\n
"
)
file
.
write
(
"
echo
'
------------------ Job Info --------------------
'
\n
"
)
# print info
file
.
write
(
"
echo
'
jobid : $PBS_JOBID
'
\n
"
)
...
...
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