Commit fbce74a5 authored by Daniel Wortmann's avatar Daniel Wortmann

Updated cmake.juqueen.config. As no static version of XML2 is installed

systemwide, you have to compile it yourself and define a variable XML2LIB
to point to the static libxml2.a file.
parent 5338dd6d
#Makefile juqueen
if (NOT DEFINED ENV{XML2LIB})
message(FATAL_ERROR "You have to set the environment-variable XML2LIB to the path in which libxml2.a is present")
endif()
set (CMAKE_Fortran_COMPILER "mpixlf2003_r")
project(Fleur Fortran)
enable_language(Fortran)
enable_language(C Fortran)
find_package(LibXml2 REQUIRED)
set(CMAKE_C_FLAGS "-I${LIBXML2_INCLUDE_DIR}")
set (Fleur_uses_serial FALSE)
#MPI can be switched off with NO_MPI variable
if (NOT DEFINED ENV{NO_MPI} )
......@@ -29,7 +37,7 @@ set(CMAKE_Fortran_FLAGS "${HDF5_INCL} -qarch=qp -qtune=qp -qrealsize=8 -qfixed -
set(CMAKE_Fortran_FLAGS_RELEASE "-O4 -qsmp=omp -qnosave -qessl -qsuppress=1500-036" )
set(CMAKE_Fortran_FLAGS_DEBUG "-O0 -g" )
set(LAPACK_LIBS "-L/bgsys/local/lapack/3.3.0_g/lib -llapack -L/bgsys/local/lib -qessl -lesslsmpbg")
set(LAPACK_LIBS "-L$ENV{XML2LIB} -lxml2 -L/bgsys/local/lapack/3.3.0_g/lib -llapack -L/bgsys/local/lib -qessl -lesslsmpbg")
if (DEFINED ENV{SCALAPACK_ROOT})
set(Fleur_uses_SCALAPACK TRUE)
......
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