Changeset 662


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

devel/Python : force python to use our libraries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/devel/make_python

    r654 r662  
    9191    CYTHONFLAGS="$SOFLAGS $LDFLAGS -L$LIBDIR -licosa $KERNELS_LDFLAGS" 
    9292    LDSHARED="$LINK" CFLAGS="-fno-strict-aliasing -O2 -I$NUMPY" LDFLAGS="$CYTHONFLAGS" log python setup.py build_ext --inplace || exit 
     93 
    9394    cp -fpr $DYNAMICO_ROOT/Python/dynamico $DYNAMICO_ROOT/lib 
    9495    cp -fp *.so $DYNAMICO_ROOT/lib/dynamico/ 
    9596    cd $DYNAMICO_ROOT 
    9697 
    97     for module in xios meshes dyn time_step DCMIP; do 
     98    for module in xios unstructured meshes dyn time_step DCMIP; do 
    9899        echo "from dynamico import $module" 
    99         python -c "from dynamico import $module" 
     100        LD_PRELOAD=$PYTHON_PRELOAD python -c "from dynamico import $module" 
    100101    done 
    101102} 
Note: See TracChangeset for help on using the changeset viewer.