-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples/clusters/gricad/job_fluidfft_bench.oar
- Loading branch information
Showing
2 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/bash | ||
#OAR -n bench_fluidfft | ||
#OAR --stdout fluidfft.out | ||
#OAR --stderr fluidfft.err | ||
#OAR -t devel | ||
#OAR -l /nodes=1/core=2,walltime=00:30:00 | ||
#OAR --project pr-strat-turb | ||
|
||
# load guix session | ||
source /applis/site/guix-start.sh | ||
|
||
export OMPI_MCA_plm_rsh_agent=/usr/bin/oarsh | ||
export OMPI_MCA_btl_openib_allow_ib=true | ||
export OMPI_MCA_pml=cm | ||
export OMPI_MCA_mtl=psm2 | ||
|
||
ENV="`guix shell -m manifest.scm -- /bin/sh -c 'echo $GUIX_ENVIRONMENT'`" | ||
|
||
cat $OAR_FILE_NODES > ./machinefile | ||
|
||
exec ~/.config/guix/current/bin/guix shell -E ^OMPI -E ^OAR -E ^OMP \ | ||
-m manifest.scm \ | ||
-- mpirun -np `cat machinefile | wc -l` \ | ||
--machinefile machinefile \ | ||
--prefix $ENV \ | ||
fluidfft-bench 256 -d 3 |