Hello all.
The WCRP global hackathon in May 2025 uses data stored in the healpix
format :
The required python libraries to load this data are healpy
and ezygems
.
I followed standard procedures to build a virtual environment on top of xp65 incorporating these two libraries :
$ python -m venv hackathon_env --system-site-packages
$ source hackathon_env/bin/activate
$ pip install healpy
$ pip install easygems
The environment is located in
/g/data/nf33/public/hackathon-2025/venvs/hackathon_env/
I also built a jupyter
kernel using
python -m ipykernel install --prefix /g/data/nf33/public/hackathon-2025/venvs/hackathon_env --name hackathon_env --display-name "hackathon_kernel"
The kernel works inside an ARE notebook, but the python interpreter will throw a segmentation fault when importing easygems
$ python
Python 3.11.11 | packaged by conda-forge | (main, Mar 3 2025, 20:43:55) [GCC 13.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import healpy as hp
>>> import easygems.healpix as egh
/g/data/nf33/public/hackathon-2025/venvs/hackathon_env/bin/python: line 165: 2249617 Segmentation fault "$SINGULARITY_BINARY_PATH" -s exec --bind "${bind_str}" ${overlay_args} "${CONTAINER_PATH}" "${cmd_to_run[@]}"
Evidently this is an issue related to the singularity container.
Any suggested work-arounds?
FWIW a virtual environment built using hh5
analysis3 can import easygems
via the python interpreter and a Jupyter kernel.