Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F83528134
runme_slurm.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Sep 17, 15:27
Size
580 B
Mime Type
text/x-shellscript
Expires
Thu, Sep 19, 15:27 (2 d)
Engine
blob
Format
Raw Data
Handle
20852693
Attached To
R195 SCITAS application benchmarks
runme_slurm.sh
View Options
#!/bin/sh
corespnode
=
`
cat ../../cores_per_node.txt
`
cp1
=
`
echo
"$corespnode-1"
| bc
`
for
i in
`
cat ../cores.txt
`
;
do
[
-d dIrr-
$i
]
||
cp -a dIrr dIrr-
$i
cd
dIrr-
$i
nodes
=
`
echo
"($i+$cp1)/$corespnode"
| bc
`
sed
"s/--NODES--/$nodes/;s/--NP--/$i/"
../template.job > sub-
$i
.job
cat ../../../cluster.job >> sub-
$i
.job
echo
"export OMP_NUM_THREADS=1"
>> sub-
$i
.job
echo
'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/scratch/rezzonic/v3/gsl-1.15/lib:/scratch/rezzonic/v3/fftw-2.1.5/lib'
>> sub-
$i
.job
echo
"srun ../src/Gadget2 params"
>> sub-
$i
.job
sbatch sub-
$i
.job
cd
..
done
Event Timeline
Log In to Comment