Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 2.72 KB

README.md

File metadata and controls

47 lines (36 loc) · 2.72 KB

Coastal Modeling System (CMS)

CMS is a coastal modeling system that couples a wave, circulation, and morphology model together to get better predictions in the near-shore.

CMS is developed by the USACE - Coastal and Hydraulics Laboratory

Documentation for the CMS is available from the CIRP Wiki.

Building/Editing

Windows platform

Building CMS on Windows requires use of the Microsoft Visual Studio GUI. This repository was created using the Intel Fortran compiler. The versions of the GUI and compiler primarily being used are as follows:

  • MS Visual Studio 2019 Community
  • Intel oneAPI 2021.4

Once the sofware has been installed, the user should load the solution file.

Linux platform

To build CMS On linux you must have CMAKE software above 2.8.

  1. cd source
  2. cmake .
  3. make

This will leave you with an executable named 'cms' in your local working directory

To clean all of the intermediate files and old executable, type 'make clean' from the "source" directory.

Note: Linux builds have not been fully tested on HPC platform and some extra configuration may be necessary.

File/Folder structure

Below is a list of folders and descriptions of the contents.

  • docs - this folder contains the documentation files needed for the CMS Documentation page that is in progress.
  • Intel_vs2019 - this folder contains the solution file needed to load into Visual Studio.
  • GCTP - this project folder contains library code needed to map information between horizontal projections.
  • SPCS83 - this project folder contains library code needed for changes related to the State Plane coordinate system.
  • UTM2GEO - this project folder contains library code needed for converting to/from geographic coordinate space.
  • source - contains subfolders for all the main CMS code functionality separated into process type.
  • external_libraries - subfolders containing binary libraries to link with (no source).

Additional files in the main folder and their descriptions:

Additional files in the "source" folder and their descriptions:

  • CMakeLists.txt - contains information for compiling on Linux using CMake.
  • logsheet.txt - contains information about changes between versions of CMS.
  • readme.txt - contains information about configuration settings for Visual Studio on Windows and proper usages of the CMS executable from the command line.