From 88824e6f93f0cf25136e89eb7118dd49e61a0f38 Mon Sep 17 00:00:00 2001 From: Jim Edwards Date: Wed, 12 Jan 2022 07:43:10 -0700 Subject: [PATCH 1/4] add a pio 2.5.5 module on cheyenne --- machines/config_machines.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/machines/config_machines.xml b/machines/config_machines.xml index 1180f26f..861fb237 100644 --- a/machines/config_machines.xml +++ b/machines/config_machines.xml @@ -761,6 +761,9 @@ This allows using a different mpirun command to launch unit tests ncarcompilers/0.5.0 + + mpi-serial/2.11.0 + netcdf/4.7.4 @@ -770,6 +773,9 @@ This allows using a different mpirun command to launch unit tests netcdf/4.7.4 + + pio/2.5.5 + 1024M From c192a00a21b68bea0f7af00a208d8ce90e8a74df Mon Sep 17 00:00:00 2001 From: Jim Edwards Date: Wed, 12 Jan 2022 13:24:47 -0700 Subject: [PATCH 2/4] update machines def for cheyenne --- machines/config_machines.xml | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/machines/config_machines.xml b/machines/config_machines.xml index 861fb237..e7e77660 100644 --- a/machines/config_machines.xml +++ b/machines/config_machines.xml @@ -582,9 +582,10 @@ This allows using a different mpirun command to launch unit tests MPT: Launcher network accept (MPI_LAUNCH_TIMEOUT) timed out 10 LINUX - intel,gnu,pgi + intel,gnu,nvhpc,pgi mpt,openmpi openmpi,mpt + openmpi,mpt mpt,openmpi /glade/scratch/$USER $ENV{CESMDATAROOT}/inputdata @@ -670,6 +671,9 @@ This allows using a different mpirun command to launch unit tests pgi/20.4 + + nvhpc/21.11 + /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/intel/19.1.1/ esmf-8.2.0b23-ncdfio-mpt-g @@ -736,9 +740,9 @@ This allows using a different mpirun command to launch unit tests esmf-8.2.0b23-ncdfio-mpiuni-O - mpt/2.21 - netcdf-mpi/4.7.3 - pnetcdf/1.12.1 + mpt/2.25 + netcdf-mpi/4.8.1 + pnetcdf/1.12.2 mpt/2.22 @@ -746,10 +750,20 @@ This allows using a different mpirun command to launch unit tests pnetcdf/1.12.2 - mpt/2.19 + mpt/2.22 netcdf-mpi/4.7.4 pnetcdf/1.12.1 + + mpt/2.25 + netcdf-mpi/4.8.1 + pnetcdf/1.12.2 + + + openmpi/4.1.1 + netcdf-mpi/4.8.1 + pnetcdf/1.12.2 + openmpi/4.0.5 netcdf-mpi/4.7.4 @@ -773,7 +787,7 @@ This allows using a different mpirun command to launch unit tests netcdf/4.7.4 - + pio/2.5.5 From 752d79d4dc4eb37b46dc9dd3f45b8911532e97a8 Mon Sep 17 00:00:00 2001 From: Jim Edwards Date: Thu, 13 Jan 2022 13:16:47 -0700 Subject: [PATCH 3/4] add esmf for nvhpc on cheyenne --- machines/config_machines.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/machines/config_machines.xml b/machines/config_machines.xml index e7e77660..dc822fd0 100644 --- a/machines/config_machines.xml +++ b/machines/config_machines.xml @@ -723,6 +723,14 @@ This allows using a different mpirun command to launch unit tests /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/pgi/20.4/ esmf-8.2.0b23-ncdfio-mpt-O + + /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/nvhpc/21.11 + esmf-8.3.0b05-ncdfio-mpt-O + + + /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/nvhpc/21.11 + esmf-8.3.0b05-ncdfio-mpt-g + /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/pgi/20.4/ esmf-8.2.0b23-ncdfio-openmpi-g From 719521e3f623093eeb107ea5c48e706029b83bfe Mon Sep 17 00:00:00 2001 From: Jim Edwards Date: Thu, 13 Jan 2022 15:20:21 -0700 Subject: [PATCH 4/4] need a cmake macro to load lapack with nvhpc --- machines/cmake_macros/nvhpc_cheyenne.cmake | 4 ++++ machines/config_machines.xml | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 machines/cmake_macros/nvhpc_cheyenne.cmake diff --git a/machines/cmake_macros/nvhpc_cheyenne.cmake b/machines/cmake_macros/nvhpc_cheyenne.cmake new file mode 100644 index 00000000..e3769dd9 --- /dev/null +++ b/machines/cmake_macros/nvhpc_cheyenne.cmake @@ -0,0 +1,4 @@ +string(APPEND SLIBS " -llapack -lblas") +if (MPILIB STREQUAL mpi-serial) + string(APPEND SLIBS " -ldl") +endif() diff --git a/machines/config_machines.xml b/machines/config_machines.xml index dc822fd0..6a8336fd 100644 --- a/machines/config_machines.xml +++ b/machines/config_machines.xml @@ -731,6 +731,14 @@ This allows using a different mpirun command to launch unit tests /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/nvhpc/21.11 esmf-8.3.0b05-ncdfio-mpt-g + + /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/nvhpc/21.11 + esmf-8.3.0b05-ncdfio-openmpi-O + + + /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/nvhpc/21.11 + esmf-8.3.0b05-ncdfio-openmpi-g + /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/pgi/20.4/ esmf-8.2.0b23-ncdfio-openmpi-g @@ -747,6 +755,14 @@ This allows using a different mpirun command to launch unit tests /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/pgi/20.4/ esmf-8.2.0b23-ncdfio-mpiuni-O + + /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/nvhpc/21.11 + esmf-8.3.0b05-ncdfio-mpiuni-O + + + /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/nvhpc/21.11 + esmf-8.3.0b05-ncdfio-mpiuni-O + mpt/2.25 netcdf-mpi/4.8.1 @@ -795,6 +811,9 @@ This allows using a different mpirun command to launch unit tests netcdf/4.7.4 + + netcdf/4.8.1 + pio/2.5.5