Skip to content
Ethan Coon edited this page Aug 17, 2021 · 2 revisions

Frequently Asked Questions

Shared Library Errors

Question: When running ats, I get the following error:

ats: error while loading shared libraries: lib{LIBNAME}.so.{VERSION} cannot open shared object file: No such file or directory

How do I fix this?

Answer: Typically this happens because shared library relative paths did not get correctly installed on your system. Fix this by setting, on a Linux based system, the LD_LIBRARY_PATH, or on OSX/Mac, the DYLD_LIBRARY_PATH (replacing LD with DYLD below) in your .bashrc or modulefile or wherever you set ATS_SRC_DIR:

export LD_LIBRARY_PATH=${AMANZI_TPLS_DIR}/trilinos-<VERSION>/lib:${AMANZI_TPLS_DIR}/SEACAS/lib:${AMANZI_TPLS_DIR}/lib:${LD_LIBRARY_PATH}

Note the <VERSION> above should be replaced by whichever Trilinos version was installed -- this directory name can be discovered by simply doing an ls ${AMANZI_TPLS_DIR} and looking for the appropriate directory name.

Clone this wiki locally