Skip to content
Snippets Groups Projects
Commit ad4c33bf authored by Papeleux Luc's avatar Papeleux Luc
Browse files

config pbs

parent e95b3f29
No related branches found
No related tags found
No related merge requests found
......@@ -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")
......
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