Frequently asked questions
by ES3 » Mon Sep 28, 2015 10:40 pm
Build or update MARS:- 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.
- Under shell prompt, unzip the package to current folder:
- Code: Select all
tar zxvf mars2015.0.53.RedHat5&6.tgz
- If you are developing user defined features with your own user.cpp, replace the one downloaded with your copy.
- 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
- 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). - 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 4 guests