Open main menu

Changes

OpenMPI

157 bytes added, 08:45, 6 October 2020
m
Gary has achieved near perfect scaling efficiency:
https://mail.{{gna.org/public/mailing list url|relax-devel/2007-05/msg00000.html}}
=== Dependencies ===
You can continue try this, until a good results
<source lang="bash">
# With shellmpirun -np 4 echo "hello world" # With pythonmpirun -np 4 python -m mpi4py helloworld # If newer version of mpirun, then --report-bindings worksmpirun --report-bindings -np 11 4 echo "hello world"
mpirun --report-bindings -np 12 echo "hello world"
# This is too much
# Set number of available CPUs.
set NPROC=`nproc`
set NP=`echo $NPROC + 1 0 | bc `
echo "Running relax with NP=$NP in multi-processor mode"
#set NPROC=`nproc`
set NPROC=10
set NP=`echo $NPROC + 1 0 | bc `
# Run relax in multi processor mode.
Trusted, Bureaucrats
4,228

edits