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
For running the model on a local system, the notebook run_model_in_notebook.ipynb sets the environment variable LD_LIBRARY_PATH. Instead, we can create a bash script to set the variable after MCR installation. Something like:
echo Setting up environment variables
MCRROOT="$1"echo ---
LD_LIBRARY_PATH=.:${MCRROOT}/runtime/glnxa64 ;
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MCRROOT}/bin/glnxa64 ;
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MCRROOT}/sys/os/glnxa64;
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MCRROOT}/extern/bin/glnxa64;
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MCRROOT}/sys/opengl/lib/glnxa64;export LD_LIBRARY_PATH;echo LD_LIBRARY_PATH is ${LD_LIBRARY_PATH};# Preload glibc_shim in case of RHEL7 variantstest -e /usr/bin/ldd && ldd --version | grep -q "(GNU libc) 2\.17" \
&&export LD_PRELOAD="${MCRROOT}/bin/glnxa64/glibc-2.17_shim.so"
The text was updated successfully, but these errors were encountered:
For running the model on a local system, the notebook run_model_in_notebook.ipynb sets the environment variable
LD_LIBRARY_PATH
. Instead, we can create a bash script to set the variable after MCR installation. Something like:The text was updated successfully, but these errors were encountered: