unable to download plug-ins on Fedora 12 13

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
rundong
Posts: 16
Joined: Thu May 20, 2010 1:52 am

unable to download plug-ins on Fedora 12 13

Post by rundong » Sun Nov 28, 2010 10:09 am

Dear all,
I have come accros the the problem of not being able to download default plug-ins during the the configuration for a intel-i7 980 6 core machine, while this issue did not arise on ubuntu 10.04 or opensuse 11.2 systems for old intel-i7 machines. Any insight will be greatly appreciated in advance.
I have tried both the openmpi-intel and bare gcc-gfortran versions without mpi, and none of them worked.
The following is one of the error messages for NETCDF, while others are similar:

checking for a source tarball of NETCDF... no
configure: downloading NETCDF - this may take a while
checking availability of NETCDF from URL 1... ../configure: line 33160: --timeout=15: command not found
no
checking availability of NETCDF from URL 2... ../configure: line 33170: --timeout=15: command not found
no
configure: WARNING: could not download NETCDF plug-in tarball
configure: WARNING: support for NETCDF plug-in has been disabled
checking whether to enable the NETCDF plug-in... no
checking whether to build the NETCDF plug-in... no


Best regards,
Rundong

User avatar
Alain_Jacques
Posts: 279
Joined: Sat Aug 15, 2009 9:34 pm
Location: Université catholique de Louvain - Belgium

Re: unable to download plug-ins on Fedora 12 13

Post by Alain_Jacques » Sun Nov 28, 2010 1:00 pm

Hello Rundong,

Abinit relies on the wget command to fetch the plugins sources. I have no direct experience with latest Fedora releases but it looks to me that either wget is not installed on your system or your version doesn't understand the --timeout=15 option or configure didn't detect it. Check with a

Code: Select all

which wget
that it is present on your system (its absence would be rather surprising to me, it's a basic Linux utility) and with a

Code: Select all

man wget
that the --timeout option is recognized. After a configure, do a

Code: Select all

grep wget config.log
. It should return something similar to

Code: Select all

configure:9566: checking for wget
configure:9582: found /usr/bin/wget
configure:9593: result: wget
ac_cv_prog_WGET=wget
WGET='wget'
Please report what it does. BTW what version of Abinit do you try to compile? As a temporary "hack", you may copy the content of the $HOME/.abinit/tarballs/ directory from an account that succeeded to download the plugins to the similarly named directory on your Fedora system. Configure won't try to redownload the files if it finds the correct versions in that place.

Kind regards,

Alain

rundong
Posts: 16
Joined: Thu May 20, 2010 1:52 am

Re: unable to download plug-ins on Fedora 12 13

Post by rundong » Sun Nov 28, 2010 1:28 pm

Hi Alain,

This is the 2nd time you have saved my life! It works after wget installed. You got the surprise: wget is not installed by default on fedora, like patch.
Again, thank you so much!

Best regards,
Rundong

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

Re: unable to download plug-ins on Fedora 12 13

Post by pouillon » Sun Nov 28, 2010 4:44 pm

Actually you can use either wget or curl to download the plugins. And I admit I only put very basic tests in configure. On the other hand, the absence of both in Fedora really comes as a surprise to me.

I'll add an explicit warning in the build system, asking people to install at least one of the two.

Thank you for reporting this issue.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

Locked