This introduces some long-needed fixes to the build and environment of ENRICO runs:
The NekrsDriver sets the NEKRS_HOME variable to the location of ENRICO's NekRS installation. It overrides any current environment variable for the scope of the ENRICO process (the value of the parent shell is unmodified). This is convenient for users that are running both standalone NekRS and ENRICO, since they may already have NEKRS_HOME defined for the former. Hence, the ENRICO user does not have to separately set NEKRS_HOME for ENRICO runs.
The RPATH for the installed version of ENRICO (build/install/bin/enrico) has been fixed. Previously, the built version (in build/enrico) worked reliably but the installed version did not. This is because the RPATH of the installed enrico pointed only to install/lib and note the GNU standard libdir that OpenMC uses (which could be something like install/lib64 depending on the system. Hence, the ENRICO user can reliably run either build/install/bin/enrico or build/enrico. The README recommends the former, which I think is more natural.
This introduces some long-needed fixes to the build and environment of ENRICO runs:
NekrsDriver
sets theNEKRS_HOME
variable to the location of ENRICO's NekRS installation. It overrides any current environment variable for the scope of the ENRICO process (the value of the parent shell is unmodified). This is convenient for users that are running both standalone NekRS and ENRICO, since they may already haveNEKRS_HOME
defined for the former. Hence, the ENRICO user does not have to separately setNEKRS_HOME
for ENRICO runs.build/install/bin/enrico
) has been fixed. Previously, the built version (inbuild/enrico
) worked reliably but the installed version did not. This is because the RPATH of the installedenrico
pointed only toinstall/lib
and note the GNU standard libdir that OpenMC uses (which could be something likeinstall/lib64
depending on the system. Hence, the ENRICO user can reliably run eitherbuild/install/bin/enrico
orbuild/enrico
. The README recommends the former, which I think is more natural.