pnetcdf and openmpi 2.0.2?

Wei-keng Liao wkliao at eecs.northwestern.edu
Wed Feb 1 11:17:22 CST 2017


Hi, Mark

OpenMPI 2.0.2 was just released yesterday. You are probably the first person to
use it to build PnetCDF.

It is strange that intelmpi works fine but not openmpi. I just tried 2.0.2 myself
with gcc and the same PnetCDF test program ran without errors.

Coud you send us your "config.log" file? It might reveal some clues.

Wei-keng

On Feb 1, 2017, at 7:04 AM, Mark Dixon wrote:

> Hi,
> 
> I'm having a bit of trouble installing pnetcdf 1.8.1 against openmpi 2.0.2 with the 17.0.1 intel compiler and was wondering if someone could help me, please?
> 
> After successfully building it with:
> 
>  MPIF77=`which mpif90` MPIF90=`which mpif90` ./configure --prefix="$prefix" --with-mpi=$MPI_HOME
>  make
> 
> I'm trying to run tests, but "make check" fails here:
> 
> make[2]: Entering directory `/nobackup/parallel-netcdf-1.8.1/test/cdf_format'
> ./test_inq_format .
> *** TESTING C   test_inq_format for inquiring CDF file formats     ------ pass
> ./cdf_type ./testfile.nc
> *** TESTING C   cdf_type for CDF-5 type in CDF-1 and 2             ------ pass
> ./dim_cdf12 ./testfile.nc
> *** TESTING C   dim_cdf12 for defining dim in CDF-1/2 format       ------ Error at line 96: err=NC_EVARSIZE (NetCDF: One or more variable sizes violate format constraints)
> Error at line 97: err=NC_ENOTNC (NetCDF: Unknown file format)
> Error at line 98: err=NC_EBADID (NetCDF: Not a valid ID)
> Error at line 113: err=NC_EVARSIZE (NetCDF: One or more variable sizes violate format constraints)
> fail with 4 mismatches
> make[2]: *** [testing] Error 2
> make[2]: Leaving directory `/nobackup/parallel-netcdf-1.8.1/test/cdf_format'
> make[1]: *** [check-cdf_format] Error 2
> make[1]: Leaving directory `/nobackup/parallel-netcdf-1.8.1/test'
> make: *** [check] Error 2
> 
> 
> If I try a similiar build against intelmpi 2017.1.132 instead of openmpi, pnetcdf passes all tests.
> 
> Am I doing something dumb, please?
> 
> Cheers,
> 
> Mark



More information about the parallel-netcdf mailing list