CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [OpenFOAM.org] New OpenFOAM solver in Singularity container (https://www.cfd-online.com/Forums/openfoam-installation/227172-new-openfoam-solver-singularity-container.html)

mostanad May 20, 2020 01:08

New OpenFOAM solver in Singularity container
 
Hi everybody,
I am working on a cluster in which OpenFOAM has been installed. This installation hass been done via singularity container. As you know, singularity container is created by a recipe, and the final result(.sif file) has just a read mode. So now I want to compile my modified solver on this container. The problem is that I have not the related recipe so I should generate my sandbox directory by:
singularity build --sandbox my_sbox cfdem.sif
so after adding the solver, and unfotunately with no compilation, I rebuilt the new sif. file based on the modified sandbox directory:
singularity build --sandbox cfdem2.sif my_sbox/
However, as you know this is just adding a solver into the directories not adding it in a executable form. So what is your opinion for my problem? How I can compile a new solver on my container just the same as the way Im doing on my laptop (ubuntu)?
Every help in this regard is appreciated.
Mo


All times are GMT -4. The time now is 04:36.