Open IanHeywood opened 4 years ago
Who woulda thunk it possible six months ago!
@bennahugo take a look -- do you think there's a way to get setup.py to pick up the non-standard PYTHON_INCLUDE_DIR
and PYTHON_LIBRARY
settings, to avoid having to hack it as per the above?
Note that this recipe no longer works as-is with the current master
branch of DDFacet. Missing boost:
Could not find a Python boost library! Please use your package manager to install boost.
Here is a recipe for installing DDFacet inside a virtual environment on IDIA hardware. This method seems to avoid the memory issues that occur when using the singularity container.
The slurm head node does not have
virtualenv
orcmake
installed, so book yourself a worker node on which to perform the installation, e.g.Create a python3 virtual environment:
Activate the virtual environment:
Download DDFacet:
The
cmake
run needs to have some paths passed to it, so change line 67 ofsetup.py
to:Install:
You may have to give it the location of a CASA measures directory. I have no idea where this lives on IDIA so I just pointed it to a location inside a CASA distribution by adding:
to
~/.casarc
.See if
produces the required output.
I have tested the submission of venv'd DDFacet jobs via the slurm queue and it seems to work.