File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ parameters:
2323 PATH : |
2424 /usr/bin:/bin:/usr/sbin:/sbin
2525 PROLOGUE : |
26- source /opt/modules/default/init/bash; export MODULEPATH=/opt/cray/gem/modulefiles:/opt/cray/xt-asyncpe/default/modulefiles:/opt/modulefiles:/opt/cray/modulefiles:/cm/local/modulefiles:/cm/shared/modulefiles:/usr/local/modulefiles/COTS:/usr/local/modulefiles/unsupported; export MODULESHOME=/opt/modules/3.2.6.7; export MODULE_VERSION=3.2.6.7; export MODULE_VERSION_STACK=3.2.6.7; echo "unloading modules"; module unload PrgEnv-pgi; echo "loading modules"; module load PrgEnv-gnu/4.2.34 ; module load cray-mpich/6.0.0 ; module unload cray-libsci; module load acml/5.3.1 ; echo "setting default compilers"; export CC=gcc; export CXX=g++; export FC=gfortran; export F77=gfortran; export F90=gfortran; export CPP=cpp;
26+ unset RCLOCAL_PRGENV; source /etc/bash.bashrc; source /etc/bash.bashrc.local; module swap PrgEnv-cray PrgEnv-gnu; module load cray-mpich; module list ; echo "setting default compilers"; export CC=gcc; export CXX=g++; export FC=gfortran; export F77=gfortran; export F90=gfortran; export CPP=cpp;
2727 DYNAMIC_EXE_LINKER_FLAGS : -dynamic
2828
2929packages :
@@ -34,9 +34,9 @@ packages:
3434 build_with : |
3535 openssl,bzip2,sqlite
3636 blas :
37- use : host-acml -blas
37+ use : host-libsci -blas
3838 lapack :
39- use : host-acml -lapack
39+ use : host-libsci -lapack
4040 daetk :
4141 mpi :
4242 use : host-mpi
Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ build_stages:
3838 bash : |
3939 cat > site.cfg << EOF
4040 [DEFAULT]
41- library_dirs = ${ACML_DIR}/gfortran64 /lib
42- libraries = acml
41+ library_dirs = ${CRAY_LIBSCI_PREFIX_DIR} /lib
42+ libraries = sci_gnu
4343 EOF
4444
4545 - when : machine == 'CrayXE6'
@@ -48,9 +48,9 @@ build_stages:
4848 before : install
4949 handler : bash
5050 bash : |
51- export LDFLAGS="-shared -Wl,-rpath=${PYTHON_DIR}/lib -Wl,-rpath=${ACML_DIR}/gfortran64 /lib $(${PYTHON_DIR}/bin/python-config --ldflags)"
52- export LAPACK=acml
53- export BLAS=acml
51+ export LDFLAGS="-shared -Wl,-rpath=${PYTHON_DIR}/lib -Wl,-rpath=${CRAY_LIBSCI_PREFIX_DIR} /lib $(${PYTHON_DIR}/bin/python-config --ldflags)"
52+ export LAPACK=sci_gnu
53+ export BLAS=sci_gnu
5454 export ATLAS=None
5555
5656 - when : platform == 'Cygwin'
Original file line number Diff line number Diff line change @@ -17,17 +17,17 @@ build_stages:
1717 bash : |
1818 cat > site.cfg << EOF
1919 [DEFAULT]
20- library_dirs = ${ACML_DIR}/gfortran64 /lib
21- libraries = acml
20+ library_dirs = ${CRAY_LIBSCI_PREFIX_DIR} /lib
21+ libraries = sci_gnu
2222 EOF
2323
2424 - name : set-LDFLAGS
2525 after : prologue
2626 before : install
2727 handler : bash
2828 bash : |
29- export LDFLAGS="-shared -Wl,-rpath=${PYTHON_DIR}/lib -Wl,-rpath=${ACML_DIR}/gfortran64 /lib $(${PYTHON_DIR}/bin/python-config --ldflags)"
29+ export LDFLAGS="-shared -Wl,-rpath=${PYTHON_DIR}/lib -Wl,-rpath=${CRAY_LIBSCI_PREFIX_DIR} /lib $(${PYTHON_DIR}/bin/python-config --ldflags)"
3030 export ATLAS=None
31- export LAPACK=acml
32- export BLAS=acml
31+ export LAPACK=sci_gnu
32+ export BLAS=sci_gnu
3333
You can’t perform that action at this time.
0 commit comments