Difference between revisions of "Downloading and compiling SCHISM and utilities"

From ccrmwiki
Jump to: navigation, search
(GNU Make)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
You can download SCHISM at [http://ccrm.vims.edu/schism/ SCHISM site].
+
You can download SCHISM at [http://ccrm.vims.edu/schismweb/ SCHISM site] (following instructions in Manual).
  
There are currently several build systems being used to build SCHISM, including GNU Make and CMake. The traditional GNU Makefiles are documented below, and are less powerful than CMake.
+
There are currently several build systems being used to build SCHISM, including GNU Make and CMake. The traditional GNU Makefiles are documented in Manual, but are less powerful than CMake.
  
==GNU Make==
+
<!-- ==GNU Make==
 
Upon untarring the source code bundle, you'll find two directories that are needed for gnu make.
 
Upon untarring the source code bundle, you'll find two directories that are needed for gnu make.
  
Line 16: Line 16:
 
cp Make.defs.tsunami Make.defs.local
 
cp Make.defs.tsunami Make.defs.local
  
Then you need to edit Make.defs.local for e.g. the path names on your local cluster, and turn on/off modules. SCHISM requires a few external libraries including netcdf.  In particular, you need to first compile ParMETIS graph partitioning library (included in the source code bundle). There is an "INSTALL" inside the ParMETIS directory. Then update the path to these libraries (and also to netcdf lib) in Make.defs.local.
+
Then you need to edit Make.defs.local for e.g. the MPI compiler name, path names for netcdf library on your local cluster, and turn on/off modules in ''include_modules'' (note that ''TVD_LIM'' should always have a value). SCHISM requires netcdf library (version 3.x preferred), so update its path (and include modules)  in Make.defs.localAlso the graph partitioning lib ParMETIS is compiled with the SCHISM code, and you need to update the MPI C compiler names in src/ParMetis-3.1-Sep2010/Makefile.in (consult also "INSTALL" inside the ParMETIS directory).  
  
 
After this is done:
 
After this is done:
Line 23: Line 23:
 
make clean <br/>
 
make clean <br/>
 
make
 
make
 
+
-->
 
==[http://ccrm.vims.edu/w/index.php/CMake_Build_System '''CMake Build System (v3.2 and up)''']==
 
==[http://ccrm.vims.edu/w/index.php/CMake_Build_System '''CMake Build System (v3.2 and up)''']==

Latest revision as of 19:04, 27 August 2016

You can download SCHISM at SCHISM site (following instructions in Manual).

There are currently several build systems being used to build SCHISM, including GNU Make and CMake. The traditional GNU Makefiles are documented in Manual, but are less powerful than CMake.

CMake Build System (v3.2 and up)