Hi,
Here is what I see:
DELTA-GPU: /u/sumseq> module list
Currently Loaded Modules:
1) cue-login-env/1.0 3) default 5) ucx/1.11.2 7) openmpi/4.1.2 9) subversion/1.13.0
2) modtree/gpu 4) nvhpc/22.2 6) cuda/11.6.1 8) git/2.31.1 10) libtirpc/1.2.6
DELTA-GPU: /u/sumseq> module load openmpi/4.1.4
--------------------------------------------------------------------------------------------------------------
The following dependent module(s) are not currently loaded: cuda/11.6.1 (required by: ucx/1.11.2)
--------------------------------------------------------------------------------------------------------------
The following have been reloaded with a version change:
1) cuda/11.6.1 => cuda/11.7.0 2) openmpi/4.1.2 => openmpi/4.1.4
DELTA-GPU: /u/sumseq> module show cuda/11.7.0
-----------------------------------------------------------------------------------------------------------
/sw/spack/delta-2022-03/modules/lmod/nvhpc/22.2/cuda/11.7.0.lua:
-----------------------------------------------------------------------------------------------------------
whatis("Name : cuda")
whatis("Version : 11.7.0")
whatis("Target : zen3")
whatis("Short description : CUDA is a parallel computing platform and programming model invented by NVIDIA. It
enables dramatic increases in computing performance by harnessing the power of the graphics processing unit (GP
U).")
help([[CUDA is a parallel computing platform and programming model invented by
NVIDIA. It enables dramatic increases in computing performance by
harnessing the power of the graphics processing unit (GPU). Note: This
package does not currently install the drivers necessary to run CUDA.
These will need to be installed manually. See:
https://docs.nvidia.com/cuda/ for details.]])
prepend_path("PATH","/sw/spack/delta-2022-03/apps/cuda/11.7.0-nvhpc-22.2-eiijfgu/bin")
prepend_path("C_INCLUDE_PATH","/sw/spack/delta-2022-03/apps/cuda/11.7.0-nvhpc-22.2-eiijfgu/include")
prepend_path("CPLUS_INCLUDE_PATH","/sw/spack/delta-2022-03/apps/cuda/11.7.0-nvhpc-22.2-eiijfgu/include")
prepend_path("INCLUDE","/sw/spack/delta-2022-03/apps/cuda/11.7.0-nvhpc-22.2-eiijfgu/include")
prepend_path("LIBRARY_PATH","/sw/spack/delta-2022-03/apps/cuda/11.7.0-nvhpc-22.2-eiijfgu/lib64")
prepend_path("LD_LIBRARY_PATH","/sw/spack/delta-2022-03/apps/cuda/11.7.0-nvhpc-22.2-eiijfgu/lib64")
prepend_path("CMAKE_PREFIX_PATH","/sw/spack/delta-2022-03/apps/cuda/11.7.0-nvhpc-22.2-eiijfgu/")
setenv("CUDA_HOME","/sw/spack/delta-2022-03/apps/cuda/11.7.0-nvhpc-22.2-eiijfgu")
DELTA-GPU: /u/sumseq> module show openmpi/4.1.4
-----------------------------------------------------------------------------------------------------------
/sw/spack/delta-2022-03/modules/lmod/nvhpc/22.2/openmpi/4.1.4.lua:
-----------------------------------------------------------------------------------------------------------
whatis("Name : openmpi")
whatis("Version : 4.1.4")
whatis("Target : zen3")
whatis("Short description : An open source Message Passing Interface implementation.")
whatis("Configure options : --enable-shared --disable-silent-rules --disable-builtin-atomics --with-pmi=/usr --
enable-static --enable-mpi1-compatibility --with-ofi=/sw/external/libraries/libfabric-1.14.0 --without-fca --wi
thout-verbs --without-psm --without-xpmem --without-psm2 --without-cma --with-knem=/opt/knem-1.1.4.90mlnx1 --wi
th-ucx=/sw/spack/delta-2022-03/apps/ucx/1.12.1-nvhpc-22.2-i5zpucv --without-mxm --without-hcoll --without-cray-
xpmem --without-alps --without-tm --without-sge --with-slurm --without-lsf --without-loadleveler --disable-memc
hecker --with-lustre=/usr --with-pmix=/usr/local --with-zlib=/sw/spack/delta-2022-03/apps/zlib/1.2.11-nvhpc-22.
2-q7ooed6 --with-hwloc=/usr --disable-java --disable-mpi-java --with-gpfs=no --enable-dlopen --with-cuda=/sw/sp
ack/delta-2022-03/apps/cuda/11.7.0-nvhpc-22.2-eiijfgu --enable-wrapper-rpath --disable-wrapper-runpath --disabl
e-mpi-cxx --disable-cxx-exceptions --with-wrapper-ldflags=-Wl,-rpath,/sw/spack/delta-2022-03/apps/nvhpc/22.2-gc
c-8.4.1-haf5tea/Linux_x86_64/22.2/compilers/lib")
help([[An open source Message Passing Interface implementation. The Open MPI
Project is an open source Message Passing Interface implementation that
is developed and maintained by a consortium of academic, research, and
industry partners. Open MPI is therefore able to combine the expertise,
technologies, and resources from all across the High Performance
Computing community in order to build the best MPI library available.
Open MPI offers advantages for system and software vendors, application
developers and computer science researchers.]])
family("mpi")
prepend_path("MODULEPATH","/sw/spack/delta-2022-03/modules/lmod/openmpi/4.1.4-cbpax24/nvhpc/22.2")
setenv("LMOD_MPI_NAME","openmpi")
setenv("LMOD_MPI_VERSION","4.1.4-cbpax24")
depends_on("cuda/11.7.0")
prepend_path("PATH","/sw/spack/delta-2022-03/apps/openmpi/4.1.4-nvhpc-22.2-cbpax24/bin")
prepend_path("MANPATH","/sw/spack/delta-2022-03/apps/openmpi/4.1.4-nvhpc-22.2-cbpax24/share/man")
prepend_path("C_INCLUDE_PATH","/sw/spack/delta-2022-03/apps/openmpi/4.1.4-nvhpc-22.2-cbpax24/include")
prepend_path("CPLUS_INCLUDE_PATH","/sw/spack/delta-2022-03/apps/openmpi/4.1.4-nvhpc-22.2-cbpax24/include")
prepend_path("INCLUDE","/sw/spack/delta-2022-03/apps/openmpi/4.1.4-nvhpc-22.2-cbpax24/include")
prepend_path("LIBRARY_PATH","/sw/spack/delta-2022-03/apps/openmpi/4.1.4-nvhpc-22.2-cbpax24/lib")
prepend_path("LD_LIBRARY_PATH","/sw/spack/delta-2022-03/apps/openmpi/4.1.4-nvhpc-22.2-cbpax24/lib")
prepend_path("PKG_CONFIG_PATH","/sw/spack/delta-2022-03/apps/openmpi/4.1.4-nvhpc-22.2-cbpax24/lib/pkgconfig")
prepend_path("CMAKE_PREFIX_PATH","/sw/spack/delta-2022-03/apps/openmpi/4.1.4-nvhpc-22.2-cbpax24/")
setenv("MPICC","/sw/spack/delta-2022-03/apps/openmpi/4.1.4-nvhpc-22.2-cbpax24/bin/mpicc")
setenv("MPICXX","/sw/spack/delta-2022-03/apps/openmpi/4.1.4-nvhpc-22.2-cbpax24/bin/mpic++")
setenv("MPIF77","/sw/spack/delta-2022-03/apps/openmpi/4.1.4-nvhpc-22.2-cbpax24/bin/mpif77")
setenv("MPIF90","/sw/spack/delta-2022-03/apps/openmpi/4.1.4-nvhpc-22.2-cbpax24/bin/mpif90")
setenv("OMPI_MCA_opal_common_ucx_opal_mem_hooks","1")
setenv("OMPI_MCA_opal_warn_on_missing_libcuda","0")
It looks like it is setting the CUDA to the 11.7 but that should be ok I think… Maybe the NV compiler is till linking to the old CUDA?
– Ron