config.yaml doesn't take into account --with nvhpc/24.3
With the following config.yaml
config.yaml
4.1.5:
variants:
- systems: [merlin-*, ra-*]
suffix: _slurm
group_deps:
compiler: {gcc: [9.5.0, 10.4.0, 11.4.0, 12.3.0, 13.1.0]}
build_requires: [pmix/4.2.4, ucx/1.14.1_slurm, libfabric/1.18.0, hwloc/2.9.1, patchelf/0.14.5]
runtime_deps: [cuda/12.1.1]
- systems: [merlin-*, ra-*]
suffix: _slurm
relstage: unstable
group_deps:
compiler: {intelcc: [22.2]}
build_requires: [pmix/4.2.4, ucx/1.14.1_slurm, libfabric/1.18.0, hwloc/2.9.1, patchelf/0.14.5]
runtime_deps: [cuda/12.1.1]
- systems: [merlin-*, ra-*]
suffix: _slurm
relstage: unstable
group_deps:
compiler: {nvhpc: [24.3]}
build_requires: [pmix/4.2.4, ucx/1.14.1_slurm, libfabric/1.18.0, hwloc/2.9.1, patchelf/0.14.5]
& the command
germann_e@merlin-l-001:~/.../Compiler/openmpi$ ./build 4.1.5 --with nvhpc/24.3 --update-modulefiles
/opt/psi/Tools/Pmodules/1.1.17/bin/modbuild ./build 4.1.5 --with nvhpc/24.3 --update-modulefiles
Using YAML configuration file - /psi/home/germann_e/buildblocks/Compiler/openmpi/files/config.yaml
openmpi/4.1.5_slurm: with gcc/9.5.0 cuda/12.1.1 b:pmix/4.2.4 b:ucx/1.14.1_slurm b:libfabric/1.18.0 b:hwloc/2.9.1 b:patchelf/0.14.5 building ...
Loading module: gcc/9.5.0
Loading module: cuda/12.1.1
Loading module: pmix/4.2.4
Loading module: ucx/1.14.1_slurm
Loading module: libfabric/1.18.0
Loading module: hwloc/2.9.1
Loading module: patchelf/0.14.5
Using pbuild::set_download_url is deprecated with YAML module configuration files.
Using pbuild::set_sha256sum is deprecated with YAML module configuration files.
Using pbuild::add_to_group is deprecated with YAML module configuration files.
Using pbuild::install_docfiles is deprecated with YAML module configuration files.
openmpi/4.1.5_slurm: build with gcc/9.5.0 cuda/12.1.1 b:pmix/4.2.4 b:ucx/1.14.1_slurm b:libfabric/1.18.0 b:hwloc/2.9.1 b:patchelf/0.14.5
openmpi/4.1.5_slurm: already exists, not rebuilding ...
openmpi/4.1.5_slurm: adding modulefile to overlay 'base' ...
* * * * *
openmpi/4.1.5_slurm: with gcc/10.4.0 cuda/12.1.1 b:pmix/4.2.4 b:ucx/1.14.1_slurm b:libfabric/1.18.0 b:hwloc/2.9.1 b:patchelf/0.14.5 building ...
Loading module: gcc/10.4.0
Loading module: cuda/12.1.1
Loading module: pmix/4.2.4
The build binary is still trying to compile with all the compilers (gcc, intelcc) though --with nvhpc is given.
Edited by germann_e