Page 1 of 1

error NetCDF+abinit-6.2.3 ?!?

Posted: Tue Nov 09, 2010 12:00 pm
by hichem
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.

Re: error NetCDF+abinit-6.2.3 ?!?

Posted: Tue Nov 09, 2010 1:37 pm
by pouillon
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.