AFAICT some of our dependencies are correctly using rpath while others are not - this leads to weird problems when, e.g., using the module system to originally set up and compile autoibamr AND the relevant module is not loaded. This should be reproducible (I see it with Masod's build of autoibamr) by running autoibamr with a module loaded, unloading that module, and then doing ldd ./libIBAMR2d.so.
AFAICT some of our dependencies are correctly using rpath while others are not - this leads to weird problems when, e.g., using the module system to originally set up and compile autoibamr AND the relevant module is not loaded. This should be reproducible (I see it with Masod's build of autoibamr) by running autoibamr with a module loaded, unloading that module, and then doing
ldd ./libIBAMR2d.so
.