error NetCDF+abinit-6.2.3 ?!?

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
hichem
Posts: 3
Joined: Sat Jun 05, 2010 10:58 am

error NetCDF+abinit-6.2.3 ?!?

Post by hichem » Tue Nov 09, 2010 12:00 pm

dear all

I want to install abinit 6.2.3 but i get the following error mesage
[
make[1]: entrant dans le répertoire « /home/hichem/abinit-6.2.3 »
Making all in prereqs
make[2]: entrant dans le répertoire « /home/hichem/abinit-6.2.3/prereqs »
make[3]: entrant dans le répertoire « /home/hichem/abinit-6.2.3/prereqs »
make[3]: Rien à faire pour « all-am ».
make[3]: quittant le répertoire « /home/hichem/abinit-6.2.3/prereqs »
make[2]: quittant le répertoire « /home/hichem/abinit-6.2.3/prereqs »
Making all in plugins
make[2]: entrant dans le répertoire « /home/hichem/abinit-6.2.3/plugins »
Making all in etsf_io
make[3]: entrant dans le répertoire « /home/hichem/abinit-6.2.3/plugins/etsf_io »
make -f ../../plugins/etsf_io/etsf_io.mk
make[4]: entrant dans le répertoire « /home/hichem/abinit-6.2.3/plugins/etsf_io »
etsf_io-1.0.3 has been uncompressed.
mkdir tmp
mkdir: ne peut créer le répertoire `tmp': Le fichier existe.
make[4]: [configure-stamp] Erreur 1 (ignorée)
cd etsf_io-1.0.3 && \
F77="gfortran" \
FFLAGS="-g -ffree-line-length-none -O2" \
F90="gfortran" \
F90FLAGS="-g -ffree-line-length-none -O2" \
FC="gfortran" \
FCFLAGS="-g -ffree-line-length-none -O2" \
./configure \
--prefix=/home/hichem/abinit-6.2.3/plugins/etsf_io/tmp \
--with-moduledir=/home/hichem/abinit-6.2.3/plugins/etsf_io/tmp/include \
--with-netcdf-module-path=`echo "" | sed -e "s/-I//"` \
--with-netcdf-ldflags=`echo "" | sed -e "s/-lnetcdf//"` \

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for Fortran compiler default output file name... a.out
checking whether the Fortran compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU Fortran compiler... yes
checking whether gfortran accepts -g... yes
checking for Fortran flag to compile .f90 files... none
checking whether we are using the GNU Fortran compiler... (cached) yes
checking whether gfortran accepts -g... (cached) yes
checking which type of Fortran compiler we have... gcc GNU
checking whether the Fortran compiler accepts exit()... yes
checking whether the Fortran compiler accepts flush()... yes
checking for module extension for compiler 'gcc'... mod
checking for ranlib... ranlib
checking for ar... ar
checking for /netcdf.mod... no
checking for /NETCDF.mod... no
checking for /NETCDF.MOD... no
Action: install NetCDF and set its path with --with-netcdf-module-path.
configure: error: "No 'NetCDF' module found."
make[4]: *** [configure-stamp] Erreur 1
make[4]: quittant le répertoire « /home/hichem/abinit-6.2.3/plugins/etsf_io »
make[3]: *** [package-ready] Erreur 2
make[3]: quittant le répertoire « /home/hichem/abinit-6.2.3/plugins/etsf_io »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/hichem/abinit-6.2.3/plugins »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/hichem/abinit-6.2.3 »
make: *** [all] Erreur 2
]
best regards.

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

Re: error NetCDF+abinit-6.2.3 ?!?

Post by pouillon » Tue Nov 09, 2010 1:37 pm

This is normal. You're trying to recompile a partially compiled Abinit without having run "make clean" before.

If this still does not work, retry to configure with --disable-netcdf --disable-etsf-io.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

Locked