Page 1 of 1

Question about mkphbs.F90

Posted: Sun Oct 06, 2013 2:42 pm
by denis
Looks like this code is incorrect copypaste:

Code: Select all

#ifdef HAVE_TRIO_ETSF_IO
 use netcdf
! use etsf_io
#endif

As a result, I have to compile ABINIT with both netcdf and etsf-io even if I don't need etsf-io support. Most likely correct code should be

Code: Select all

#ifdef HAVE_TRIO_NETCDF
 use netcdf
#endif

Re: Question about mkphbs.F90  [SOLVED]

Posted: Sun Oct 06, 2013 4:47 pm
by mverstra
pushed to version 7.5 - will appear in release 7.6

There were 1 or 2 other errors in the same file, and probably tons of others in abinit, which confuses netcdf with etsf-io. Usually this is not a problem: etsf-io implies netcdf, and there are almost no bits of code using netcdf without etsf-io...

Matthieu