@Scott I am looking for user documentation on the ACCESS ngm modules, in particular, the ants module. I specifically want to know whether anything in my ~/.bashrc file or other modules would interfere with running the scripts associated with the ants module. Example:
[pcl851@gadi-login-02 ~]$ module use /g/data/access/ngm/modules
[pcl851@gadi-login-02 ~]$ module load ants/1.0.0
[pcl851@gadi-login-02 ~]$ ants-version
/opt/conda/lib/python3.7/site-packages/ANTS-1.0.0-py3.7.egg/ants/fileformats/raster.py:33: UserWarning: No module named 'gdalconst'
Unable to import "gdal", proceeding without the capabilities it provides. See install.rst
warnings.warn(msg.format(str(_GDAL_IMPORT_ERROR)))
[INFO] ANTS version loaded was:
ants: /opt/conda/lib/python3.7/site-packages/ANTS-1.0.0-py3.7.egg/ants/__init__.py (version 1.0.0)
[INFO] Iris version loaded was:
iris: /opt/conda/lib/python3.7/site-packages/iris/__init__.py (version 2.3.0)
PYTHONNOUSERSITE is set, so pip install --user packages are ignored. PYTHONPATH is still respected, so any user settings that modify this will affect the containerised environment (this is so the version of ants that the RAS installs is used in preference to the environments).
Thanks, Scott. That URL gives me the message: " 404: Page not found
Make sure the address is correct and the page has not moved. Please contact your GitLab administrator if you think this is a mistake. "
My understanding is that these files were created from the Sign in Β· GitLab repository, rather than the https://code.metoffice.gov.uk/trac/ancil/browser/ants/tags/2.1.0 repository, as I canβt find the file run-image-command.sh there. So if I directly install ants as per the UKMO instructions rather than using the ngmants module, I wonβt be using the Singularity container, but instead I will be using Conda directly.
Yeah if you create your own conda environment the container wonβt be used, as always watch your inode usage with bare conda environments.
The RAS installs its own version of ants and uses the container for dependencies - the ants-launch script sets PYTHONPATH and then launches the containerβs python.