Ignore:
Timestamp:
Jun 3, 2024, 4:50:58 PM (7 months ago)
Author:
abarral
Message:

replace exported env vars in arch files with $(pwd)
copy .env from config/

Location:
BOL/script_install_amaury/arch_local
Files:
1 added
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • BOL/script_install_amaury/arch_local/arch-local-gfortran.env

    r4901 r4959  
    1 NETCDF_INCDIR="-I$(nf-config --includedir)"
    2 # Ugly hack for orchidee <=2.0
    3 NETCDF_LIBDIR="-L$(nf-config --flibs | sed -e "s/-L//")"
    4 NETCDF95_INCDIR="-I$LMDGCM/../../include"
    5 NETCDF95_LIBDIR="-L$LMDGCM/../../lib"
    6 NETCDF95_LIB="-lnetcdf95"
    7 
    8 # Exported
    9 IOIPSL_INCDIR="-I$IOIPSL_INCDIR_ -I$IOIPSL_LIBDIR_"
    10 IOIPSL_LIBDIR="-L$IOIPSL_INCDIR_ -L$IOIPSL_LIBDIR_"
    11 IOIPSL_LIB="-lioipsl"
    12 
    13 # Exported
    14 XIOS_INCDIR="-I$XIOS_INCDIR_"
    15 XIOS_LIBDIR="-L$XIOS_LIBDIR_"
    16 XIOS_LIB="-lxios -lstdc++"
    17 
    18 # Exported
    19 ORCH_INCDIR="-I$ORCH_INCDIR_ -I$ORCH_LIBDIR_"
    20 ORCH_LIBDIR="-L$ORCH_LIBDIR_ -L$ORCH_INCDIR_"
     1# empty
  • BOL/script_install_amaury/arch_local/arch-local-gfortran.path

    r4901 r4959  
    22# Ugly hack for orchidee <=2.0
    33NETCDF_LIBDIR="-L$(nf-config --flibs | sed -e "s/-L//")"
    4 NETCDF95_INCDIR="-I$LMDGCM/../../include"
    5 NETCDF95_LIBDIR="-L$LMDGCM/../../lib"
     4NETCDF95_INCDIR="-I$(pwd)/../../include"
     5NETCDF95_LIBDIR="-L$(pwd)/../../lib"
    66NETCDF95_LIB="-lnetcdf95"
    77
    88# Exported
    9 IOIPSL_INCDIR="-I$IOIPSL_INCDIR_ -I$IOIPSL_LIBDIR_"
    10 IOIPSL_LIBDIR="-L$IOIPSL_INCDIR_ -L$IOIPSL_LIBDIR_"
     9IOIPSL_INCDIR="-I$(pwd)/../IOIPSL/inc -I$(pwd)/../IOIPSL/lib"
     10IOIPSL_LIBDIR="-L$(pwd)/../IOIPSL/inc -L$(pwd)/../IOIPSL/lib"
    1111IOIPSL_LIB="-lioipsl"
    1212
    1313# Exported
    14 XIOS_INCDIR="-I$XIOS_INCDIR_"
    15 XIOS_LIBDIR="-L$XIOS_LIBDIR_"
     14XIOS_INCDIR="-I$(pwd)/../XIOS/inc"
     15XIOS_LIBDIR="-L$(pwd)/../XIOS/lib"
    1616XIOS_LIB="-lxios -lstdc++"
    1717
    1818# Exported
    19 ORCH_INCDIR="-I$ORCH_INCDIR_ -I$ORCH_LIBDIR_"
    20 ORCH_LIBDIR="-L$ORCH_LIBDIR_ -L$ORCH_INCDIR_"
     19ORCH_INCDIR="-I$(pwd)/../ORCHIDEE/inc -I$(pwd)/../ORCHIDEE/lib"
     20ORCH_LIBDIR="-L$(pwd)/../ORCHIDEE/inc -L$(pwd)/../ORCHIDEE/lib"
Note: See TracChangeset for help on using the changeset viewer.