Updates for nektar-workbook image.
Issue/feature addressed
When launching the nektar-workbook image and trying to run a Nektar++ executable from the shell, libraries such as libmpi*
and libboost_*
, etc, cannot be found by the dynamic linker. This is because they have been installed with Mamba and so they have been installed into /opt/conda/lib
. There is a warning with libtinfo.so.6 and the version of jupyterhub needs to be updated.
Proposed solution
Add LD_LIBRARY_PATH=/opt/conda/lib
to the default environment, remove libtinfo.so.6 from /opt/conda/lib and update jupyterhub version.
Implementation
In the Dockerfile to generate the nektar-workbook
image we add LD_LIBRARY_PATH=/opt/conda/lib
to the /etc/environment
file to ensure any new shells have this variable set.
Tests
Suggested reviewers
Notes
Checklist
[ ] Functions and classes, or changes to them, are documented.[ ] User guide/documentation is updated.-
Changelog is updated. [ ] Suitable tests added for new functionality.[ ] Contributed code is correctly formatted. (See the contributing guidelines).[ ] License added to any new files.[ ] No extraneous files have been added (e.g. compiler output or test data files).
Edited by Chris Cantwell