Page 1 of 1

[SOLVED] Error with plugin extraction

Posted: Wed Mar 03, 2010 3:19 am
by megatharun
Dear All,

I try to install but receiveed this message during 'make' command:

make[2]: Leaving directory `/abinit-6.0.1/prereqs'
Making all in plugins
make[2]: Entering directory `/abinit-6.0.1/plugins'
Making all in netcdf
make[3]: Entering directory `/abinit-6.0.1/plugins/netcdf'
make -f ../../plugins/netcdf/netcdf.mk
make[4]: Entering directory `/abinit-6.0.1/plugins/netcdf'
gzip -cd /home/mcstas2/.abinit/tarballs/netcdf-3.6.3.tar.gz | tar xf -

gzip: /home/mcstas2/.abinit/tarballs/netcdf-3.6.3.tar.gz: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
make[4]: *** [uncompress-stamp] Error 2
make[4]: Leaving directory `/abinit-6.0.1/plugins/netcdf'
make[3]: *** [package-ready] Error 2
make[3]: Leaving directory `/abinit-6.0.1/plugins/netcdf'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/abinit-6.0.1/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/abinit-6.0.1'
make: *** [all] Error 2
mcstas2@mcstas2-desktop:/abinit-6.0.1$

We have installed the same version in another computer without any problems.
Is it because of Linux platform. Thanking in advance to anyone who can help.

Sincerely,
Megat Harun

Re: Installation

Posted: Wed Mar 03, 2010 10:50 am
by dcaliste
Abinit download for you some third party libraries, like NetCDF. The download is done at configure time and default location is in $HOME/.abinit.

May be your home is full and the download was not complete ? Or maybe the download failed for some network reasons but the configure didn't catch the error ?

Anyway, erase the NetCDF tar.gz file in .abinit subdir, reconfigure and make again.

Re: Installation

Posted: Tue May 11, 2010 8:38 am
by megatharun
Thanks a lot dcaliste,
Yes, I think it's network problem. The one we successfully installed was at my home computer
and the one we can't install was at my workplace.

Re: Installation

Posted: Wed May 12, 2010 12:28 pm
by dcaliste
In case your machine at work has no Internet connexion, you can still manually copy the following files (for ABINIT 6.0.x) in your .abinit/tarballs directory:
    bigdft-1.2.0.2.tar.gz
    etsf_io-1.0.2.tar.gz
    libxc-svn-r6071-fixed.tar.gz
    netcdf-3.6.3.tar.gz
    wannier90-1.1.tar.gz
And run configure again.