firemodels / fds

Fire Dynamics Simulator
https://pages.nist.gov/fds-smv/
Other
663 stars 622 forks source link

GEOM cases with ompi compilation #11917

Closed johodges closed 1 year ago

johodges commented 1 year ago

I was looking to compile the latest FDS on our cluster. We typically use the ompi_gnu_linux build. I am running into an issue running GEOM cases with this environment. The error is below. My understanding is MKL is an intel specific library and required for the ULMAT solver. Is it possible to run GEOM cases in an ompi environment or are we limited to impi at this time? I am working on swapping to impi for our cluster but wanted to document the issue for discussion.

Error: MKL Library compile flag was not defined for ULMAT as pressure solver.

marcosvanella commented 1 year ago

Jon provide the path to MKL before compiling with openmpi. You can do that by calling the oneapi setvars.sh. That will set the env var MKLROOT that the makefile needs to link to the Pardiso solver in ULMAT.On Jun 16, 2023 12:16 PM, Kevin McGrattan @.***> wrote: Assigned #11917 to @marcosvanella.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were assigned.Message ID: @.***>

mcgratta commented 1 year ago

Can this be done in the make_fds.sh script?

marcosvanella commented 1 year ago

The path to MKL will depend where it was installed. It can be done in the startup file like we do with oneApi libs.On Jun 16, 2023 3:45 PM, Kevin McGrattan @.***> wrote: Can this be done in the make_fds.sh script?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

johodges commented 1 year ago

Thanks Marcos, I am able to compile with ompi now. It looks like we'll need intel compilers available on the machine even if compiling with the ompi for the foreseeable future.