pnetcdf and openmpi 2.0.2?
Wei-keng Liao
wkliao at eecs.northwestern.edu
Thu Feb 2 09:38:54 CST 2017
Could you send me the file config.log from using openmpi 2.0.2 with the 17.0.1 intel compilers?
Could you also try the followings?
1. rebuild PnetCDF by adding "–enable-debug" option on the command line
2. set environment variable PNETCDF_VERBOSE_DEBUG_MODE to 1
3. cd test/cdf_format and run commands: make dim_cdf12 ; ./dim_cdf12
These should print the internal locations that generate the error code NC_EVARSIZE.
(Please do not run other test programs with that env variable set, as it will
spew lots of debugging messages.)
Wei-keng
On Feb 2, 2017, at 9:07 AM, Mark Dixon wrote:
> 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