-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use CVODE (sundials-5.4.0) instead of CPODES (#28)
* Fix to compensate missing allreduce in SAMRAI getLength() * Add call to CVodeSetLSNormFactor * Tune tolerances in tests * Adapt RHS and Projections to sundials-5.4.0 * Use new CVODE function to recompute Jacobian at every step * Update install instructions
- Loading branch information
1 parent
cbe975f
commit bf658a7
Showing
14 changed files
with
138 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/sh | ||
source ../scripts/modules.condo | ||
|
||
rm -rf CMakeCache.txt | ||
rm -rf CMakeFiles/ | ||
rm cmake_install.cmake | ||
rm Makefile | ||
rm -f ../source/fortran/2d/*.f | ||
|
||
cmake -DCMAKE_CXX_COMPILER=mpiCC -DCMAKE_C_COMPILER=mpicc \ | ||
-DCMAKE_Fortran_COMPILER=mpif77 \ | ||
-DSAMRAI_DIR=$HOME/SAMRAI/SAMRAI-v4.0.0 \ | ||
-DHYPRE_DIR=$HOME/hypre/hypre-2.11.1/src/hypre \ | ||
-DSUNDIALS_DIR=$HOME/sundials/sundials-5.4.0/install \ | ||
-DNetCDF_CXX_ROOT=$NETCDF_DIR \ | ||
-DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF \ | ||
-DAMPE_WITH_CLANG_FORMAT=ON \ | ||
-DCMAKE_PREFIX_PATH=${HOME}/bin \ | ||
-DNDIM="3" \ | ||
-DUSE_CVODE=ON \ | ||
.. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.