# $Id$
#
# minimum rc file for sh-compatible shells
#
# prod/pips/makes/config.mk:
#   PIPS_NO_GPIPS = 1
#   PIPS_ENABLE_FORTRAN95 = 
#   PIPS_ENABLE_PYPS = 1
#   ALSO_WITH_DYNAMIC_LIBRARIES = 1

# default architecture
export PIPS_ARCH=LINUX_x86_64_LL

# some workaround for gcc 4.8 and later, avoid "stdc-predef.h"
unset PIPS_CC
export PIPS_CPP="gcc -std=c99 -E -C -ffreestanding"

# subversion repositories
# export NEWGEN_SVN=https://svn.cri.mines-paristech.fr/svn/newgen
# export LINEAR_SVN=https://svn.cri.mines-paristech.fr/svn/linear
# export PIPS_SVN=https://svn.cri.mines-paristech.fr/svn/pips

prod=/home/fabien/CHECK/prod

export PIPS_F77=gfortran
export PIPS_F90=gfortran
#export PATH=/usr/local/bin:/usr/bin:/bin
export PATH=/usr/bin:/bin
#export LD_LIBRARY_PATH=/usr/local/lib64

# faster check validation
export PIPS_CHECK_C=N
export PIPS_CHECK_FORTRAN=N

# fix path
PATH=$prod/pips/bin:$prod/pips/utils:$prod/newgen/bin:$PATH

# fix ldpath
export LD_LIBRARY_PATH=$prod/pips/lib/$PIPS_ARCH:$prod/linear/lib/$PIPS_ARCH:$prod/newgen/lib/$PIPS_ARCH:$prod/extern/lib/$PIPS_ARCH:$LD_LIBRARY_PATH

# fix pypath
export PYTHONPATH=$prod/pips/lib/python/pips:$PYTHONPATH
