Difference between revisions of "Compiling SCHISM on Windows"

From ccrmwiki
Jump to: navigation, search
Line 7: Line 7:
 
   <LI> SVN 1.6.16
 
   <LI> SVN 1.6.16
 
   <LI> CMAKE 3.02
 
   <LI> CMAKE 3.02
   <LI> Prebuild third party libs, which can be downloaded at [https://d3.water.ca.gov/owncloud/index.php/s/uGOYtAHVteLDJSb here].
+
   <LI> Prebuild third party libs, which are here [[File:third_party.zip]]
 
       This zip file contains HDF5,netCDF4 and parmetis.
 
       This zip file contains HDF5,netCDF4 and parmetis.
 
</UL>
 
</UL>
Line 15: Line 15:
 
   <LI> Edit the CMAKE windows cache file in SCHSIM source code\cmake\SCHSIM.local.cmake.win.  
 
   <LI> Edit the CMAKE windows cache file in SCHSIM source code\cmake\SCHSIM.local.cmake.win.  
 
         You may turn on/off extra modules in this file, and you must set TVD_LIM option to build hydro. You also need to
 
         You may turn on/off extra modules in this file, and you must set TVD_LIM option to build hydro. You also need to
         edit the location of third party libs. Here is a example [[File:SCHSIM.local.cmake.win]]
+
         edit the location of third party libs. Here is a example [[File:SCHSIM.local.cmake.win.txt]]
  
 
</UL>
 
</UL>

Revision as of 11:54, 19 July 2018

Here are the tools and libraries I used to build parallel SCHSIM on Windows

  • MS Visual Studio 2010
  • MS HPC package 2008, which can be downloaded at here
  • Intel Compiler
  • SVN 1.6.16
  • CMAKE 3.02
  • Prebuild third party libs, which are here File:Third party.zip This zip file contains HDF5,netCDF4 and parmetis.

Here are the steps to build it

  • Edit the CMAKE windows cache file in SCHSIM source code\cmake\SCHSIM.local.cmake.win. You may turn on/off extra modules in this file, and you must set TVD_LIM option to build hydro. You also need to edit the location of third party libs. Here is a example File:SCHSIM.local.cmake.win.txt