[Pw_forum] PP converter from upftools
Paolo Giannozzi
giannozz at nest.sns.it
Wed Sep 15 19:45:25 CEST 2004
On Wednesday 15 September 2004 18:21, Sergei Lisenkov wrote:
> I tried to convert pseudopotential in fhi98PP form to upf format.
> I used the command:
>
> ./fhi2upf pp.fhi
>
> but I always got
>
> usage: fhi2upf [input file]
the converter uses extensions to standard fortran that allow
to get the number of arguments (iargc) and a desired argument
(getarg) of the command line. Almost all fortran compilers have
these extension. Maybe your compiler doesn't, or they do not
work properly. Print what is returned by iargc if you type
./fhi2upf
./fhi2upf something
./fhi2upf something else
it should be 0, 1, 2, ..
Paolo
--
Paolo Giannozzi e-mail: giannozz at nest.sns.it
Scuola Normale Superiore Phone: +39/050-509876, Fax:-563513
Piazza dei Cavalieri 7 I-56126 Pisa, Italy
More information about the Pw_forum
mailing list