Compilation instructions: ~~~~~~~~~~~~~~~~~~~~~~~~~ Compile this code with a standard C++ compiler. It has been tested with the following two compilers: gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) Apple clang version 15.0.0 (clang-1500.3.9.4) There are three ways to compile: (1) Simply type 'make': machine:~/CMS> make clean machine:~/CMS> make (2) If that does not work, edit the 'Makefile' and change the variables CPP and CPP_FLAGS that define which compiler is invoked and which options are used. (3) Compile by hand using the following command line machine:~/CMS> g++ Standard.C Array.C Moments.C CMS.o Quadrature.C EOS.C Form.C Parser.C ReadInTable.C Timer.C Grid.C MatrixAlgebra.C GKIntegration.C Physics.C Main.C -lm -o cms Source files that need to be compiled: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Array.C Grid.h Quadrature.C Array.h LSpline.h Quadrature.h BasicPoint.h LegendrePolynomials.h Random.h CMS.C MCParameters.h ReadInTable.C CMS.h Main.C ReadInTable.h EOS.C MatrixAlgebra.C ShortVector.h FindMinimum.h MatrixAlgebra.h Spline.h FindRoot.h Moments.C Standard.C Form.C ParseCommandLineArguments.h Standard.h Form.h Parser.C Switch.h Function.h Parser.h Timer.C GKIntegration.C Physics.C Timer.h GKIntegration.h Physics.h Vector.h Grid.C Point.h Execution: ~~~~~~~~~~ Run the code to perform a calculation for either Uranus or Neptune: machine:~/CMS> cms -uranus machine:~/CMS> cms -neptune For comparison, two example files are provided: example_output_Uranus.txt example_output_Neptune.txt Burkhard Militzer August 14, 2024