Commit db948769 authored by Daniel Wortmann's avatar Daniel Wortmann

Bugfix for previous commit

parent 08a8155d
...@@ -55,6 +55,7 @@ endif() ...@@ -55,6 +55,7 @@ endif()
message("HDF5 Library found:${FLEUR_USE_HDF5}") message("HDF5 Library found:${FLEUR_USE_HDF5}")
if (FLEUR_USE_HDF5) if (FLEUR_USE_HDF5)
message("Parallel HDF5 Library found:${FLEUR_USE_HDF5}")
set(FLEUR_DEFINITIONS ${FLEUR_DEFINITIONS} "CPP_HDF") set(FLEUR_DEFINITIONS ${FLEUR_DEFINITIONS} "CPP_HDF")
set(FLEUR_MPI_DEFINITIONS ${FLEUR_MPI_DEFINITIONS} "CPP_HDF") set(FLEUR_MPI_DEFINITIONS ${FLEUR_MPI_DEFINITIONS} "CPP_HDF")
if (FLEUR_USE_HDF5MPI) if (FLEUR_USE_HDF5MPI)
......
...@@ -285,9 +285,6 @@ ...@@ -285,9 +285,6 @@
END IF ! end of else branch of "IF (input%l_inpXML) THEN" END IF ! end of else branch of "IF (input%l_inpXML) THEN"
!Finalize the MPI setup
CALL setupMPI(kpts%nkpt,mpi)
! !
!-odim !-odim
oneD%odd%nq2 = oneD%odd%n2d oneD%odd%nq2 = oneD%odd%n2d
...@@ -482,6 +479,9 @@ ...@@ -482,6 +479,9 @@
hybrid%l_calhf = .FALSE. hybrid%l_calhf = .FALSE.
END IF END IF
!Finalize the MPI setup
CALL setupMPI(kpts%nkpt,mpi)
!new check mode will only run the init-part of FLEUR !new check mode will only run the init-part of FLEUR
IF (judft_was_argument("-check")) CALL judft_end("Check-mode done",mpi%irank) IF (judft_was_argument("-check")) CALL judft_end("Check-mode done",mpi%irank)
......
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