NetCDF MPI I/O config test fails
Posted: 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.
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.