Commit 885df8b3 authored by Daniel Wortmann's avatar Daniel Wortmann

Cleaned in cmake/machines directory

parent 9fa2afad
......@@ -2,7 +2,6 @@ set(FLEUR_DEFINITIONS ${FLEUR_DEFINITIONS} "CPP_DOUBLE")
set(FLEUR_MPI_DEFINITIONS ${FLEUR_MPI_DEFINITIONS} "CPP_DOUBLE")
include("cmake/tests/test_doxygen.cmake")
message("${CMAKE_Fortran_FLAGS}")
include("cmake/compilerflags.cmake")
include("cmake/tests/test_XML.cmake")
include("cmake/tests/test_LAPACK.cmake")
......@@ -15,12 +14,10 @@ include("cmake/tests/test_Wannier5.cmake")
include("cmake/tests/test_MAGMA.cmake")
include("cmake/tests/test_GPU.cmake")
include("cmake/tests/test_LibXC.cmake")
message("${CMAKE_Fortran_FLAGS}")
if (FLEUR_USE_MPI)
include("cmake/tests/test_SCALAPACK.cmake")
include("cmake/tests/test_ELPA.cmake")
include("cmake/tests/test_ChASE.cmake")
endif()
message("${CMAKE_Fortran_FLAGS}")
include("cmake/compileenv.txt")
if module list 2>&1 |grep -q -i CMake
then
if module list 2>&1 |grep -q -i intel
then
echo "Intel toolchain used"
module load CMake
export FC=${FC:=mpif90}
export CC=${CC:=mpicc}
#determine XML2 module
......@@ -34,3 +35,8 @@ else
echo "e.g. module load intel-para"
exit
fi
else
echo "You should load the CMake module and the modules for the compiler"
echo "e.g. do a 'ml intel-para CMake'"
exit
fi
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