update singularity to apptainer, change from poetry to uv - #546
Conversation
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
BrahMap installation was failing due to the lack of mpi binaries in the container. I added them and it is working now. Now when no mpi backend is chosen, the user gets a message saying: Also, in this case, Thank you to @anand-avinash for pointing out the recent update in BrahMap installation, making it work without the --recursive option. |
|
To fix the other two problems, I had to create the I also had to be sure we were in the correct path everywhere and that the cache directory was /tmp, so that it is writable, and that the path on %runscript was set to the one with the uv venv. Anyway, it is working now.
|
|
EDIT: actually, I realized the discussion I had started was not really that important, as our definition file should be possible to build with either SingularityCE or Apptainer. This becomes a user defined choice, depending on the context. I would say we should however refer these two possibilities it in the docs. I am leaving what I had written below, since it is still useful information about Apptainer and SingularityCE.
|
Hi,
I realized the singularity files were pretty outdated. Here's what I did:
When building the container, the tests are failing because they can't access the IMo file, which should be automatic. If I do the same commands outside of the container the tests pass, so it may be some Path problem, which I could not yet figure out. Does someone have an idea as to why this is happening?
There also seems to be an error fetching maps from the astropy archive, it is a 404 error, and since it does not happen outside of the container it is a bit weird, as if for some reason the path to the online location of those maps is incorrect. The commands in the .m4 file are pretty straightforward, typical uv setting, I am not sure yet why it is happening.
TODO: