-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated docs and lotus submission script
- Loading branch information
1 parent
14cf7db
commit 18d79c7
Showing
2 changed files
with
47 additions
and
5 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,25 @@ | ||
#!/bin/bash | ||
#SBATCH -p test | ||
#SBATCH -n 6 | ||
#SBATCH -t 10 | ||
#SBATCH -o %j.log | ||
#SBATCH -e %j.err | ||
|
||
# Load a module for the OpenMPI library | ||
module load eb/OpenMPI/intel/4.1.0 intel/20.0.0 | ||
|
||
cd <base_dir>/trunk/gungho/example | ||
|
||
#Run using containerised OpenMPI libraries | ||
echo internal | ||
time mpirun singularity exec <base_dir>/lfric_openmpi_env.sif ../bin/gungho configuration.nml | ||
|
||
#Run using lotus OpenMPI libraries | ||
echo external | ||
|
||
export LOCAL_LD_LIBRARY_PATH="/apps/eb/software/OpenMPI/4.1.0-iccifort-2018.3.222-GCC-7.3.0-2.30/lib:\$LD_LIBRARY_PATH" | ||
export BIND_OPT="-B /apps/eb" | ||
|
||
time mpirun singularity exec $BIND_OPT --env=LD_LIBRARY_PATH=$LOCAL_LD_LIBRARY_PATH <base_dir>/lfric_openmpi_env.sif ../bin/gungho configuration.nml | ||
|
||
exit |