Commit b2c73ba9 authored by Daniel Wortmann's avatar Daniel Wortmann

Make sure openmp works with old intel compiler

parent d1ceaa8e
......@@ -9,5 +9,8 @@ if (${CMAKE_Fortran_COMPILER_ID} MATCHES "Intel")
set_source_files_properties(cdn/pwden.F90 PROPERTIES COMPILE_FLAGS -O0)
set_source_files_properties(eigen/apws.F90 PROPERTIES COMPILE_FLAGS -O0)
set_source_files_properties(init/lhcal.f PROPERTIES COMPILE_FLAGS -O0)
if (${CMAKE_Fortran_COMPILER_VERSION} VERSION_LESS "14.1.0.0")
set_source_files_properties(vgen/vmtxcg.F90 PROPERTIES COMPILE_FLAGS -no-openmp)
endif()
endif()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment