Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
relates to the chat we had this morning, @FG-TUM
Description
Added some scripts that allow building ls1 into a singularity container. Singularity should allow use of low-level MPI regardless of the containerization. The idea is to improve testing and deployment both for ls1. This needs to be extended to optionally build MegaMol alongside ls1 for the same reasons.
Usage:
sudo singularity build base.sif base-system.def
Currently sudo seems to be required since the fakeroot produced some cpio issue when installing the filesystem package inside the imagesingularity build --fakeroot ls1-megamol.sif ls1-megamol.def
note: this works in user space/tmp/ls1-mardyn/build/src/MarDyn
inside the imagetools/singularity/ls1-megamol.sif
using the mpirun from the outside host, I was, for example, able to compute the standard example in the "outside sources" using the executable inside the image:
mpirun -np 2 singularity exec ~/ls1-mardyn/tools/singularity/ls1-megamol.sif /tmp/ls1-mardyn/build/src/MarDyn config.xml --steps 10
TODOs:
Related Pull Requests
Resolved Issues
How Has This Been Tested?
So far, only the basic EOX example has been run, and that looked okay in MegaMol.