Version 1 vs 2
Version 1 vs 2
Content Changes
Content Changes
```
lang=bash
#!/bin/bash
#SBATCH --nodes=2
#SBATCH -n 64
#SBATCH -D /data/gpfs/home/newellz2
#SBATCH --mail-type=ALL
#SBATCH --mail-user=newellz2@unr.edu
cd /data/gpfs/home/newellz2
#module load mpich/ge/gcc/64/3.2
module load /data/gpfs/assoc/coen/modulefiles/mpich2/3.2.1
module load lapack/gcc/64/3.7.0
module load gcc/5.4.0
module load blas/gcc/64/3.7.0
srun -n 64 --mpi=pmi2 ~/coen/software/sw4/sw4-mpich2-slurm lamb-1.in
```
==Compiling
```
#Compiling mpich3.2.1
wget http://www.mpich.org/static/downloads/3.2.1/mpich-3.2.1.tar.gz
tar xvfz mpich-3.2.1.tar.gz
cd mpich-3.2.1
./configure --with-slurm=/cm/shared/apps/slurm/current/lib64 --with-pmi=slurm --with-pm=no --prefix=/data/gpfs/assoc/coen/lib/mpich2/3.2.1
```
==Submit Script
```
lang=bash
#!/bin/bash
#SBATCH --nodes=2
#SBATCH -n 64
#SBATCH -D /data/gpfs/home/newellz2
#SBATCH --mail-type=ALL
#SBATCH --mail-user=newellz2@unr.edu
cd /data/gpfs/home/newellz2
#module load mpich/ge/gcc/64/3.2
module load /data/gpfs/assoc/coen/modulefiles/mpich2/3.2.1
module load lapack/gcc/64/3.7.0
module load gcc/5.4.0
module load blas/gcc/64/3.7.0
srun -n 64 --mpi=pmi2 ~/coen/software/sw4/sw4-mpich2-slurm lamb-1.in
```
==Compiling
```
#Compiling mpich3.2.1
wget http://www.mpich.org/static/downloads/3.2.1/mpich-3.2.1.tar.gz
tar xvfz mpich-3.2.1.tar.gz
cd mpich-3.2.1
./configure --with-slurm=/cm/shared/apps/slurm/current/lib64 --with-pmi=slurm --with-pm=no --prefix=/data/gpfs/assoc/coen/lib/mpich2/3.2.1
```
==Submit Script
```
lang=bash
#!/bin/bash
#SBATCH --nodes=2
#SBATCH -n 64
#SBATCH -D /data/gpfs/home/newellz2
#SBATCH --mail-type=ALL
#SBATCH --mail-user=newellz2@unr.edu
cd /data/gpfs/home/newellz2
#module load mpich/ge/gcc/64/3.2
module load /data/gpfs/assoc/coen/modulefiles/mpich2/3.2.1
module load lapack/gcc/64/3.7.0
module load gcc/5.4.0
module load blas/gcc/64/3.7.0
srun -n 64 --mpi=pmi2 ~/coen/software/sw4/sw4-mpich2-slurm lamb-1.in
```