Commit 7eb7c100 authored by Gregor Michalicek's avatar Gregor Michalicek

Activate cdn.hdf file by default.

It can be deactivated by using the command line switch -no_cdn_hdf
parent d9407e3d
......@@ -1324,12 +1324,12 @@ MODULE m_cdn_io
IF (juDFT_was_argument("-stream_cdn")) THEN
mode=CDN_STREAM_MODE
END IF
IF (juDFT_was_argument("-hdf_cdn")) THEN
IF (.NOT.juDFT_was_argument("-no_cdn_hdf")) THEN !juDFT_was_argument("-hdf_cdn")) THEN
#ifdef CPP_HDF
mode=CDN_HDF5_MODE
#else
WRITE(*,*) 'Code not compiled with HDF5 support.'
WRITE(*,*) 'Falling back to direct access.'
! WRITE(*,*) 'Code not compiled with HDF5 support.'
! WRITE(*,*) 'Falling back to direct access.'
#endif
END IF
END SUBROUTINE getMode
......
......@@ -269,12 +269,12 @@ MODULE m_pot_io
mode = POT_DIRECT_MODE
IF (juDFT_was_argument("-stream_cdn")) mode=POT_STREAM_MODE
IF (juDFT_was_argument("-hdf_cdn")) THEN
IF (.NOT.juDFT_was_argument("-no_cdn_hdf")) THEN !juDFT_was_argument("-hdf_cdn")) THEN
#ifdef CPP_HDF
mode=POT_HDF5_MODE
#else
WRITE(*,*) 'Code not compiled with HDF5 support.'
WRITE(*,*) 'Falling back to direct access.'
! WRITE(*,*) 'Code not compiled with HDF5 support.'
! WRITE(*,*) 'Falling back to direct access.'
#endif
END IF
END SUBROUTINE getMode
......
......@@ -54,10 +54,11 @@ CONTAINS
WRITE(*,'(a)')""
WRITE(*,'(a)')"HDF density file relevant options:"
WRITE(*,'(a)')""
WRITE(*,'(a)')"-hdf_cdn : activate HDF charge density mode"
WRITE(*,'(a)')"-sd N : use starting density N, where N is the index of the density according to -info"
WRITE(*,'(a)')"-delden N-M : delete densities N to M"
WRITE(*,'(a)')"-delden N : delete density N"
WRITE(*,'(a)')"-no_cdn_hdf : disable HDF charge density mode (activated by default if HDF5 is available)"
WRITE(*,'(a)')"-sd N : use starting density N, where N is the index of the density according to -info"
WRITE(*,'(a)')"-delden N-M : delete densities N to M"
WRITE(*,'(a)')"-delden N : delete density N"
WRITE(*,'(a)')"-delden allbutlast : delete all but the last density"
WRITE(*,'(a)')""
WRITE(*,'(a)')"Please check the documentation on www.flapw.de for more details"
......
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