cc_staff
9
edits
No edit summary |
|||
Line 67: | Line 67: | ||
<!--T:15--> | <!--T:15--> | ||
{{File | |||
|name=run_julia_pi.sh | |||
|lang="bash" | |||
|contents= | |||
#!/bin/bash | #!/bin/bash | ||
#SBATCH --ntasks=1000 # number of MPI processes | #SBATCH --ntasks=1000 # number of MPI processes | ||
Line 80: | Line 83: | ||
sleep 5 | sleep 5 | ||
julia --machine-file ./hostfile ./pi_p.jl 1000000000000000 | julia --machine-file ./hostfile ./pi_p.jl 1000000000000000 | ||
}} | |||
In this example, the command | In this example, the command | ||
<pre> | <pre> |