Skip to content

Commit 1c904e9

Browse files
committed
Downgrade Boost requirements. Boost 1.55.0 is buggy with Intel compilers
1 parent 5f3ed59 commit 1c904e9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ else()
5959
endif()
6060

6161
# Just change the Boost version number here
62-
set(BOOSTVER 1.55.0)
62+
set(BOOSTVER 1.54.0)
6363
set(BUILD_CUSTOM_BOOST FALSE)
6464
# List all components needed (except mpi and unit_test_framework) here.
6565
# Components additionally required in PSI4: python, serialization, thread (Might be useful in the future?)

cmake/compilers/FortranFlags.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ if (NOT DEFINED DEFAULT_Fortran_FLAGS_SET OR RESET_FLAGS)
2929
if(CMAKE_Fortran_COMPILER_ID MATCHES Intel)
3030
add_definitions(-DVAR_IFORT)
3131
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -w -fpp -assume byterecl -traceback -fPIC -nosave")
32-
set(CMAKE_Fortran_FLAGS_DEBUG "${CMAKE_Fortran_FLAGS_DEBUG} -O0 -g -warn all -ftrapuv -check all")
32+
set(CMAKE_Fortran_FLAGS_DEBUG "${CMAKE_Fortran_FLAGS_DEBUG} -O0 -g -warn all")
3333
set(CMAKE_Fortran_FLAGS_RELEASE "${CMAKE_Fortran_FLAGS_RELEASE} -O3 -ip")
3434
if(ENABLE_64BIT_INTEGERS)
3535
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -i8")
3636
endif()
3737
if(ENABLE_BOUNDS_CHECK)
38-
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -check bounds -fpstkchk -check pointers -check uninit -check output_conversion")
38+
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -ftrapuv -check all")
3939
endif()
4040
if(ENABLE_VECTORIZATION)
4141
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} ${Fortran_ARCHITECTURE_FLAGS}")

0 commit comments

Comments
 (0)