Page 1 of 1
_HIST file
Posted: Mon May 04, 2015 5:24 pm
by Jordan
Dear all,
The _HIST file contains very useful data for MD simulation but lacks some information by itself.
Indeed, without the _OUT.nc file, there is no way to know what kind of atoms are studied and what type of atom each atom is.
I would like to add the ntypat, typat and znucl variables in the _HIST file as well as some other relevant variables for MD like dtion which again is in _OUT.nc rather than in _HIST.
Those data should be written only once at the beginning (when there are actually written in the _OUT.nc).
Of course, those variables would remain in the _OUT.nc file.
Do you have any objection ?
Cheers,
Jordan
Re: _HIST file
Posted: Mon May 04, 2015 7:12 pm
by mverstra
exquisite idea. Go for it!
The file has some overlap with the GSR and other .nc files but serves its own purpose. It is convenient, but incomplete as you mentioned.
ciao!
Re: _HIST file
Posted: Tue May 05, 2015 10:49 am
by gmatteo
Hi Jordan,
I've already implemented this modification in my 7.11 branch but the code must be merged by
Xavier in trunk. Before doing so, however, I have to remove all the calls to the etsf-io library
used to write the data in netcdf format since, as we agreed in Liege, Abinit8 won't rely on etsf-io anymore.
Cheers,
Matteo
Re: _HIST file
Posted: Tue May 05, 2015 11:22 am
by Jordan
Great !
If you need help, we can split the work.
Jordan
Re: _HIST file
Posted: Tue May 05, 2015 11:44 am
by torrent
Matteo, Jordan,
I didn't look at Matteo's modifs (yes, sometimes, I don't spy!) but I suppose you have stored these time-independent data once for all in the HIST file and not at every time step...
Is it the case ?
Also, if we decide to suppress the necessary use of the OUT.nc file, it is important to store in the HIST file all the quantities needed to analyse a trajectory (not only the ones you need now); for instance, the time step dtion.
A good starting point could be APPA to list all these needed quantities; they are not numerous...
Looking at APPA src files, I found the following variables: natom, typat, amu, dtion, znucl
Could you please add these when committing your changes?
A+
Marc
Re: _HIST file
Posted: Tue May 05, 2015 12:38 pm
by gmatteo
didn't look at Matteo's modifs (yes, sometimes, I don't spy!) but I suppose you have stored these time-independent data once for all in the HIST file and not at every time step...
Is it the case ?
Yes
A good starting point could be APPA to list all these needed quantities; they are not numerous...
Looking at APPA src files, I found the following variables: natom, typat, amu, dtion, znucl
Could you please add these when committing your changes?
OK
Re: _HIST file
Posted: Wed May 06, 2015 2:27 pm
by Jordan
torrent wrote:Matteo, Jordan,
Looking at APPA src files, I found the following variables: natom, typat, amu, dtion, znucl
natom is already in the _HIST file ;o)
Ok ok I --->