amanzi / ats

Advanced Terrestrial Simulator (ATS) development
Other
47 stars 35 forks source link

Running ATS in cluster promtps me with missing libraries #188

Closed DGD042 closed 1 year ago

DGD042 commented 1 year ago

Good morning,

I'm installing ATS in a cluster at my university that uses LMod and SLURM. I loaded all the modules related to CMake and MPI and created the variables for the paths to install ATS. The installation finished without a problem with the tutorial on the GitHub page.

However, when I try to run the Richards example using

ats --xml_file=../richards_steadystate.xml &> out.log

The out.log file prompts me with the following error:

ats: error while loading shared libraries: libicudata.so.58: cannot open shared object file: No such file or directory.

I discussed this problem with the cluster IT, and they told me that the current ICU library in the cluster is version 64. Can ATS use the version 64 ICU library or make it download and build version 58 during the ATS installation?

jd-moulton commented 1 year ago

The problem is that the version that build found is not available where you're trying to run. You will have to do a bit of digging to make sure consistent ICU libs are available where you build and where you run. You can check what the ats binary is looking for using ldd, and that will most likely tell you what system path you should check on the various systems (front end and compute nodes).

DGD042 commented 1 year ago

Thanks a lot for your reply. The issue seems to come from the packages I'm loading with Lmod in the cluster. I'm working with the cluster team to get the software installed.

This issue is not related to ATS, so I'll go ahead and close the issue.