Commit 680676d8 authored by Gregor Michalicek's avatar Gregor Michalicek

Added -xml as an alternative to -xmlInput to use the xml input.

parent a6057201
......@@ -64,7 +64,7 @@
WRITE(6,*) "This is incompatible to a missing enpara file."
WRITE(6,*) "Please generate an adequate enpara file by starting"
WRITE(6,*) "inpgen with the -genEnpara command line switch or"
WRITE(6,*) "use the XML input by starting FLEUR with -xmlInput."
WRITE(6,*) "use the XML input by starting FLEUR with -xmlInput or -xml."
CALL juDFT_error('corelevels file is incompatible with missing enpara file',calledby='inpeig')
END IF
......
......@@ -39,7 +39,7 @@ CONTAINS
WRITE(*,*)""
WRITE(*,*)"-genEnpara : write enpara file"
WRITE(*,*)""
WRITE(*,*)"-xmlInput : use inp.xml instead of inp"
WRITE(*,*)"-xmlInput or -xml : use inp.xml instead of inp"
WRITE(*,*)""
WRITE(*,*)"-wtime XXXXX : run for XXXX minutes (used to estimate if another iteration is started"
WRITE(*,*)""
......
......@@ -102,7 +102,7 @@
kpts%ntet = 1
kpts%numSpecialPoints = 1
INQUIRE (file='inp.xml',exist=input%l_inpXML)
IF(.NOT.juDFT_was_argument("-xmlInput")) THEN
IF(.NOT.(juDFT_was_argument("-xmlInput").OR.juDFT_was_argument("-xml"))) THEN
input%l_inpXML = .FALSE.
END IF
IF (input%l_inpXML) THEN
......
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