I am porting CESM2.1.1 to a machine where Modules is located in a different place on the login node vs. compute node.
On the login node it is located in: /usr/share/Modules/init/sh
On the compute nodes it is located in: /opt/oscer/software/lmod/lmod/init/sh
I have set the location of modules based on its location on the login node in config_machines.xml and this works properly for case.setup and case.build.
However, when the case runs, it fails with the following error:
ERROR: Command: 'source /usr/share/Modules/init/sh && module list' failed with e
rror '/bin/sh: /usr/share/Modules/init/sh: No such file or directory' from dir '
/home/kpegion/cesm/cases/b.day1.0'
I am hoping someone else has come across this problems and has suggestions on how I can specify this properly depending on whether I am on a login node or compute node. Thanks!
On the login node it is located in: /usr/share/Modules/init/sh
On the compute nodes it is located in: /opt/oscer/software/lmod/lmod/init/sh
I have set the location of modules based on its location on the login node in config_machines.xml and this works properly for case.setup and case.build.
However, when the case runs, it fails with the following error:
ERROR: Command: 'source /usr/share/Modules/init/sh && module list' failed with e
rror '/bin/sh: /usr/share/Modules/init/sh: No such file or directory' from dir '
/home/kpegion/cesm/cases/b.day1.0'
I am hoping someone else has come across this problems and has suggestions on how I can specify this properly depending on whether I am on a login node or compute node. Thanks!