Conversation
Contributor
Author
OpenMPI/mpi4pyOpenMPIgit clone https://github.com/open-mpi/ompi.git
cd ompi/
git checkout a8dd8708d8b6d1346328d7f4612d63b307c25653
git submodule update --init --recursive
./autogen.pl
mkdir build; cd build
../configure --prefix=$HOME/.local/ompi --enable-mpirun-prefix-by-default --with-ucx=$HOME/.local/ucx --without-lsf --without-psm --without-libfabric --without-verbs --without-psm2 --without-alps --without-sge --with-slurm --without-tm --without-loadleveler --disable-debug --disable-memchecker --disable-oshmem --disable-java --disable-mpi-java --disable-man-pages --with-pmi=/cm/shared/apps/slurm/current/
make -j && make install
# These lines should also go into your bashrc
export OPAL_PREFIX=$HOME/.local/ompi/
export OPAL_LIBDIR=$OPAL_PREFIX/lib
export PATH=$OPAL_PREFIX/bin:$PATH
srun --nodes=1 -A TG-ASC050039N --ntasks-per-node=10 --time=15:00 --partition=compute --exclusive --pty bash -impi4pyDiff applied to setup.cfg diff --git a/mpi.cfg b/mpi.cfg
index a704440..542db7e 100644
--- a/mpi.cfg
+++ b/mpi.cfg
@@ -53,7 +53,7 @@ mpicxx = %(mpi_dir)s/bin/mpicxx
# Open MPI example
# ----------------
[openmpi]
-mpi_dir = /home/devel/mpi/openmpi/5.0.0
+mpi_dir = /home/zanef2/.local/ompi
mpicc = %(mpi_dir)s/bin/mpicc
mpicxx = %(mpi_dir)s/bin/mpicxx
#include_dirs = %(mpi_dir)s/includeInstallation git clone https://github.com/mpi4py/mpi4py.git
cd mpi4py/
python3 -m pip install --user --install-option="--mpi=openmpi" . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Experimental setup (SDSC Expanse)
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh chmod +x ./Miniconda3-latest-Linux-x86_64.sh ./Miniconda3-latest-Linux-x86_64.sh conda create --name charm4py conda activate charm4py conda install --yes numpy scipy pandas greenlet cythongit clone https://github.com/openucx/ucx.git # Version 1.10.1 git checkout 6a5856ef4f72c8139951e7ed1d0a4cb75a2e82ec mkdir ~/.local cd ucx/ module load gcc/10.2.0 # This was required because UCX wasn't finding the NUMA libraries. # This command should work directly on Expanse (from [[https://github.com/openucx/ucx/issues/4774#issuecomment-586646345][here]]) export NUMA_HOME=/cm/shared/apps/spack/cpu/opt/spack/linux-centos8-zen/gcc-8.3.1/numactl-2.0.12-uvjxkgifpcwra25lv6tzxa5gof5ayfkq CFLAGS="-I$NUMA_HOME/include" LDFLAGS="-L$NUMA_HOME/lib -Wl,-rpath,$NUMA_HOME/lib" export CFLAGS LDFLAGS ./autogen.sh mkdir build cd build ../contrib/configure-release --prefix=$HOME/.local/ucx make -j && make install