Question about mkphbs.F90  [SOLVED]

Documentation, Web site and code modifications

Moderators: baguetl, routerov

Locked
denis
Posts: 3
Joined: Sun Oct 06, 2013 2:04 pm

Question about mkphbs.F90

Post by denis » Sun Oct 06, 2013 2:42 pm

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

mverstra
Posts: 655
Joined: Wed Aug 19, 2009 12:01 pm

Re: Question about mkphbs.F90  [SOLVED]

Post by mverstra » Sun Oct 06, 2013 4:47 pm

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
Matthieu Verstraete
University of Liege, Belgium

Locked