Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91208608
looping.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
Sat, Nov 9, 00:00
Size
243 B
Mime Type
text/x-shellscript
Expires
Mon, Nov 11, 00:00 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22220585
Attached To
R12662 PHPC-graded_hw_1
looping.sh
View Options
#!/bin/bash
touch cmd.sh
module load gcc mvapich2 openblas
rm slurm-*
for
nprocs in
{
1..57..1
}
do
cat skeleton1.txt > cmd.sh
echo
"#SBATCH -n"
$nprocs
>> cmd.sh
echo
srun cgsolver lap2D_5pt_n100.mtx >> cmd.sh
sbatch cmd.sh
done
Event Timeline
Log In to Comment