-
-
Save matthewhoffman/fc46649be672649197fc to your computer and use it in GitHub Desktop.
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
ccsm_utils/Case.template/config_compsets.xml:<CISM_USE_TRILINOS compset="CISM1" >FALSE</CISM_USE_TRILINOS> | |
ccsm_utils/Case.template/config_compsets.xml:<CISM_USE_TRILINOS compset="CISM2P">TRUE</CISM_USE_TRILINOS> | |
ccsm_utils/Case.template/config_compsets.xml:<CISM_USE_TRILINOS compset="CISM2S">FALSE</CISM_USE_TRILINOS> | |
ccsm_utils/Case.template/config_definition.xml:<entry id="CISM_USE_TRILINOS" | |
ccsm_utils/Case.template/config_definition.xml: sdesc="TRUE implies CISM is built with parallel support, using the trilinos library" | |
ccsm_utils/Case.template/config_definition.xml:For parallel support, CISM requires linking to the trilinos library. | |
ccsm_utils/Case.template/config_definition.xml:Setting this to TRUE turns on this parallel support via trilinos. Note | |
ccsm_utils/Case.template/config_definition.xml:that it's theoretically possible for the CESM build to link to trilinos, | |
ccsm_utils/Case.template/config_definition.xml:USE_TRILINOS=TRUE, CISM_USE_TRILINOS=FALSE)." | |
ccsm_utils/Case.template/config_definition.xml:<entry id="USE_TRILINOS" | |
ccsm_utils/Case.template/config_definition.xml: sdesc="TRUE implies linking to the trilinos library - set automatically by XXX_USE_TRILINOS options (do not edit)" | |
ccsm_utils/Case.template/config_definition.xml:Flag to turn on linking to the trilinos library. Currently this is | |
ccsm_utils/Case.template/config_definition.xml:used by CISM. Note that trilinos is a C++ library, so setting this | |
ccsm_utils/Case.template/config_definition.xml:Also note that Albany requires TRILINOS libraries but USE_TRILINOS | |
ccsm_utils/Case.template/config_definition.xml:does not need to be set manually - the TRILINOS library dependencies | |
ccsm_utils/Machines/ChangeLog:One-line: add support for cism2, including c++, trilinos and cmake | |
ccsm_utils/Machines/ChangeLog:- Add trilinos support for yellowstone (intel), hopper (pgi, gnu), | |
ccsm_utils/Machines/Makefile:# Trilinos library or Albany library. | |
ccsm_utils/Machines/Makefile:ifeq ($(strip $(USE_TRILINOS)), TRUE) | |
ccsm_utils/Machines/Makefile:ifeq ($(strip $(USE_TRILINOS)), TRUE) | |
ccsm_utils/Machines/Makefile: ifdef TRILINOS_PATH | |
ccsm_utils/Machines/Makefile: ifndef INC_TRILINOS | |
ccsm_utils/Machines/Makefile: INC_TRILINOS:=$(TRILINOS_PATH)/include | |
ccsm_utils/Machines/Makefile: ifndef LIB_TRILINOS | |
ccsm_utils/Machines/Makefile: LIB_TRILINOS:=$(TRILINOS_PATH)/lib | |
ccsm_utils/Machines/Makefile: $(error TRILINOS_PATH must be defined when USE_TRILINOS is TRUE) | |
ccsm_utils/Machines/Makefile: # get a bunch of variables related to this trilinos installation; | |
ccsm_utils/Machines/Makefile: # these variables begin with "Trilinos_" | |
ccsm_utils/Machines/Makefile: include $(INC_TRILINOS)/Makefile.export.Trilinos | |
ccsm_utils/Machines/Makefile:ifdef INC_TRILINOS | |
ccsm_utils/Machines/Makefile: INCLDIR += -I$(INC_TRILINOS) | |
ccsm_utils/Machines/Makefile:# System libraries (netcdf, mpi, pnetcdf, esmf, trilinos, etc.) | |
ccsm_utils/Machines/Makefile:# Add trilinos libraries; too be safe, we include all libraries included in the trilinos build, | |
ccsm_utils/Machines/Makefile:ifeq ($(strip $(USE_TRILINOS)), TRUE) | |
ccsm_utils/Machines/Makefile: SLIBS += -L$(LIB_TRILINOS) $(Trilinos_LIBRARIES) $(Trilinos_TPL_LIBRARY_DIRS) $(Trilinos_TPL_LIBRARIES) | |
ccsm_utils/Machines/Makefile: ifeq ($(CISM_USE_TRILINOS), TRUE) | |
ccsm_utils/Machines/config_compilers.xml: <TRILINOS_PATH>$(TRILINOS_PATH)</TRILINOS_PATH> | |
ccsm_utils/Machines/config_compilers.xml: <TRILINOS_PATH>/lustre/atlas/world-shared/cli900/cesm/software/Trilinos/Trilinos-11.10.2_gptl/titan-pgi-ci-nophal/install</TRILINOS_PATH> | |
ccsm_utils/Machines/config_compilers.xml: <TRILINOS_PATH>/project/projectdirs/ccsm1/Trilinos/trilinos-10.12.2/hopper-pgi/install</TRILINOS_PATH> | |
ccsm_utils/Machines/config_compilers.xml: <TRILINOS_PATH>/project/projectdirs/ccsm1/Trilinos/trilinos-10.12.2/hopper-gnu/install</TRILINOS_PATH> | |
ccsm_utils/Machines/config_compilers.xml: <TRILINOS_PATH>$(TRILINOS_PATH)</TRILINOS_PATH> | |
ccsm_utils/Machines/config_compilers.xml: <TRILINOS_PATH>$(TRILINOS_PATH)</TRILINOS_PATH> | |
ccsm_utils/Machines/env_mach_specific.pronghorn:# Currently trilinos is only supported with the INTEL compiler | |
ccsm_utils/Machines/env_mach_specific.pronghorn:# module load trilinos/11.0.3 | |
ccsm_utils/Machines/env_mach_specific.pronghorn:# Currently trilinos is only supported with the INTEL compiler | |
ccsm_utils/Machines/env_mach_specific.pronghorn:# module load trilinos/11.0.3 | |
ccsm_utils/Machines/env_mach_specific.yellowstone:# Currently trilinos is only supported with the INTEL compiler | |
ccsm_utils/Machines/env_mach_specific.yellowstone: module load trilinos/11.0.3 | |
ccsm_utils/Tools/cesm_buildexe:# Set the overall USE_TRILINOS variable to TRUE if any of the | |
ccsm_utils/Tools/cesm_buildexe:# XXX_USE_TRILINOS variables are TRUE. | |
ccsm_utils/Tools/cesm_buildexe:# For now, there is just the one CISM_USE_TRILINOS variable, but in | |
ccsm_utils/Tools/cesm_buildexe:# the future there may be others -- so USE_TRILINOS will be true if | |
ccsm_utils/Tools/cesm_buildexe:set use_trilinos=FALSE | |
ccsm_utils/Tools/cesm_buildexe:if ($?CISM_USE_TRILINOS) then | |
ccsm_utils/Tools/cesm_buildexe: if ($CISM_USE_TRILINOS == "TRUE") then | |
ccsm_utils/Tools/cesm_buildexe: set use_trilinos=TRUE | |
ccsm_utils/Tools/cesm_buildexe:./xmlchange -file env_build.xml -id USE_TRILINOS -val ${use_trilinos} | |
ccsm_utils/Tools/cesm_buildexe:setenv USE_TRILINOS ${use_trilinos} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment