Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92682229
array.run
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
Fri, Nov 22, 17:47
Size
388 B
Mime Type
text/x-shellscript
Expires
Sun, Nov 24, 17:47 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22486332
Attached To
rSCEXAMPLES SCITAS examples on how to run on the clusters
array.run
View Options
#!/bin/bash -l
#SBATCH --nodes 1
#SBATCH --ntasks-per-node 1
#SBATCH --cpus-per-task 1
#SBATCH --mem 1096
#SBATCH --time 00:10:00
#SBATCH --array=1-8
N=${SLURM_ARRAY_TASK_ID}
x=`head -n ${N} parameters.txt | tail -n 1 | cut -d' ' -f1`
y=`head -n ${N} parameters.txt | tail -n 1 | cut -d' ' -f2`
z=`head -n ${N} parameters.txt | tail -n 1 | cut -d' ' -f3`
srun ./hello.sh $x $y $z
Event Timeline
Log In to Comment