Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99399360
execute-reservation.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
Fri, Jan 24, 05:23
Size
719 B
Mime Type
text/x-shellscript
Expires
Sun, Jan 26, 05:23 (2 d)
Engine
blob
Format
Raw Data
Handle
23792242
Attached To
R10834 Project_multiproc
execute-reservation.sh
View Options
#!/bin/bash
#SBATCH --chdir /scratch/ancarola
#SBATCH --nodes 1
#SBATCH --ntasks 1
#SBATCH --cpus-per-task 28
#SBATCH --mem 1G
#SBATCH --partition serial
#SBATCH --account cs307
#SBATCH --reservation CS307-ex
echo STARTING AT `date`
mkdir -p graphs
outpi="graphs/outpi.dat"
outint="graphs/outint.dat" # integral output
Ntr="1 2 4 8 16 32 48 64"
Nsamples=100000000
a=0
b=1
rm -f $outpi
rm -f $outint
echo "N PI T" | tee $outpi
for ntr in $Ntr; do
./pi $ntr $Nsamples -t | tee -a $outpi
done
echo ""
echo "N a b INT T" | tee $outint
for ntr in $Ntr; do
./integral $ntr $Nsamples $a $b -t | tee -a $outint
done
echo FINISHED at `date`
Event Timeline
Log In to Comment