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