module command error

I am trying to port the cesm2.0.1 to a LINUX cluster.When I tried to run using ./case.submit,I got this message. module command /usr/bin/modulecmd python purge  failed with message:/bin/sh: /usr/bin/modulecmd: No such file or directory In cesm2.0.1/cime/config/cesm/machines/config_machines.xml,it is set as follows:          /usr/share/Modules/init/perl.pm      /usr/share/Modules/init/sh      /usr/share/Modules/init/csh      /usr/share/Modules/init/python.py      /usr/bin/modulecmd perl      /usr/bin/modulecmd python      module      module                      intel18/compiler-18         intel18/mvapich2-2.2
and case.submit (also .case.run) file is started in #!/usr/bin/env python.Even though /usr/bin/modulecmd exists, do you have any idea why I got the error message that "No such file or directory"?  
 

huazhen

Member
Hi there,I have met similar problems with you. Have you solved this problem? How? Any information is appreciated. Thanks a lot!Kind Regards,Huazhen
 
Dear Hauzhen,I'm not sure how my team solved this problem, but I guess modulecmd is needed for all nodes in your multiple nodes. At that time, main node in our server only had modulecmd, not for others.Best,Jin-Soo Kim
 

huazhen

Member
Dear Jin-Soo Kim,Thank you very much for your reply. I will check modulecmd again. Hopefully this problem can be solved soon. Thanks again.Kind Regards,Huazhen
 

paulino

Paulino Ajiquichi
New Member
Hi guys. I am working on CESM too. I am having the same problem when I try to run ./case.setup. How did you solve the problem?
 
Back
Top