- First Install/ Load proper version of Openmpi and gcc . Solver was tested and ran succesfully on Openmpi 5.0.7 and gcc 13
(If you are compiling OpenMPI from source, make sure to load appropriate GCC verison)
-
Then download and compile Openfoam10 from source : https://openfoam.org/download/10-source/
-
Then inside Laserbeamfoam, Source Openfoam, Openmpi and gcc. Make sure to compile it inside the main openfoam binary folder (Openfoam/platforms/bin something like that) (not user binary folder)
-
Then compile.