Closed ringleschavez closed 2 years ago
cd $SCRATCH
tar xzf openmpi-4.1.1.tar.gz
cd openmpi-4.1.1/
./configure --prefix=${SCRATCH}/usr/local
mkdir -p ${SCRATCH}/usr/local
make -j 32
make install
module load daint-mc
cd ${SCRATCH}/testing_code/
export PATH=${SCRATCH}/usr/local/bin:${PATH}
export LD_LIBRARY_PATH=${SCRATCH}/usr/local/bin:${LD_LIBRARY_PATH}
ompi-server --debug --no-daemonize --report-uri RTE.data.server
module load daint-mc
cd ${SCRATCH}/testing_code/
export PATH=${SCRATCH}/usr/local/bin:${PATH}
export LD_LIBRARY_PATH=${SCRATCH}/usr/local/bin:${LD_LIBRARY_PATH}
mpiexec --ompi-server file:RTE.data.server -np 1 ./server
module load daint-mc
cd ${SCRATCH}/testing_code/
export PATH=${SCRATCH}/usr/local/bin:${PATH}
export LD_LIBRARY_PATH=${SCRATCH}/usr/local/bin:${LD_LIBRARY_PATH}
mpiexec --ompi-server file:RTE.data.server -np 1 ./client <ThePortCreatedByTheServer>
It is possible to use the Socket-Style Communication on single-node, since the server and client binaries are launch by means of slurm + mpirun,
notwithstanding, on multiple-nodes, when mpirun
is used, multiple instances of the mentioned binaries are launched which is not the expected operation on run-time.
After testing several alternatives of compiling OpenMPI 4.1.1 on Piz Daint, the conclusion is SLURM
tools running on Piz Daint should provide the proper PMI
or PMIx
interface in order to use the Socket-Style Communication approach implemented on OpenMPI 4.1.1.
OpenMPI on CSCS Piz Daint.pdf is the first draft showing the outcomes of the tested compilation process.
Summary
Making work the TVB-NEST use-case on the CSCS infraestructure environment.
Contraints:
Tasks
Requirements
Acceptance criteria
Making work client/server approach (MPI socket-style communication) on Piz Daint by using multiple compute-nodes