JURON.cmake 541 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
#Set the compiler names
#set(CMAKE_Fortran_COMPILER mpif90)
#set(CMAKE_C_COMPILER mpicc)
#Add include pathes
#set(CMAKE_C_FLAGS " -I$ENV{XML2_ROOT}/include")
set(FLEUR_Fortran_FLAGS " -ta=tesla:cuda8.0,cc60 -Mcuda:kepler+  -Minfo=accel -acc ")
if (DEFINED ENV{MAGMA_ROOT})
set(FLEUR_Fortran_FLAGS "${FLEUR_Fortran_FLAGS} -I$ENV{MAGMA_ROOT}/include")
set(FLEUR_LIBRARIES "-L$ENV{MAGMA_ROOT}/lib;-lmagma")
#esslsmp.so!
endif()
set(FLEUR_DEFINITIONS ${FLEUR_DEFINITIONS} "CPP_AIX")
set(FLEUR_MPI_DEFINITIONS ${FLEUR_MPI_DEFINITIONS} "CPP_AIX")