-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added the ParallelWorks platform into the system
- Loading branch information
1 parent
807183f
commit c1f3870
Showing
3 changed files
with
85 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
########################################################################### | ||
### CMake Build System for the Parametric Hurricane Model (PaHM) | ||
### | ||
### Author: Panagiotis Velissariou <[email protected]> | ||
### | ||
### DEFINITIONS FOR THE "hera" HPC ENVIRONMENT THAT USES THE GNU COMPILERS | ||
########################################################################### | ||
|
||
#message(FATAL_ERROR "The GNU family of compilers are not supported on this platform.") | ||
|
||
###======================================== | ||
### Check the environment and set required variables | ||
###======================================== | ||
include(PlatformFuncs) | ||
|
||
|
||
########## BEG:: CHECK FOR HDF5 ########## | ||
get_env_hdf5() | ||
|
||
if(NOT _DEFINED_HDF5) | ||
#Do nothing | ||
endif() | ||
########## END:: CHECK FOR HDF5 ########## | ||
|
||
|
||
########## BEG:: CHECK FOR NETCDF ########## | ||
get_env_netcdf() | ||
|
||
if(NOT _DEFINED_NETCDF) | ||
#message(FATAL_ERROR "Couldn't find any of the NETCDF* environment variables.\n" | ||
# "Load the appropriate NetCDF environment module before running cmake.") | ||
endif() | ||
########## END:: CHECK FOR NETCDF ########## | ||
|
||
|
||
########## BEG:: PLATFORM CUSTOMIZED SETTINGS ########## | ||
#set(_DEFINED_HDF5 TRUE) | ||
#set(_DEFINED_NETCDF TRUE) | ||
########## END:: PLATFORM CUSTOMIZED SETTINGS ########## |
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,45 @@ | ||
########################################################################### | ||
### CMake Build System for the Parametric Hurricane Model (PaHM) | ||
### | ||
### Author: Panagiotis Velissariou <[email protected]> | ||
### | ||
### DEFINITIONS FOR THE "hera" HPC ENVIRONMENT THAT USES THE INTEL COMPILERS | ||
########################################################################### | ||
|
||
# Check if the intel module is loaded so we have access to the Intel compilers. | ||
#if("$ENV{INTEL_LICENSE_FILE}" STREQUAL "") | ||
# message(FATAL_ERROR "The intel module is not loaded. Load the module before running this cmake") | ||
#endif() | ||
if("$ENV{INTEL_LICENSE_FILE}" STREQUAL "") | ||
message(WARNING "The INTEL_LICENSE_FILE variable is not set. Is the intel module loaded? If not, load the module before running this cmake") | ||
endif() | ||
|
||
###======================================== | ||
### Check the environment and set required variables | ||
###======================================== | ||
include(PlatformFuncs) | ||
|
||
|
||
########## BEG:: CHECK FOR HDF5 ########## | ||
get_env_hdf5() | ||
|
||
if(NOT _DEFINED_HDF5) | ||
#Do nothing | ||
endif() | ||
########## END:: CHECK FOR HDF5 ########## | ||
|
||
|
||
########## BEG:: CHECK FOR NETCDF ########## | ||
get_env_netcdf() | ||
|
||
if(NOT _DEFINED_NETCDF) | ||
#message(FATAL_ERROR "Couldn't find any of the NETCDF* environment variables.\n" | ||
# "Load the appropriate NetCDF environment module before running cmake.") | ||
endif() | ||
########## END:: CHECK FOR NETCDF ########## | ||
|
||
|
||
########## BEG:: PLATFORM CUSTOMIZED SETTINGS ########## | ||
#set(_DEFINED_HDF5 TRUE) | ||
#set(_DEFINED_NETCDF TRUE) | ||
########## END:: PLATFORM CUSTOMIZED SETTINGS ########## |