... | ... | @@ -305,4 +305,71 @@ Hello world, from process 15 of 16 on res-hpc-lo01.researchlumc.nl |
|
|
|
|
|
## Submitting jobs
|
|
|
|
|
|
```
|
|
|
git clone https://github.com/intel/mpi-benchmarks
|
|
|
cd mpi-benchmarks
|
|
|
make clean
|
|
|
cd src_c
|
|
|
make clean
|
|
|
make -f Makefile TARGET=MPI1
|
|
|
```
|
|
|
|
|
|
```
|
|
|
ldd ./IMB-MPI1
|
|
|
linux-vdso.so.1 (0x00007ffc29792000)
|
|
|
libmpi.so.40 => /share/software/MPI/openmpi/4.0.2/gcc-8.2.1/lib/libmpi.so.40 (0x00007f626cab1000)
|
|
|
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f626c891000)
|
|
|
libc.so.6 => /lib64/libc.so.6 (0x00007f626c4cd000)
|
|
|
libopen-rte.so.40 => /share/software/MPI/openmpi/4.0.2/gcc-8.2.1/lib/libopen-rte.so.40 (0x00007f626c217000)
|
|
|
libopen-pal.so.40 => /share/software/MPI/openmpi/4.0.2/gcc-8.2.1/lib/libopen-pal.so.40 (0x00007f626bf6b000)
|
|
|
libdl.so.2 => /lib64/libdl.so.2 (0x00007f626bd67000)
|
|
|
librt.so.1 => /lib64/librt.so.1 (0x00007f626bb5e000)
|
|
|
libutil.so.1 => /lib64/libutil.so.1 (0x00007f626b95a000)
|
|
|
libz.so.1 => /lib64/libz.so.1 (0x00007f626b743000)
|
|
|
libhwloc.so.5 => /share/software/system/hwloc/1.11.13/gcc-8.2.1/lib/libhwloc.so.5 (0x00007f626b504000)
|
|
|
libm.so.6 => /lib64/libm.so.6 (0x00007f626b182000)
|
|
|
libnuma.so.1 => /lib64/libnuma.so.1 (0x00007f626af76000)
|
|
|
libudev.so.1 => /lib64/libudev.so.1 (0x00007f626ad50000)
|
|
|
libxml2.so.2 => /lib64/libxml2.so.2 (0x00007f626a9e8000)
|
|
|
libevent-2.1.so.6 => /lib64/libevent-2.1.so.6 (0x00007f626a78f000)
|
|
|
libevent_pthreads-2.1.so.6 => /lib64/libevent_pthreads-2.1.so.6 (0x00007f626a58c000)
|
|
|
/lib64/ld-linux-x86-64.so.2 (0x00007f626cdd4000)
|
|
|
libmount.so.1 => /lib64/libmount.so.1 (0x00007f626a333000)
|
|
|
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f626a11b000)
|
|
|
liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f6269ef4000)
|
|
|
libcrypto.so.1.1 => /lib64/libcrypto.so.1.1 (0x00007f6269a1c000)
|
|
|
libblkid.so.1 => /lib64/libblkid.so.1 (0x00007f62697ca000)
|
|
|
libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f62695c2000)
|
|
|
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f6269398000)
|
|
|
libpcre2-8.so.0 => /lib64/libpcre2-8.so.0 (0x00007f6269114000)
|
|
|
```
|
|
|
|
|
|
```
|
|
|
#!/bin/bash
|
|
|
## wget https://github.com/intel/mpi-benchmarks/archive/v2018.1.tar.gz
|
|
|
## https://hpc.oit.uci.edu/software
|
|
|
#SBATCH -J IMB
|
|
|
#SBATCH -N 2
|
|
|
#SBATCH --ntasks-per-node=16
|
|
|
#SBATCH --time=00:30:00
|
|
|
#SBATCH --error=job.%J.err
|
|
|
#SBATCH --output=job.%J.out
|
|
|
|
|
|
# Clear the environment from any previously loaded modules
|
|
|
module purge > /dev/null 2>&1
|
|
|
|
|
|
# Load the module environment suitable for the job
|
|
|
module load mpi/openmpi/3.1.5/gcc-8.2.1
|
|
|
|
|
|
echo "Starting at `date`"
|
|
|
echo "Running on hosts: $SLURM_NODELIST"
|
|
|
echo "Running on $SLURM_NNODES nodes."
|
|
|
echo "Running $SLURM_NTASKS tasks."
|
|
|
echo "Current working directory is `pwd`"
|
|
|
|
|
|
##mpirun ./IMB-MPI1 SendRecv
|
|
|
##mpirun ./IMB-MPI1 PingPong
|
|
|
mpirun ./IMB-MPI1
|
|
|
echo "Program finished with exit code $? at: `date`"
|
|
|
```
|
|
|
## More Slurm info |
|
|
\ No newline at end of file |