Menu

Tree [9f852a] master v1.8.3 v1.8.3_rc1 /
 History

HTTPS access


File Date Author Commit
 Outils 2021-06-28 triou triou [462f66] Commit before the 1.8.3 version.
 ThirdPart 2021-06-24 abn abn [bfd963] Minor: restore previous order of methods in .h ...
 Validation 2021-06-22 abn abn [9baaa5] Updated commit for Jupyter validation forms
 bin 2021-06-28 triou triou [462f66] Commit before the 1.8.3 version.
 doc 2021-06-28 triou triou [9f852a] Commit for an official Release v1.8.3 version.
 env_src 2021-06-22 triou triou [df4b01] Add HOST for jean-zay int64
 src 2021-06-28 triou triou [462f66] Commit before the 1.8.3 version.
 tests 2021-06-23 triou triou [4f3dda] DomaineCutter.cpp file indented
 .gitignore 2021-04-28 Elie Saikali Elie Saikali [5c0f77] Add eclipse configuration files in .gitignore
 DEVELOPER_NOTES 2021-06-28 triou triou [462f66] Commit before the 1.8.3 version.
 License.txt 2020-12-16 triou triou [cd121e] Commit before the 1.8.2 version.
 README.md 2021-06-21 triou triou [34d41f] Add warning into README.md
 RELEASE_NOTES 2021-06-28 triou triou [462f66] Commit before the 1.8.3 version.
 ToDo 2021-06-28 triou triou [462f66] Commit before the 1.8.3 version.
 configure 2021-04-24 ledacp ledacp [9aaef8] [Fedora34] Portage et GNU 11 support
 env_for_python.sh 2021-06-07 Elie Saikali Elie Saikali [311cc9] Jupyter and Statistical post-processing package...
 index.html 2021-06-28 triou triou [462f66] Commit before the 1.8.3 version.
 license 2021-04-21 triou triou [98d85c] Revert "Introducing some markdown files (be...

Read Me

   _________  _______             _______  _________   
   \__   __/ (  ____ ) |\     /| (  ____ \ \__   __/   
      ) (    | (    )| | )   ( | | (    \/    ) (      
      | |    | (____)| | |   | | | (_____     | |      
      | |    |     __) | |   | | (_____  )    | |      
      | |    | (\ (    | |   | |       ) |    | |      
      | |    | ) \ \__ | (___) | /\____) |    | |      
      )_(    |/   \__/ (_______) \_______)    )_(      


BSD3 license

How to install ?

First method

$> 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

Second method

$> 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

How to start ?

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

Quick directories description

  • 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/

Quick files description

  • 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

How to run a TRUST preinstalled version

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