Skip to content

FDS Source, Build, Action: Add compilation with NVFORTRAN - #16631

Merged
marcosvanella merged 7 commits into
firemodels:masterfrom
marcosvanella:nvhpc-ci
Oct 7, 2026
Merged

marcosvanella merged 7 commits into
firemodels:masterfrom
marcosvanella:nvhpc-ci

Conversation

@marcosvanella

Copy link
Copy Markdown
Contributor

This PR makes some simple changes to source code and adds compilation of FDS with NVHPC SDK through Cmake, tested with actions in an Ubuntu VM, build dir nvhpc_hpcx. It compiles HYPRE, Sundials, fds using the NVIDIA distribution of OpenMPI.

With the NVIDIA HPC SDK installed, the compilation sequence is:

$module use /opt/nvidia/hpc_sdk/modulefiles
$module load nvhpc
$export CC=nvc CXX=nvc++ FC=nvfortran
$cmake -B build_nvhpc -S . -DCMAKE_BUILD_TYPE=Release -DUSE_OPENMP=ON
$cmake --build build_nvhpc -j --target fds

@marcosvanella
marcosvanella merged commit 45423bb into firemodels:master Oct 7, 2026
43 checks passed
@marcosvanella
marcosvanella deleted the nvhpc-ci branch October 7, 2026 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant