Using mule um utiliies on ARCHER2

Hi CMS support folk,

I’m having problems getting the mule um utilities to work. I have loaded the cray-python module but get the following error when I try a simple help command. I seem to be missing a um_utils module. I suspect it’s a problem with my paths. Can you tell me what I have done wrong?
regards
Sue

mule-pumf -h
Traceback (most recent call last):
File “/work/y07/shared/umshared/bin/mule-pumf”, line 33, in
sys.exit(load_entry_point(‘um-utils==2022.7.1’, ‘console_scripts’, ‘mule-pumf’)())
File “/work/y07/shared/umshared/bin/mule-pumf”, line 25, in importlib_load_entry_point
return next(matches).load()
File “/opt/cray/pe/python/3.9.13.1/lib/python3.9/importlib/metadata.py”, line 86, in load
module = import_module(match.group(‘module’))
File “/opt/cray/pe/python/3.9.13.1/lib/python3.9/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1030, in _gcd_import
File “”, line 1007, in _find_and_load
File “”, line 972, in _find_and_load_unlocked
File “”, line 228, in _call_with_frames_removed
File “”, line 1030, in _gcd_import
File “”, line 1007, in _find_and_load
File “”, line 984, in _find_and_load_unlocked
ModuleNotFoundError: No module named ‘um_utils’

Hi Sue,

Try sourcing our UM env setup script first:

. /work/y07/shared/umshared/bin/rose-um-env-puma2

You shouldn’t need to module load cray-python before running the mule utilities.

Assuming that works please add the above line to your ~/.bash_profile

Regards,
Ros.

Perfect - thanks Ros.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.