You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The two stage container build in fre make needs to copy over the execution script from the first stage and set up a symbolic link in the second stage. Here is an example of what the Dockerfile should look like for ESM
This can be done by modifying fre make to add in the link set up line in the second stage of the Dockerfile.
Additionally, the LD_LIBRARY_PATH of the container is being overwritten in frerun. frerun needs to be patched to allow for the LD_LIBRARY_PATH of the container to be appended on to the end of the APPTAINER_LD_LIBRARY_PATH. It's currently set up like this: setenv APPTAINERENV_LD_LIBRARY_PATH "${CRAY_LD_LIBRARY_PATH}:${LD_LIBRARY_PATH}:/opt/cray/pe/lib64:/usr/lib64/libibverbs:/opt/cray/libfabric/1.20.1/lib64:/opt/cray/pals/1.4/lib"
It needs to have no quotes " and have :\$LD_LIBRARY_PATH added to the end. Final should be: setenv APPTAINERENV_LD_LIBRARY_PATH ${CRAY_LD_LIBRARY_PATH}:${LD_LIBRARY_PATH}:/opt/cray/pe/lib64:/usr/lib64/libibverbs:/opt/cray/libfabric/1.20.1/lib64:/opt/cray/pals/1.4/lib:\$LD_LIBRARY_PATH@rem1776
To Reproduce
Expected behavior
The model running
Additional context
Tom will do fre make. Ryan may need to do frerun.
The text was updated successfully, but these errors were encountered:
Describe the bug
The two stage container build in fre make needs to copy over the execution script from the first stage and set up a symbolic link in the second stage. Here is an example of what the Dockerfile should look like for ESM
This can be done by modifying
fre make
to add in the link set up line in the second stage of the Dockerfile.Additionally, the LD_LIBRARY_PATH of the container is being overwritten in frerun. frerun needs to be patched to allow for the LD_LIBRARY_PATH of the container to be appended on to the end of the APPTAINER_LD_LIBRARY_PATH. It's currently set up like this:
setenv APPTAINERENV_LD_LIBRARY_PATH "${CRAY_LD_LIBRARY_PATH}:${LD_LIBRARY_PATH}:/opt/cray/pe/lib64:/usr/lib64/libibverbs:/opt/cray/libfabric/1.20.1/lib64:/opt/cray/pals/1.4/lib"
It needs to have no quotes
"
and have:\$LD_LIBRARY_PATH
added to the end. Final should be:setenv APPTAINERENV_LD_LIBRARY_PATH ${CRAY_LD_LIBRARY_PATH}:${LD_LIBRARY_PATH}:/opt/cray/pe/lib64:/usr/lib64/libibverbs:/opt/cray/libfabric/1.20.1/lib64:/opt/cray/pals/1.4/lib:\$LD_LIBRARY_PATH
@rem1776To Reproduce
Expected behavior
The model running
Additional context
Tom will do fre make. Ryan may need to do frerun.
The text was updated successfully, but these errors were encountered: