How to generate a GSR file

MULTIBINIT, aTDEP, ANADDB, optics, cut3d, mrg* postprocessors

Moderators: MMNSchmitt, gonze

Locked
tohoyn
Posts: 1
Joined: Sat Jun 01, 2019 1:55 pm

How to generate a GSR file

Post by tohoyn » Sat Jun 01, 2019 2:00 pm

Dear all

How can I generate a GSR file for tbase3_5 on page

https://docs.abinit.org/tutorial/base3/

Tommi

User avatar
gmatteo
Posts: 291
Joined: Sun Aug 16, 2009 5:40 pm

Re: How to generate a GSR file

Post by gmatteo » Tue Jun 04, 2019 12:27 pm

The GSR is a netcdf file that is produced automatically by the code at the end of the ground-state calculation
provided one has compiled Abinit with netcdf support.

The easiest way to activate netcdf support consists in using

./configure --with-trio-flavor="netcdf" [OTHER_OPTIONS]

when configuring the package.

The build system will activate the internal netcdf fallbacks if it cannot find the netcdf libs in "standard" locations.
At the end of the compilation, one should have HAVE_NETCDF in the list of CPP options activated in the build

./src/98_main/abinit -b | grep NETCDF
HAVE_MPI_IO HAVE_MPI_TYPE_CREATE_S... HAVE_NETCDF

Other examples of configuration files based on external netcdf libraries can be found at
https://github.com/abinit/abiconfig/tre ... g/clusters

Locked