Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F65026562
execute.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, May 31, 04:49
Size
548 B
Mime Type
text/x-shellscript
Expires
Sun, Jun 2, 04:49 (2 d)
Engine
blob
Format
Raw Data
Handle
17991658
Attached To
R10834 Project_multiproc
execute.sh
View Options
#!/bin/bash
#SBATCH --nodes 1
#SBATCH --ntasks 1
#SBATCH --cpus-per-task 28
#SBATCH --mem 1G
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