Skip to content

NicholasRui/CMC-COSMIC

 
 

Repository files navigation

The Cluster Monte Carlo Code, CMC-COSMIC

A Henon style orbit-averaging code for collisional stellar dynamics, with all the necessary physics for modeling the long-term evolution of dense star clusters.

See the documentation here

NOTE!!!

This is currently in Beta release, and still has some testing we need to do. If you've come across this repository, feel free to download and try running the code

Installation Instructions (See here for more details)

Checkout the code with (be sure to add the --recurse-submodules flag to download COSMIC as well!)

git clone https://github.com/ClusterMonteCarlo/CMC-COSMIC.git --recurse-submodules

You'll need MPI, HDF5, GSL, and cmake (version 3.12 or higher) to compile the code. These should be available on any HPC system (or easily installed with your favorite package manager on Linux). Once downloaded, complile the code with

cd CMC-COSMIC
mkdir build
cd build
FC=mpifort CC=mpicc cmake .. -DCMAKE_INSTALL_PREFIX=../bin
make install

This will create a build and bin folder in the top level of the CMC-COSMIC package with the relevant executables.

Citing the code

If you use CMC-COSMIC in your research, please cite Joshi et al., 2000, Pattabiraman et al., 2013, and Rodriguez et al., in prep, as well as the COSMIC paper Breivik et al., 2020. In a pinch, you can just cite Rodriguez et al., but please cite all 4 if possible.

Download a Docker image

TODO (Scotty and Carl)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 84.7%
  • C++ 6.2%
  • Python 5.2%
  • Roff 1.7%
  • Cuda 1.2%
  • CMake 0.5%
  • Other 0.5%