CMS Compilation/Linux: Difference between revisions

From CIRPwiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{DISPLAYTITLE:CMS Compilation - Linux}}
{{DISPLAYTITLE:CMS Compilation - Linux}}
<big>Under Construction</big>
== Compilation ==
Linux compilation of CMS now includes the XMDF Libraries (as of CMS v5.4.5)
To build CMS On Linux:
*You must have CMAKE software 3.5 or above
*You must have the HDF5 (and Zlib) libraries installed on your system.
       
Instructions (updated 06/23/25):
#Clone repository or unzip CMS Source into a folder.
#Go to the root directory of the repo.
#Type `cmake .` at the prompt    !(do not enter the ` characters)
#Type `make clean`
#Type `make`<br>
:::- This will make the XMDF library and the CMS executable using the XMDF library.<br>
:::- There may be a few warnings during XMDF compilation, but it should create a working library.
If no errors, an exectuable named ''''cms'''' will be in the ''''source'''' directory. Move and rename the executable as needed.


<big>Under Construction</big>


[[CMS_Compilation | back to CMS Compilation page]]
[[CMS_Compilation | back to CMS Compilation page]]

Revision as of 22:40, 23 June 2025

Under Construction

Compilation

Linux compilation of CMS now includes the XMDF Libraries (as of CMS v5.4.5)

To build CMS On Linux:

  • You must have CMAKE software 3.5 or above
  • You must have the HDF5 (and Zlib) libraries installed on your system.

Instructions (updated 06/23/25):

  1. Clone repository or unzip CMS Source into a folder.
  2. Go to the root directory of the repo.
  3. Type `cmake .` at the prompt  !(do not enter the ` characters)
  4. Type `make clean`
  5. Type `make`
- This will make the XMDF library and the CMS executable using the XMDF library.
- There may be a few warnings during XMDF compilation, but it should create a working library.


If no errors, an exectuable named 'cms' will be in the 'source' directory. Move and rename the executable as needed.


back to CMS Compilation page