_________ _______ _______ _________
\__ __/ ( ____ ) |\ /| ( ____ \ \__ __/
) ( | ( )| | ) ( | | ( \/ ) (
| | | (____)| | | | | | (_____ | |
| | | __) | | | | (_____ ) | |
| | | (\ ( | | | | ) | | |
| | | ) \ \__ | (___) | /\____) | | |
)_( |/ \__/ (_______) \_______) )_(
BSD3 license
$> git clone https://github.com/cea-trust-platform/trust-code.git
$> cd trust-code
$> wget ftp://ftp.cea.fr/pub/TRUST/externalpackages/externalpackages-1.8.3.tar
$> tar xf externalpackages-1.8.3.tar
$> ./configure $OPTIONS
$> make
To see the available OPTIONS, run
$> ./configure -help
Warning: Check carefully the MPI version you want to use for parallel computing before installing the code, especially onto a HPC cluster.
Run the following command, mpicxx should be found into the bin directory of the MPI version you plan to use:
$> type mpicxx
$> wget ftp://ftp.cea.fr/pub/TRUST/TRUST/Version1.8.3/TRUST-1.8.3.tar.gz
$> tar xzf TRUST-1.8.3.tar.gz
$> cd TRUST-1.8.3
$> ./configure $OPTIONS
$> make
To detect the environment, run:
$> ./configure
A file env/machine.env will be created. You can then edit this file and some others (env/make.linux*) to change some default values.
To initialize:
$> source ./env_TRUST.sh
To build a binary with a single directory build:
$> make # Create an optimized debug binaries
$> make optim # Create an optimized binary
$> make debug # Create a debug binary
$> make prof # Create a profiled binary
To check:
$> make check
To clean (will delete all .o and .a of TRUST sources, inside directories or MonoDir_... directories)
$> make clean
To clean also the third party libraries:
$> ./configure -clean
TRUST scripts => bin/
Documentation files => doc/
Environment files => env_src/ & env/
Binaries => exec/
Link to all TRUST include files (automatically updated) => include/
Libraries => ThirdPart/ & lib/
TRUST sources => src/
TRUST tests => tests/
Tools to build TRUST => Outils/
Location of Validation forms => Validation/
DEVELOPER_NOTES => Developer notes (manually and regulary updated by support)
Makefile => List of targets to build the code
README.md => This file
RELEASE_NOTES => Release notes (manually and regulary updated by support)
ToDo => List of tasks to do
configure => configure script
index.html => Index description
license => TRUST and third party licences
If you are a CEA worker, it is possible to use a TMA preinstalled version of TRUST. Here is the list of the machines and the paths that can be used to source the TRUST environment
for a local machine at CEA Saclay
$> source /home/triou/env_TRUST_1.8.3.sh
or
$> source /home/trust_trio-public/env_TRUST-1.8.3.sh
for CEA Saclay cluster (orcus):
$> source /home/trust_trio/env_TRUST-1.8.3.sh
for CCRT-TGCC supercomputers (cobalt & irene-ccrt):
$> source /ccc/cont002/home/den/triou/env_TRUST-1.8.3.sh
for CCRT-TGCC supercomputers (irene-amd int64):
$> source /ccc/cont002/home/den/triou/env_TRUST-1.8.3-int64.sh
for CINES supercomputer (occigen):
$> source /panfs/panasas/softs/applications/trio_u/TRUST/env_TRUST-1.8.3.sh