NCAR / spack-derecho

Spack production user software stack on the Derecho system
3 stars 0 forks source link

gcc/12.2.0 esmf/8.4.0-debug not found in 23.09 #14

Open jedwards4b opened 12 months ago

jedwards4b commented 12 months ago
 ls -ltr /glade/u/apps/cseg/derecho/modules/23.09/mpi-serial/2.3.0/gcc/12.2.0/esmf
total 1
-rw-r--r--+ 1 jedwards cseg 2962 Nov 14 17:37 8.6.0b04.lua
-rw-r--r--+ 1 jedwards cseg 2962 Nov 14 17:37 8.6.0b04-debug.lua

So the module is installed and from the command line I seem to be able to load it. However module spider gives:

 module spider  esmf/8.6.0b04-debug

------------------------------------------------------------------------------------------------------------------------------------------
  esmf: esmf/8.6.0b04-debug
------------------------------------------------------------------------------------------------------------------------------------------

    You will need to load all module(s) on any one of the lines below before the "esmf/8.6.0b04-debug" module is available to load.

      ncarenv-basic/23.06  gcc/12.2.0  mpi-serial/2.3.0
      ncarenv-basic/23.09  intel-classic/2023.2.1  cray-mpich/8.1.25
      ncarenv-basic/23.09  intel-classic/2023.2.1  mpi-serial/2.3.0
      ncarenv-basic/23.09  intel-oneapi/2023.2.1  cray-mpich/8.1.25
      ncarenv-basic/23.09  intel-oneapi/2023.2.1  mpi-serial/2.3.0
      ncarenv-basic/23.09  intel/2023.2.1  cray-mpich/8.1.25
      ncarenv-basic/23.09  intel/2023.2.1  mpi-serial/2.3.0
      ncarenv-basic/23.09  nvhpc/23.7  cray-mpich/8.1.25
      ncarenv-basic/23.09  nvhpc/23.7  mpi-serial/2.3.0
      ncarenv/23.06  gcc/12.2.0  mpi-serial/2.3.0
      ncarenv/23.09  intel-classic/2023.2.1  cray-mpich/8.1.25
      ncarenv/23.09  intel-classic/2023.2.1  mpi-serial/2.3.0
      ncarenv/23.09  intel-oneapi/2023.2.1  cray-mpich/8.1.25
      ncarenv/23.09  intel-oneapi/2023.2.1  mpi-serial/2.3.0
      ncarenv/23.09  intel/2023.2.1  cray-mpich/8.1.25
      ncarenv/23.09  intel/2023.2.1  mpi-serial/2.3.0
      ncarenv/23.09  nvhpc/23.7  cray-mpich/8.1.25
      ncarenv/23.09  nvhpc/23.7  mpi-serial/2.3.0

    Help:
      The Earth System Modeling Framework (ESMF) is high-performance, flexible
      software infrastructure for building and coupling weather, climate, and
      related Earth science applications. The ESMF defines an architecture for
      composing complex, coupled modeling systems and includes data structures
      and utilities for developing individual models. The National Unified
      Operational Prediction Capability (NUOPC) Layer defines a common model
      architecture to support interoperable ESMF components. The NUOPC Layer
      is included with the ESMF package.

Note that only ncarenv/23.06 is listed for the gcc compiler and when I try to load esmf from a script I am getting a module not found error.

vanderwb commented 12 months ago

I'm not able to replicate this in a simple bash script. What sort of script are you seeing the failure with?

[16:25] temp$ cat jim.sh
#!/bin/bash

module --force purge
module load ncarenv/23.09
module load cesmdev/1.0 craype gcc/12.2.0 ncarcompilers mpi-serial/2.3.0 esmf/8.6.0b04-debug

module list

[16:25] temp$ ./jim.sh

Currently Loaded Modules:
  1) ncarenv/23.09 (S)   2) cesmdev/1.0 (H,S)   3) craype/2.7.23   4) gcc/12.2.0   5) ncarcompilers/1.0.0   6) mpi-serial/2.3.0   7) esmf/8.6.0b04-debug

  Where:
   S:  Module is Sticky, requires --force to unload or purge
   H:             Hidden Module
jedwards4b commented 12 months ago

I still see strange inconsistencies in module spider, for example:

 module spider esmf/8.6.0b04   

---------------------------------------------------------------------------------------------------------------------------------------------------------------------
  esmf: esmf/8.6.0b04
---------------------------------------------------------------------------------------------------------------------------------------------------------------------

    You will need to load all module(s) on any one of the lines below before the "esmf/8.6.0b04" module is available to load.

      ncarenv-basic/23.06  gcc/12.2.0  mpi-serial/2.3.0
      ncar module spider esmf/8.6.0b04   

---------------------------------------------------------------------------------------------------------------------------------------------------------------------
  esmf: esmf/8.6.0b04
---------------------------------------------------------------------------------------------------------------------------------------------------------------------

    You will need to load all module(s) on any one of the lines below before the "esmf/8.6.0b04" module is available to load.

      ncarenv-basic/23.06  gcc/12.2.0  mpi-serial/2.3.0
      ncarenv-basic/23.09  gcc/12.2.0  cray-mpich/8.1.27

      ncarenv-basic/23.09  nvhpc/23.7  cray-mpich/8.1.25
      ncarenv-basic/23.09  nvhpc/23.7  mpi-serial/2.3.0

      ncarenv/23.06  gcc/12.2.0  mpi-serial/2.3.0
      ncarenv/23.09  gcc/12.2.0  cray-mpich/8.1.27

      ncarenv/23.09  nvhpc/23.7  cray-mpich/8.1.25
      ncarenv/23.09  nvhpc/23.7  mpi-serial/2.3.0

Note that gcc with mpi-serial only lists 23.06 even though there is a 23.09 build and nvhpc only lists cray-mpich/8.1.25 even though I also have a cray-mpich/8.1.27

vanderwb commented 12 months ago

spider is trickier since I'm abusing Lmod a bit to make the dynamic MODULEPATH changes with cesmdev. I'll work on debugging that as soon as possible, but it'll be behind other issues that are blockers for folks.

jedwards4b commented 11 months ago

It would appear that the python based modules commands I am using are acting in the same way that module spider is - is that a possibility?