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

CESM postprocessing tool failing by not finding MPI

strandwg

Moderator
Staff member
The recent CISL downtime was used to clear up some libraries and other maintenance tasks, it appears, as the CESM postprocessing tool is now failing after being unable to find MPI.

The error I'm getting looks like

Traceback (most recent call last):
File "./cesm_tseries_generator.py", line 7, in <module>
exec(compile(f.read(), __file__, 'exec'))
File "/glade/p/cesm/postprocessing_dav/timeseries/timeseries/cesm_tseries_generator.py", line 385, in <module>
Traceback (most recent call last):
File "./cesm_tseries_generator.py", line 7, in <module>
exec(compile(f.read(), __file__, 'exec'))
File "/glade/p/cesm/postprocessing_dav/timeseries/timeseries/cesm_tseries_generator.py", line 385, in <module>
scomm = simplecomm.create_comm(serial=False)
File "/glade/p/cesm/postprocessing_dav/cesm-env2/lib/python2.7/site-packages/asaptools/simplecomm.py", line 184, in create_comm
return SimpleCommMPI()
File "/glade/p/cesm/postprocessing_dav/cesm-env2/lib/python2.7/site-packages/asaptools/simplecomm.py", line 537, in __init__
scomm = simplecomm.create_comm(serial=False)
File "/glade/p/cesm/postprocessing_dav/cesm-env2/lib/python2.7/site-packages/asaptools/simplecomm.py", line 184, in create_comm
return SimpleCommMPI()
File "/glade/p/cesm/postprocessing_dav/cesm-env2/lib/python2.7/site-packages/asaptools/simplecomm.py", line 537, in __init__
raise ImportError(err_msg)
ImportError: MPI could not be found.
raise ImportError(err_msg)
ImportError: MPI could not be found.
Exception AttributeError: "'SimpleCommMPI' object has no attribute '_comm'" in <bound method SimpleCommMPI.__del__ of <asaptools.simplecomm.SimpleCommMPI object at 0x2b6aef823690>> ignored
Exception AttributeError: "'SimpleCommMPI' object has no attribute '_comm'" in <bound method SimpleCommMPI.__del__ of <asaptools.simplecomm.SimpleCommMPI object at 0x2b937f749690>> ignored

I suspect rebuilding the postprocessing tools will correct the problem.

Thanks!
 
Top