m_mineter@ed_ac_uk
Member
In porting to a linux cluster I have got confused over how to manage
1) MODULEPATH
2) my python environment for this - i need to set a conda environemnt for the python I want to use and am puzzled where to put this and how - as "source activate mypython" deosnt fit neatly it seems to me into the module setup.
I set these in ,bashrc, but assume that is not relevant.
Also, in my config_machines.xml, I put the full path to module files, but got errors from some of the cheyenne tests, like:
"module command {} failed with message:\n{}".format(cmd, errout))
File "/exports/csce/eddie/geos/groups/cesd/CESM/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/utils.py", line 130, in expect
raise exc_type(msg)
SystemExit: ERROR: module command /exports/applications/apps/SL7/environment-modules-3.2.10/Modules/3.2.10/bin/modulecmd python load /exports/applications/modulefiles/SL7/Compilers/intel/2017u4 /exports/csce/eddie/geos/groups/cesd/modules/intel_2017_u4/parallel_netcdff/4.5.3 failed with message:
2017u4(56):ERROR:107: 'MODULEPATH' not set
I donl;t see any example xml files setting MODULEPATH.
Where should I set it please?!
Thanks
Mike
1) MODULEPATH
2) my python environment for this - i need to set a conda environemnt for the python I want to use and am puzzled where to put this and how - as "source activate mypython" deosnt fit neatly it seems to me into the module setup.
I set these in ,bashrc, but assume that is not relevant.
Also, in my config_machines.xml, I put the full path to module files, but got errors from some of the cheyenne tests, like:
"module command {} failed with message:\n{}".format(cmd, errout))
File "/exports/csce/eddie/geos/groups/cesd/CESM/my_cesm_sandbox/cime/scripts/Tools/../../scripts/lib/CIME/utils.py", line 130, in expect
raise exc_type(msg)
SystemExit: ERROR: module command /exports/applications/apps/SL7/environment-modules-3.2.10/Modules/3.2.10/bin/modulecmd python load /exports/applications/modulefiles/SL7/Compilers/intel/2017u4 /exports/csce/eddie/geos/groups/cesd/modules/intel_2017_u4/parallel_netcdff/4.5.3 failed with message:
2017u4(56):ERROR:107: 'MODULEPATH' not set
I donl;t see any example xml files setting MODULEPATH.
Where should I set it please?!
Thanks
Mike