pnetcdf and openmpi 2.0.2?

Mark Dixon m.c.dixon at leeds.ac.uk
Thu Feb 2 09:07:29 CST 2017


On Thu, 2 Feb 2017, Wei-keng Liao wrote:
...
> Could you check whether mpicc/mpicxx/mpif90 are available under the path 
> you specified?
...

Hi Wei-keng,

Ah ha, specifying MPICC and MPICXX makes the C++ error to go away when 
building/testing pnetcdf on an ext4 filesystem - so I have a completely 
successful build there. Thanks :)

But I still get the following test error when building/testing pnetcdf on 
a lustre filesystem (see below) - any ideas why?

Thanks,

Mark

make -w -C cdf_format testing
make[2]: Entering directory `/nobackup/parallel-netcdf-1.8.1/test/cdf_format'
/apps/developers/libraries/openmpi/2.0.2/1/gnu-native/bin/mpicc  -g -O2       -I../../src/lib -I./../common -DHAVE_CONFIG_H  -c test_inq_format.c
/apps/developers/libraries/openmpi/2.0.2/1/gnu-native/bin/mpicc  -g -O2   -o test_inq_format test_inq_format.o  -L../common /nobackup/parallel-netcdf-1.8.1/src/lib/libpnetcdf.a -ltestutils 
/apps/developers/libraries/openmpi/2.0.2/1/gnu-native/bin/mpicc  -g -O2       -I../../src/lib -I./../common -DHAVE_CONFIG_H  -c cdf_type.c
/apps/developers/libraries/openmpi/2.0.2/1/gnu-native/bin/mpicc  -g -O2   -o cdf_type cdf_type.o  -L../common /nobackup/parallel-netcdf-1.8.1/src/lib/libpnetcdf.a -ltestutils 
/apps/developers/libraries/openmpi/2.0.2/1/gnu-native/bin/mpicc  -g -O2       -I../../src/lib -I./../common -DHAVE_CONFIG_H  -c dim_cdf12.c
/apps/developers/libraries/openmpi/2.0.2/1/gnu-native/bin/mpicc  -g -O2   -o dim_cdf12 dim_cdf12.o  -L../common /nobackup/parallel-netcdf-1.8.1/src/lib/libpnetcdf.a -ltestutils 
./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



More information about the parallel-netcdf mailing list