Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F77547790
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
Thu, Aug 15, 02:57
Size
577 B
Mime Type
text/x-shellscript
Expires
Sat, Aug 17, 02:57 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
19886161
Attached To
R195 SCITAS application benchmarks
runme_slurm.sh
View Options
#!/bin/bash
# Author: Vittoria.Rezzonico@epfl.ch
corespnode=`cat ../../cores_per_node.txt`
cp1=`echo "$corespnode-1" | bc`
for i in `cat ../cores.txt`; do
if [ "$i" -eq 1 ]
then
continue
fi
nodes=`echo "($i+$cp1)/$corespnode" | bc`
sed "s/--NODES--/$nodes/;s/--NP--/$i/" template.job > sub-$i.job
cat ../../cluster.job >> sub-$i.job
for s in `cat ../miniFE-sizes.txt`; do
NX=`echo $s | cut -dx -f1`
NY=`echo $s | cut -dx -f2`
NZ=`echo $s | cut -dx -f3`
echo "srun ./miniFE.x nx=$NX ny=$NY nz=$NZ" >> sub-$i.job
done
sbatch sub-$i.job
done
Event Timeline
Log In to Comment