Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Porting to machine where Modules is in a different location on login vs. compute nodes

kpegion

Kathy Pegion
New Member
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!
 

jedwards

CSEG and Liaisons
Staff member
Can you ask your system administrators to remedy this problem by creating links from
one path to the other? We have no provision that will allow these to be in different locations
on login and compute nodes.
 
Top