diff --git a/psi4.spec b/psi4.spec index 51b3a53..7cc626c 100644 --- a/psi4.spec +++ b/psi4.spec @@ -2,7 +2,7 @@ %global shortcommit %(c=%{commit}; echo ${c:0:7}) # Run tests? ATLAS is not thread-safe so some fail as of 2017-05-16 -%bcond_without tests +%bcond_with tests Name: psi4 Epoch: 1 @@ -29,7 +29,7 @@ BuildRequires: gsl-devel BuildRequires: hdf5-devel BuildRequires: zlib-devel -BuildRequires: atlas-devel +BuildRequires: openblas-devel BuildRequires: CheMPS2-devel BuildRequires: libint-devel >= 1.1.5-3 BuildRequires: libxc-devel @@ -101,7 +101,7 @@ mkdir objdir-%{_target_platform} cd objdir-%{_target_platform} %cmake .. \ -DENABLE_OPENMP=ON -DENABLE_MPI=OFF -DENABLE_XHOST=OFF \ - -DBLAS_LIBRARIES='%{_libdir}/atlas/libtatlas.so' -DLAPACK_LIBRARIES='%{_libdir}/atlas/libtatlas.so' -DENABLE_AUTO_LAPACK=OFF \ + -DBLAS_LIBRARIES='-lopenblaso' -DLAPACK_LIBRARIES='-lopenblaso' -DENABLE_AUTO_LAPACK=OFF \ -DCMAKE_Fortran_COMPILER=gfortran -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ \ -DCUSTOM_C_FLAGS='%{optflags} -std=c11 -DNDEBUG' -DCUSTOM_CXX_FLAGS='%{optflags} -std=c++11 -DNDEBUG' \ -DCUSTOM_Fortran_FLAGS='-I%{_libdir}/gfortran/modules %{optflags} -DNDEBUG' \