Content
- Why Imager session does not start within APPTAINER?
- Problems with casagildas() tool
- Incoherent links on HTML version of the Documentation and Bugs
Description
- Why Imager session does not start within APPTAINER?
Solution: the environment variable APPTAINER_BINDPATH should include the root of the directory tree that provides access to your data
- Example 1 : your data are stored on /home/user/DATA and/or on a virtual disk /mydisk/MYDATA, you should first define
export APPTAINER_BINDPATH =”/home/user, /mydisk ”
- Example 2 (symbolic links):
Apptainer> imager
IMAGER specific GILDAS Version: Version 3.9-05 18-Sep-2023 (x86_64-debian12-gfortran-openmp) executable tree
E-SIC, Cannot create directory “/homes/user/.gag/logs”
F-SIC, Cannot create “gag_log:” directory
Diagnosis & Solution: here, .gag was a symbolic link to a directory on a virtual disk (/scratch/user/gag for example). Within Apptainer, IMAGER can not follow the link if it points to a non-visible disk path. Make sure that APPTAINER_BINDPATH environment variable includes any virtual disk path to its mount point (in this example, /scratch/user should have been in the APPTAINER_BINDPATH).
- Problems with casagildas() tool within CASA
casagildas () not found by Casa
Solution: activate IMAGER once before relaunching Casa: $ imager exit
casagildas () does not work
Solution(s): i) make sure you are using a Casa version with Python 3 (i.e., Casa 6 at least);
ii) if the problem persists even with Casa6:
- remove $HOME/.casa/casa2gildas/py
- run imager once again and relaunch Casa
- Links on HTML version of the Documentation and Bugs are incoherent
Solution: remove the $HOME/.gag/*html files