NetCDF MPI I/O config test fails

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
neruocomp
Posts: 9
Joined: Wed Sep 07, 2011 8:25 pm

NetCDF MPI I/O config test fails

Post by neruocomp » Wed Sep 07, 2011 9:27 pm

I setup and configured netcdf/hdf5 according to their documentation with mpi for parallel I/O. When ABINIT goes through its configure step, it reports that MPI i/O doesn't work. Checking the config.log shows the following:

configure:28401: checking whether NetCDF supports MPI I/O
configure:28413: /share/apps/openmpi/1.4.3-gcc-4.6.1/bin/mpif90 -m64 -o conftest
-m64 -g -ffree-line-length-none -I/share/apps/netcdf/4.1.1-gcc-4.6.1/include
conftest.F90 -L/share/apps/netcdf/4.1.1-gcc-4.6.1/lib -lnetcdf -L/share/ap
ps/hdf5/1.8.5-gcc-4.6.1//lib -lhdf5_hl -lhdf5 -lz -lm -L/share/apps/openmpi/1.4.3-gcc-4.6.1/lib -L/share/apps/gcc/4.6.1/lib/gcc/x86_64-unknown-linux-gnu/4.6.1 -L/share/apps/gcc/4.6.1/lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/share/apps/gcc/4.6.1/lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../.. -lmpi_f90 -lmpi_f77 -lmpi -lopen-rte -lopen-pal -ldl -lnsl -lutil -lgfortran -lm -lquadmath -lpthread >&5
conftest.F90:6.8:

ncerr = call nf90_open_par(path, cmode, comm, info, ncid)
1
Error: Unclassifiable statement at (1)
configure:28413: $? = 1
configure: failed program was:
| program main
|
| use netcdf
| character(len=*), parameter :: path = "dummy"
| integer :: cmode, comm, info, ncerr, ncid
| ncerr = call nf90_open_par(path, cmode, comm, info, ncid)
|
| end
configure:28420: result: no


Why is this? The error leads me to believe this is some sort of syntax error in the test code.
Personally, I liked the university. They gave us money and facilities, we didn't have to produce anything! You've never been out of college! You don't know what it's like out there! I've worked in the private sector. They expect results. -Ray Ghostbusters

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

Re: NetCDF MPI I/O config test fails

Post by pouillon » Thu Sep 08, 2011 12:46 pm

Abinit does not support parallel I/O with NetCDF yet. Even if the test had worked, it would not have had any effect, since nothing has been implemented so far to benefit from it.

All this is still in a very early development stage. As long as the configure script reports a failure without crashing, you should not bother trying to fix anything.

Parallel I/O with ETSF_IO is also planned, but not in the near future. Your concern might however push towards it. Wait and see ...
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

neruocomp
Posts: 9
Joined: Wed Sep 07, 2011 8:25 pm

Re: NetCDF MPI I/O config test fails

Post by neruocomp » Thu Sep 08, 2011 7:20 pm

So my curiosity was simply jumping the gun. Ok, thanks.
Personally, I liked the university. They gave us money and facilities, we didn't have to produce anything! You've never been out of college! You don't know what it's like out there! I've worked in the private sector. They expect results. -Ray Ghostbusters

Locked