Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
HPC - JGU - Physics Simulations
ab-initio Simulations
Commits
543f05d3
Commit
543f05d3
authored
Feb 04, 2019
by
Christian Meesters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more canonical submission and exec eval statement
parent
0aa7ac73
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
orca_wrap.sh
orca_wrap.sh
+3
-2
No files found.
orca_wrap.sh
View file @
543f05d3
...
...
@@ -261,7 +261,7 @@ if [ -z "$SLURM_JOB_ID" ]; then
#TODO: check sensible time constraint
# saving standard settings
submit_statement
=
"sbatch -A
${
_arg_assoc
}
-p
${
queue
}
-J
${
_arg_tag
}
-o
${
_arg_outdir
}
/
${
samplename
%%.*
}
_%j.log -n
$tasks
-t
3
00 --signal=B:SIGUSR2@600 -N 1"
submit_statement
=
"sbatch -A
${
_arg_assoc
}
-p
${
queue
}
-J
${
_arg_tag
}
-o
${
_arg_outdir
}
/
${
samplename
%%.*
}
_%j.log -n
$tasks
-t
120:00:
00 --signal=B:SIGUSR2@600 -N 1"
$submit_statement
--wrap
"
$(
cat
<<
EOF
cleanup(){
...
...
@@ -275,7 +275,8 @@ if [ -z "$SLURM_JOB_ID" ]; then
# Go to jobdir and start the program
cd /localscratch/
\$
{SLURM_JOB_ID}
set OMPI_MCA_btl=self,sm,openib
eval
\$
(which orca) "
\$
scratch"/
\$
(basename
$sample
)
#eval
\$
(which orca) "
\$
scratch"/
\$
(basename
$sample
)
$EBROOTORCA
/orca "
\$
scratch"/
\$
(basename
$sample
)
cleanup
EOF
)
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment