AMReX-Combustion / PeleC

An AMR code for compressible reacting flow simulations
https://amrex-combustion.github.io/PeleC
Other
162 stars 73 forks source link

Compilation error - development branch #288

Closed shashankNREL closed 3 years ago

shashankNREL commented 3 years ago

The current development branch of PeleC is giving the following compilation error.

To reproduce the error - compile the PMF case with Sundials and CVODE turned on

(make -j8 TPLrealclean; make -j8 USE_SUNDIALS_PP=TRUE USE_CVODE_PP=TRUE TPL; make -j8 realclean; make -j8 USE_SUNDIALS_PP=TRUE USE_CVODE_PP=TRUE)

`../../../Source/PeleC.cpp:32:10: fatal error: reactor.H: No such file or directory

include "reactor.H"

      ^~~~~~~~~~~

compilation terminated.`

hsitaram commented 3 years ago

set the Reactor_dir. use make -j USE_SUNDIALS_PP=TRUE Reactor_dir=cvode USE_CVODE_PP=TRUE

shashankNREL commented 3 years ago

Thanks @hsitaram

jrood-nrel commented 3 years ago

Thanks @hsitaram . You should only need Reactor_dir=cvode. USE_CVODE_PP doesn't exist. Only USE_ARKODE_PP does. With Reactor_dir != rk64, USE_SUNDIALS_PP should get turned on automatically.