forked from geoschem/geos-chem
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Liam Bindle
committed
May 12, 2019
1 parent
3121bf6
commit 1a8534d
Showing
6 changed files
with
161 additions
and
16 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,60 @@ | ||
if(NOT "${RUNDIR_SIM}" MATCHES ".*Hg.*") | ||
return() | ||
else() | ||
list(APPEND GC_EXTRA_TARGETS "Hg") | ||
set(GC_EXTRA_TARGETS "${GC_EXTRA_TARGETS}" PARENT_SCOPE) | ||
endif() | ||
|
||
add_library(Hg STATIC | ||
assignAgeClassToRunningPool.F90 | ||
assignRanPoolToAgeClass.F90 | ||
CasaRegridModule.F90 | ||
CleanupCASAarrays.F90 | ||
defineArrays.F90 | ||
defineConstants.F90 | ||
doFPARandLAI.F90 | ||
doHerbCarbon.F90 | ||
doHerbCarbonHg.F90 | ||
doHerbivory.F90 | ||
doHgDeposition.F90 | ||
doLatitude.F90 | ||
doLeafRootShedding.F90 | ||
doMaxHg.F90 | ||
doNPP.F90 | ||
doOptimumTemperature.F90 | ||
doPET.F90 | ||
dorestart_mod.F90 | ||
doSoilMoisture.F90 | ||
doTreeCarbon.F90 | ||
doTreeCarbonHg.F90 | ||
getAgeClassBF.F90 | ||
getFireParams.F90 | ||
getFuelWood.F90 | ||
getSoilMoistParams.F90 | ||
getSoilParams.F90 | ||
GTMM_coupled.F90 | ||
HgOutForGEOS.F90 | ||
input_gtmm_mod.F90 | ||
loadCASAinput.F90 | ||
load_GC_data.F90 | ||
loadHgDeposition.F90 | ||
organizeAgeClasses.F90 | ||
processData.F90 | ||
sort_pick_veg.F90 | ||
) | ||
target_link_libraries(Hg | ||
PUBLIC | ||
Headers | ||
) | ||
|
||
|
||
add_executable(gtmm | ||
GTMM.F90 | ||
) | ||
|
||
target_link_libraries(gtmm | ||
PUBLIC Hg | ||
) | ||
install(TARGETS gtmm | ||
RUNTIME DESTINATION ${RUNDIR} | ||
) |
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,31 @@ | ||
# Add libKPPFirstPass.a | ||
add_library(KPPFirstPass STATIC | ||
gckpp_Precision.F90 | ||
gckpp_Parameters.F90 | ||
gckpp_Monitor.F90 | ||
) | ||
target_link_libraries(KPPFirstPass | ||
PUBLIC BaseTarget | ||
) | ||
|
||
# Add libKPP.a | ||
add_library(KPP STATIC | ||
gckpp_Function.F90 | ||
gckpp_Global.F90 | ||
gckpp_HetRates.F90 | ||
gckpp_Initialize.F90 | ||
gckpp_Integrator.F90 | ||
gckpp_Jacobian.F90 | ||
gckpp_JacobianSP.F90 | ||
gckpp_LinearAlgebra.F90 | ||
gckpp_Model.F90 | ||
gckpp_Monitor.F90 | ||
gckpp_Parameters.F90 | ||
gckpp_Precision.F90 | ||
gckpp_Rates.F90 | ||
gckpp_Util.F90 | ||
) | ||
target_link_libraries(KPP | ||
PUBLIC GeosUtil2 | ||
) | ||
|