Page 1 of 1
NetCDF Fortran is not WORKING in 9.0.4
Posted: Wed May 27, 2020 6:07 pm
by kila
My netCDF Fortran is built by
build-abinit-fallbacks.sh and I set it's dir by:
Code: Select all
./configure --with-libxc=/home/kila/abinit-9.0.4/fallbacks/install_fb/gnu/9.3/libxc/4.2.3 --with-hdf5=/home/kila/abinit-9.0.4/fallbacks/install_fb/gnu/9.3/hdf5/1.10.6 --with-netcdf=/home/kila/abinit-9.0.4/fallbacks/install_fb/gnu/9.3/netcdf4/4.6.3 --with-netcdf-fortran=/home/kila/abinit-9.0.4/fallbacks/install_fb/gnu/9.3/netcdf4_fortran/4.5.2 --with-linalg=/home/kila/abinit-9.0.4/fallbacks/install_fb/gnu/9.3/linalg/abinit_6.10
One can see that
--with-netcdf-fortran is set to fallbacks directory. And
libnetcdff.a, libnetcdff.la are indeed seen in that dir.
By when I use
./configure there is an error:
Code: Select all
WARNING : NetCDF Fortran is not WORKING !
Please point the config to a working NetCDFF installation
Re: NetCDF Fortran is not WORKING in 9.0.4
Posted: Sun May 31, 2020 4:10 pm
by jbeuken
Hi,
need infos like config.log...
but, perhaps, a problem of depencies ( missing libs )
job
Re: NetCDF Fortran is not WORKING in 9.0.4
Posted: Thu Aug 20, 2020 4:31 am
by Beta_Wong
jbeuken wrote: ↑Sun May 31, 2020 4:10 pm
Hi,
need infos like config.log...
but, perhaps, a problem of depencies ( missing libs )
job
I have the same erro with kila's,this is how I ./configure:
Code: Select all
../configure --with-mpi=/public1/soft/mpich/3.1.4 --with-linalg=/public1/soft/intel/2018/compilers_and_libraries_2018.2.199/linux/mkl --with-hdf5=/public1/home/sc30842/tarballs/hdf5-install --with-libxc=/public1/soft/libxc/4.0.5-icc18 --with-netcdf=/public1/home/sc30842/tarballs/netcdf-install --with-netcdf-fortran=/public1/home/sc30842/tarballs/netcdf-install --prefix=/public1/home/sc30842/abinit-install CC=mpiicc CXX=mpiicpc FC=mpiifort F77=mpiifort
the attachment is my config.log. Any help on this would be appreciated.
Re: NetCDF Fortran is not WORKING in 9.0.4
Posted: Thu Aug 20, 2020 3:51 pm
by jbeuken
Hi,
your configure command reformatted for readability
Code: Select all
CC=mpiicc CXX=mpiicpc FC=mpiifort F77=mpiifort \
../configure \
--with-mpi=/public1/soft/mpich/3.1.4 \
--with-linalg=/public1/soft/intel/2018/compilers_and_libraries_2018.2.199/linux/mkl \
--with-hdf5=/public1/home/sc30842/tarballs/hdf5-install \
--with-libxc=/public1/soft/libxc/4.0.5-icc18 \
--with-netcdf=/public1/home/sc30842/tarballs/netcdf-install \
--with-netcdf-fortran=/public1/home/sc30842/tarballs/netcdf-install \
--prefix=/public1/home/sc30842/abinit-install
I don't understand why you initialize "--with-mpi" with MPICH 3.1.4
when you manifestly have the "Intel® MPI Library" ( FC=mpiifort ) ?
To be sure, pls, the outputs of these cmds :
Code: Select all
mpifort --version
mpifort -show
mpiifort -V
mpiifort -show
concerning netcdf-fortran, can you show the outputs of these cmds :
Code: Select all
nc-config --all
nf-config --all
ls /public1/home/sc30842/tarballs/netcdf-install/lib
can you try with this config.ac file
Code: Select all
FC="mpiifort"
CC="mpiicc"
CXX="mpiicpc"
with_mpi="yes"
enable_mpi_io="yes"
with_linalg_flavor="mkl"
LINALG_CPPFLAGS="-I${MKLROOT}/include"
LINALG_FCFLAGS="-I${MKLROOT}/include"
LINALG_LIBS="-L${MKLROOT}/lib/intel64 -Wl,--start-group -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -Wl,--end-group"
with_fft_flavor="dfti"
with_libxc="/public1/soft/libxc/4.0.5-icc18"
with_hdf5="/public1/home/sc30842/tarballs/hdf5-install "
with_netcdf="/public1/home/sc30842/tarballs/netcdf-install"
with_netcdf_fortran="/public1/home/sc30842/tarballs/netcdf-install"
and execute this command ?
Code: Select all
./configure --with-config-file="./config.ac"