Open jedwards4b opened 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
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
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.
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?
So the module is installed and from the command line I seem to be able to load it. However module spider gives:
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.