Add guidance for using MPI domain decomposition

这个提交包含在:
Nathan Mannall
2025-06-25 13:27:46 +01:00
父节点 b101bfe835
当前提交 5fe678fba3
共有 6 个文件被更改,包括 129 次插入9 次删除

查看文件

@@ -13,10 +13,10 @@
#$ -R y
### Parallel environment ($NSLOTS):
#$ -pe mpi 176
#$ -pe mpi 128
### Job script name:
#$ -N gprmax_omp_mpi_no_spawn.sh
#$ -N gprmax_omp_mpi.sh
#####################################################################################
### Initialise environment module
@@ -34,4 +34,4 @@ export OMP_NUM_THREADS=16
### Run gprMax with input file
cd $HOME/gprMax
mpirun -n 11 python -m gprMax mymodel.in -n 10 -taskfarm
mpirun -n 8 python -m gprMax mymodel.in --mpi 2 2 2

查看文件

@@ -0,0 +1,37 @@
#!/bin/sh
#####################################################################################
### Change to current working directory:
#$ -cwd
### Specify runtime (hh:mm:ss):
#$ -l h_rt=01:00:00
### Email options:
#$ -m ea -M joe.bloggs@email.com
### Resource reservation:
#$ -R y
### Parallel environment ($NSLOTS):
#$ -pe mpi 176
### Job script name:
#$ -N gprmax_omp_taskfarm.sh
#####################################################################################
### Initialise environment module
. /etc/profile.d/modules.sh
### Load and activate Anaconda environment for gprMax, i.e. Python 3 and required packages
module load anaconda
source activate gprMax
### Load OpenMPI
module load openmpi
### Set number of OpenMP threads per MPI task (each gprMax model)
export OMP_NUM_THREADS=16
### Run gprMax with input file
cd $HOME/gprMax
mpirun -n 11 python -m gprMax mymodel.in -n 10 --taskfarm