#!/bin/bash
#-----------------------------------------------------------------------
#
#                        SYRTHES version 5.X
#                        -------------------
#
#     This file is part of the SYRTHES Kernel, element of the
#     thermal code SYRTHES.
#
#     Copyright (C) 2018 EDF S.A., France
#
#     contact: syrthes-support@edf.fr
#
#
#     The SYRTHES Kernel is free software; you can redistribute it
#     and/or modify it under the terms of the GNU General Public License
#     as published by the Free Software Foundation; either version 2 of
#     the License, or (at your option) any later version.
#
#     The SYRTHES Kernel is distributed in the hope that it will be
#     useful, but WITHOUT ANY WARRANTY; without even the implied warranty
#     of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#     GNU General Public License for more details.
#
#
#     You should have received a copy of the GNU General Public License
#     along with the Code_Saturne Kernel; if not, write to the
#     Free Software Foundation, Inc.,
#     51 Franklin St, Fifth Floor,
#     Boston, MA  02110-1301  USA
#
#
#-----------------------------------------------------------------------

# Architecture name and location of the directory for installation
# ================================================================

SYRTHES_HOME=/home/users/r/v/rvanco/syrthes5.0/arch/Linux_x86_64
NOM_ARCH=Linux_x86_64

#-----------------------------------------------------------
# LD_LIBRARY_PATH
#-----------------------------------------------------------
#med
LD_LIBRARY_PATH=/home/ucl/tfl/rvanco/Code_Saturne/6.0.6/med-4.0.0/arch/Linux_x86_64/lib:$LD_LIBRARY_PATH
#hdf5
LD_LIBRARY_PATH=/opt/cecisw/arch/easybuild/2016b/software/HDF5/1.10.0-patch1-foss-2016b/lib:$LD_LIBRARY_PATH
#metis
LD_LIBRARY_PATH=/opt/cecisw/arch/easybuild/2016b/software/METIS/5.1.0-foss-2016b/lib:$LD_LIBRARY_PATH
#mpi
LD_LIBRARY_PATH=/opt/cecisw/arch/easybuild/2018b/software/OpenMPI/3.1.1-GCC-7.3.0-2.30/lib:$LD_LIBRARY_PATH
#ple
LD_LIBRARY_PATH=/home/ucl/tfl/rvanco/usr/local/lib:$LD_LIBRARY_PATH
#stardis
LD_LIBRARY_PATH=/home/users/r/v/rvanco/syrthes5.0/extern-libraries/opt/Stardis-0.8.2-GNU-Linux64/arch/Linux_x86_64/lib:$LD_LIBRARY_PATH
#scotch
LD_LIBRARY_PATH=/opt/cecisw/arch/easybuild/2016b/software/SCOTCH/6.0.4-foss-2016b/lib:$LD_LIBRARY_PATH
#blas
LD_LIBRARY_PATH=/opt/cecisw/arch/easybuild/2018b/software/OpenBLAS/0.3.1-GCC-7.3.0-2.30/lib:$LD_LIBRARY_PATH

#
#-----------------------------------------------------------
# Path
#-----------------------------------------------------------
PATH=${SYRTHES_HOME}/bin:$PATH
#

#-----------------------------------------------------------
# MPI Path
#-----------------------------------------------------------

SYRTHES_MPIPATH=/opt/cecisw/arch/easybuild/2018b/software/OpenMPI/3.1.1-GCC-7.3.0-2.30
PATH=/opt/cecisw/arch/easybuild/2018b/software/OpenMPI/3.1.1-GCC-7.3.0-2.30/bin:$PATH 

#-----------------------------------------------------------
# Export variables
#-----------------------------------------------------------
export NOM_ARCH SYRTHES_HOME LD_LIBRARY_PATH PATH SYRTHES_MPIPATH

#-----------------------------------------------------------
# Display
#-----------------------------------------------------------
echo " "

echo "SYRTHES_HOME=" ${SYRTHES_HOME}
echo "NOM_ARCH=     " ${NOM_ARCH}
echo "PATH=         " ${PATH}
echo "LD_LIBRARY_PATH="${LD_LIBRARY_PATH}
echo " "
