Changeset 661


Ignore:
Timestamp:
01/19/18 23:33:00 (6 years ago)
Author:
dubos
Message:

devel/Python : force python to use our libraries

Location:
codes/icosagcm/devel
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/devel/Python/test/python.sh

    r617 r661  
    33DYNAMICO_ROOT=$(cd -P $(dirname $0)/../.. ; pwd) 
    44. $DYNAMICO_ROOT/arch.env 
     5. $DYNAMICO_ROOT/arch.path 
    56. $DYNAMICO_ROOT/Python//env/$CURRENT_ARCH.env 
    67 
    7 python -u $* 
     8LD_PRELOAD=$PYTHON_PRELOAD python -u $* 
  • codes/icosagcm/devel/arch/arch-X64_CURIE.path

    r619 r661  
    1919IOIPSL_LIBDIR="-L $PWD/../IOIPSL/lib" 
    2020IOIPSL_LIB="-lioipsl" 
     21 
     22# Python extension modules use rpath to Python-specific versions of NetCDF, HDF, MPI 
     23# the only way to override them and use the ones selected by the 'module' command is with LD_PRELOAD 
     24PYTHON_PRELOAD="$HDF5_LIB_DIR/libhdf5.so.7:$NETCDF_LIB_DIR/libnetcdf.so.7" 
Note: See TracChangeset for help on using the changeset viewer.