Projet

Général

Profil

Actions

Install the platform » Historique » Révision 2

« Précédent | Révision 2/62 (diff) | Suivant »
Damien Gratadour, 10/11/2013 14:43


Install the platform

The COMPASS platform is distributed as a single bundle of CArMA and SuTrA libraries and YoGA and its AO extension for Yorick.

Hardware requirements

The system must contain at least an x86 CPU and a CUDA capable GPU. list of compatible GPUs can be found here (). Specific requirements apply to clusters (to be updated).

Environment requirements

The system must be running a 64 bit distribution of Linux or Mac OS with the latest NVIDIA drivers and CUDA toolkit.

Additionally, Yorick should be installed.

Installation process

First check out the latest version from the svn repository :

svn co https://version-lesia.obspm.fr/repos/compass/trunk compass

then go in the newly created directory and then trunk:
cd compass/trunk

once there, you need to modify system variables in the define_var.sh executable :
emacs define_var.sh

in this file define properly CUDA_ROOT, CULA_ROOT and YoGA path. Note that for the latter, as YoGA is distributed with SUTrA you should just point to the newly created trunk directory. On a Linux system you should normally have:
export CUDA_ROOT=/usr/local/cuda
export CULA_ROOT=/usr/local/cula
export YOGA_DIR=/home/MyUserName/path2compass/trunk

Once this is done, you're ready to compile the whole library. First run define_var.sh to define the system variables that will be used during the compilation process:

./define_var.sh

then identify the absolute path to your Yorick executable using:

which yorick

and run the compilation script:
./reinstall absolute_path_of_yorick

If you did not get any error, YoGA and SUTrA are now installed on your machine. You can check that everything is working by launching a GUI to test a simulation:

yorick -i yoga_ao/ywidgets/widget_ao.i

Mis à jour par Damien Gratadour il y a environ 11 ans · 2 révisions