How to install/update MARS on HPC clusters.

Frequently asked questions

How to install/update MARS on HPC clusters.

Postby ES3 » Mon Sep 28, 2015 10:40 pm

Build or update MARS:

  1. Download the latest package from http://mars.es3inc.com/protected/MARS/ (e.g. mars2015.0.53.RedHat5&6.tgz) to a folder on your cluster where you want to build the MARS executables. Notice: make sure to choose the correct package according to your Linux operation system.
  2. Under shell prompt, unzip the package to current folder:
    Code: Select all
    tar zxvf mars2015.0.53.RedHat5&6.tgz
  3. If you are developing user defined features with your own user.cpp, replace the one downloaded with your copy.
  4. Compile debug version of MARS (marsD) using
    Code: Select all
    make V=D
    or, compile OpenMP version (marsO) using
    Code: Select all
    make V=O
    or, compile MPI version (marsM) using
    Code: Select all
    make V=M
  5. Add
    Code: Select all
    export PATH=[path_to_mars_folder]:$PATH
    to ~/.bash_profile (be sure to replace [path_to_mars_folder] with the real path which includes the MARS executable you just compiled).
  6. Run
    Code: Select all
    source ~/.bash_profile
    in shell prompt to update PATH.
Notice: step 5~6 only needs to be done before the first time you run MARS.
ES3
 
Posts: 42
Joined: Thu Jul 09, 2015 9:36 pm

Return to FAQs

Who is online

Users browsing this forum: No registered users and 1 guest

cron