-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move KPP standalone code to KPP/standalone folder
KPP/CMakeLists.txt - Calls the KPP/standalone/CMakeLists.txt file to build the KPP standalone executable when fullchem or custom mechanisms are selected KPP/standalone/kpp_standalone.F90 KPP/standalone/kpp_standalone_init.F90 - Moved from KPP/fullchem folder - Trimmed trailing whitespace KPP/standalone/sample_sites - Moved from KPP/fullchem/samples_kpp_standalone KPP/standalone/CMakeLists.txt - Compiles the kpp_standalone_init.F90 and kpp_standalone.F90 modules, linking it to the KPP library that is built (fullchem or custom) CHANGELOG.md - Updaetd accordingly Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
- Loading branch information
Showing
6 changed files
with
74 additions
and
53 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# KPP/fullchem/CMakeLists.txt | ||
|
||
#---------------------------------------------------------------------------- | ||
# Add libKPPStandalone.a -- KPP standalone executable | ||
#---------------------------------------------------------------------------- | ||
add_library(KPPStandalone | ||
STATIC EXCLUDE_FROM_ALL | ||
kpp_standalone.F90 | ||
kpp_standalone_init.F90 | ||
) | ||
|
||
# Dependencies | ||
target_link_libraries(KPPStandalone | ||
PUBLIC | ||
KPP | ||
) | ||
|
||
# Treat REAL as if it were REAL*8 | ||
target_compile_options(KPPStandalone | ||
PRIVATE "" | ||
$<$<STREQUAL:"${CMAKE_Fortran_COMPILER_ID}","Intel">:-r8> | ||
$<$<STREQUAL:"${CMAKE_Fortran_COMPILER_ID}","GNU">:-fdefault-real-8 -fdefault-double-8> | ||
) |
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