Page 1 of 1

NetCDF MPI I/O config test fails

Posted: Wed Sep 07, 2011 9:27 pm
by neruocomp
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.

Re: NetCDF MPI I/O config test fails

Posted: Thu Sep 08, 2011 12:46 pm
by pouillon
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 ...

Re: NetCDF MPI I/O config test fails

Posted: Thu Sep 08, 2011 7:20 pm
by neruocomp
So my curiosity was simply jumping the gun. Ok, thanks.