Page 1 of 1

How I do get .nc output?

Posted: Fri Jan 20, 2017 1:28 pm
by Visum
Hi,
im new in this forum new to abinit and not very used to linux so please be patient ;)

My question refers to abipy. I need .nc output from abinit to do the post processing.
But I dont get the needed output data.
Can anyone tell me why?

Thanks alot
Visum

Re: How I do get .nc output?

Posted: Sun Jan 22, 2017 3:38 pm
by ebousquet
Hi Visum,
This is because you have to link Abinit with Netcdf file format (giving the .nc files) as follows in your configure.ac file (if you made one):

Code: Select all

with_netcdf_incs="-I/netcdf-installation-path/include"
with_netcdf_libs="-L/netcdf-installation-path/lib -lnetcdf -lnetcdff"
with_trio_flavor="netcdf"


where netcdf-installation-path is where Netcdf has been installed on your machine.

If you didn't installed Netcdf please look at the following Wiki page:
https://wiki.abinit.org/doku.php?id=tip ... ing_abinit

All the best,
Eric

Re: How I do get .nc output?

Posted: Thu Oct 17, 2019 4:30 pm
by Abdullah137
Dear Prof. Boustique,

I also have similar problem , abinit doesn't produce nc files ,although I tried many ways to link abinit with netcdf . I am using abinit 8.1.3

the attached link doesn't work https://wiki.abinit.org/doku.php?id=tip ... ing_abinit, it gives the following message 'Permission Denied

Sorry, you don't have enough rights to continue.
'
Thank you very much for any help

with best regards

Re: How I do get .nc output?

Posted: Fri Aug 28, 2020 4:07 am
by liwenkai
Hi Abdullah
I have the same problem, have you fixed it?

Best regards