fds icon indicating copy to clipboard operation
fds copied to clipboard

FDS compile fails if SUNDIALS library is not installed

Open rmcdermo opened this issue 1 year ago • 1 comments

Let's configure the make file and make_fds.sh scripts to gracefully ignore SUNDIALS if it has not been installed on a user's system.

rmcdermo avatar May 31 '24 19:05 rmcdermo

Marcos and I have added the --DWITH_SUNDIALS directive during compilation. This flag is available if the SUNDIALS_HOME environment variable is set. When available, the code will compile with SUNDIALS support; otherwise, it will not. If the code is compiled without SUNDIALS and the user specifies CVODE as the ODE solver in COMB, they will receive the error message: 'ERROR: requesting CVODE_SOLVER, Sundials not installed.'

I'm keeping this issue open as I've tested the flag on Windows and Linux using Intel compilers. The GNU compilation targets still need to be verified in the Build/makefile, which I'll do before closing the issue.

cxp484 avatar Sep 16 '24 14:09 cxp484

SUNDIALS is added to all the available fds targets. Closing the issue.

cxp484 avatar Nov 04 '24 21:11 cxp484