Dear All,
I am trying to port CESM to a new machine. Here is a snippet of my config_machine.xml
I could not find "modulecmd" paths in my machine that are required in the config_machine.xml file (as shown above).
When I run the case.setup it gives me the following ERROR
My question is: Am I getting this ERROR because I did not use the "modulecmd" path? what is "modulecmd"? How can I fix this issue? Am I supposed to "install environment-modules"? [FYI: the machine does use module]
Thank you in advance.
Bidyut
I am trying to port CESM to a new machine. Here is a snippet of my config_machine.xml
Code:
<module_system type="module">
<init_path lang="perl">/mnt/nfs/clustersw/Debian/bullseye/lmod/lmod/init/perl</init_path>
<init_path lang="python">/mnt/nfs/clustersw/Debian/bullseye/lmod/lmod/init/env_modules_python.py</init_path>
<init_path lang="csh">/mnt/nfs/clustersw/Debian/bullseye/lmod/lmod/init/csh</init_path>
<init_path lang="sh">/mnt/nfs/clustersw/Debian/bullseye/lmod/lmod/init/sh</init_path>
<cmd_path lang="perl">/mnt/nfs/clustersw/Debian/bullseye/perl/5.34.0/bin perl</cmd_path> <--- I should have used MODULECMD here
<cmd_path lang="python">/mnt/nfs/clustersw/Debian/bullseye/python/3.9.9/bin python</cmd_path> <--- I should have used MODULECMD here
<cmd_path lang="sh">module</cmd_path>
<cmd_path lang="csh">module</cmd_path>
<modules>
<command name="purge"/>
</modules>
I could not find "modulecmd" paths in my machine that are required in the config_machine.xml file (as shown above).
When I run the case.setup it gives me the following ERROR
Code:
./case.setup
ERROR: module command None purge failed with message:
/bin/sh: 1: None: not found
My question is: Am I getting this ERROR because I did not use the "modulecmd" path? what is "modulecmd"? How can I fix this issue? Am I supposed to "install environment-modules"? [FYI: the machine does use module]
Thank you in advance.
Bidyut