First Compilation

option, parallelism,...

Moderators: fgoudreault, mcote

Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Locked
tpobu
Posts: 1
Joined: Tue Mar 23, 2010 7:19 pm

First Compilation

Post by tpobu » Tue Mar 23, 2010 7:29 pm

I have try to install ABINIT.
1) download, gunzip and untar the latest version of ABINIT
2) configure FC=ifort
3) make

I got the following error:

checking for /home/tpobu/abinit-6.0.2/plugins/netcdf/netcdf.mod... yes
checking for netcdf library... no
LDFLAGS was -L/home/tpobu/abinit-6.0.2/plugins/netcdf
Action: install NetCDF and set the library link path with --with-netcdf-ldflags.
configure: error: "No 'NetCDF' library found."

How do I get "NetCDF" library?
Angelika

Keitel
Posts: 6
Joined: Sun Feb 21, 2010 7:01 pm

Re: First Compilation

Post by Keitel » Sat Mar 27, 2010 1:03 am

Dear Angelika,

Do you have installed "wget" ?
The configure file used that to download the netcdf
library and put it in your "user directory" in a hidden dir
called something like .abinit/tarballs/

If your internet connection fails sometimes,
you could find the link for the library if you search "wget" many times
in the configure file. Then you get this:

http://www.unidata.ucar.edu/downloads/n ... 6.3.tar.gz

and

http://wwwold.abinit.org/plugins/netcdf-3.6.3.tar.gz

and put this to the hidden dir I told you.

I recommed you to check for yourself the netcdf version,
because I got the link from the tar of abinit 5.8.4 version (now is 6.0.2).

Best regards

Keitel

User avatar
pouillon
Posts: 651
Joined: Wed Aug 19, 2009 10:08 am
Location: Spain
Contact:

Re: First Compilation

Post by pouillon » Wed Apr 07, 2010 4:16 pm

The problem probably comes from BigDFT or ETSF_IO. You should try to configure with --disable-bigdft or --disable-etsf-io and see what happens.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

Locked