Tests failure when building on i686

Wei-keng Liao wkliao at eecs.northwestern.edu
Tue Jun 20 10:07:16 CDT 2017


Hi, Bruno

Could you also make file "config.log" for these builds available?
I will take a look.

Wei-keng

On Jun 20, 2017, at 6:16 AM, Bruno Pagani wrote:

> Hi there,
> 
> Me again, still packaging for ArchLinux. When trying to build for i686,
> whether I’m using OpenMPI 1.10.6 or OpenMPI 2.1, tests are failing with
> what seems to be an issue with the size of some type. Log below:
> 
> make  -C test testing
> make[1]: Entering directory
> '/build/parallel-netcdf-openmpi/src/parallel-netcdf-1.8.1/test'
> make -w -C common testing
> make[2]: Entering directory
> '/build/parallel-netcdf-openmpi/src/parallel-netcdf-1.8.1/test/common'
> /usr/bin/mpicc  -march=i686 -mtune=generic -O2 -pipe
> -fstack-protector-strong       -I../../src/lib -DHAVE_CONFIG_H
> -D_FORTIFY_SOURCE=2 -fPIC -c testutils.c
> /usr/bin/mpif90  -I../../src/lib   -g -O2   -c testutilsf.F90
> ar cru libtestutils.a testutils.o testutilsf.o
> ar: `u' modifier ignored since `D' is the default (see `U')
> make[2]: Leaving directory
> '/build/parallel-netcdf-openmpi/src/parallel-netcdf-1.8.1/test/common'
> make -w -C nc_test testing
> make[2]: Entering directory
> '/build/parallel-netcdf-openmpi/src/parallel-netcdf-1.8.1/test/nc_test'
> m4 -I/build/parallel-netcdf-openmpi/src/parallel-netcdf-1.8.1/scripts
> -DPNETCDF tests.h.m4 >tests.h
> /usr/bin/mpicc  -march=i686 -mtune=generic -O2 -pipe
> -fstack-protector-strong       -I. -I../../src/lib -I. -I./../common
> -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -fPIC -c nc_test.c
> /usr/bin/mpicc  -march=i686 -mtune=generic -O2 -pipe
> -fstack-protector-strong       -I. -I../../src/lib -I. -I./../common
> -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -fPIC -c error.c
> /usr/bin/mpicc  -march=i686 -mtune=generic -O2 -pipe
> -fstack-protector-strong       -I. -I../../src/lib -I. -I./../common
> -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -fPIC -c util.c
> m4 -I/build/parallel-netcdf-openmpi/src/parallel-netcdf-1.8.1/scripts
> -DPNETCDF test_get.m4 >test_get.c
> /usr/bin/mpicc  -march=i686 -mtune=generic -O2 -pipe
> -fstack-protector-strong       -I. -I../../src/lib -I. -I./../common
> -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -fPIC -c test_get.c
> m4 -I/build/parallel-netcdf-openmpi/src/parallel-netcdf-1.8.1/scripts
> -DPNETCDF test_put.m4 >test_put.c
> /usr/bin/mpicc  -march=i686 -mtune=generic -O2 -pipe
> -fstack-protector-strong       -I. -I../../src/lib -I. -I./../common
> -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -fPIC -c test_put.c
> m4 -I/build/parallel-netcdf-openmpi/src/parallel-netcdf-1.8.1/scripts
> -DPNETCDF test_iget.m4 >test_iget.c
> /usr/bin/mpicc  -march=i686 -mtune=generic -O2 -pipe
> -fstack-protector-strong       -I. -I../../src/lib -I. -I./../common
> -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -fPIC -c test_iget.c
> m4 -I/build/parallel-netcdf-openmpi/src/parallel-netcdf-1.8.1/scripts
> -DPNETCDF test_iput.m4 >test_iput.c
> /usr/bin/mpicc  -march=i686 -mtune=generic -O2 -pipe
> -fstack-protector-strong       -I. -I../../src/lib -I. -I./../common
> -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -fPIC -c test_iput.c
> m4 -I/build/parallel-netcdf-openmpi/src/parallel-netcdf-1.8.1/scripts
> -DPNETCDF test_read.m4 >test_read.c
> /usr/bin/mpicc  -march=i686 -mtune=generic -O2 -pipe
> -fstack-protector-strong       -I. -I../../src/lib -I. -I./../common
> -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -fPIC -c test_read.c
> m4 -I/build/parallel-netcdf-openmpi/src/parallel-netcdf-1.8.1/scripts
> -DPNETCDF test_write.m4 >test_write.c
> /usr/bin/mpicc  -march=i686 -mtune=generic -O2 -pipe
> -fstack-protector-strong       -I. -I../../src/lib -I. -I./../common
> -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -fPIC -c test_write.c
> /usr/bin/mpicc  -march=i686 -mtune=generic -O2 -pipe
> -fstack-protector-strong   -o nc_test nc_test.o error.o util.o
> test_get.o test_put.o test_iget.o test_iput.o test_read.o test_write.o
> -L../common -Wl,-O1,--sort-common,--as-needed,-z,relro
> /build/parallel-netcdf-openmpi/src/parallel-netcdf-1.8.1/src/lib/libpnetcdf.a
> -ltestutils  -lm
> /usr/bin/mpicc  -march=i686 -mtune=generic -O2 -pipe
> -fstack-protector-strong       -I. -I../../src/lib -I. -I./../common
> -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -fPIC -c t_nc.c
> /usr/bin/mpicc  -march=i686 -mtune=generic -O2 -pipe
> -fstack-protector-strong   -o t_nc t_nc.o -L../common
> -Wl,-O1,--sort-common,--as-needed,-z,relro
> /build/parallel-netcdf-openmpi/src/parallel-netcdf-1.8.1/src/lib/libpnetcdf.a
> -ltestutils  -lm
> /usr/bin/mpicc  -march=i686 -mtune=generic -O2 -pipe
> -fstack-protector-strong       -I. -I../../src/lib -I. -I./../common
> -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -fPIC -c tst_misc.c
> /usr/bin/mpicc  -march=i686 -mtune=generic -O2 -pipe
> -fstack-protector-strong   -o tst_misc tst_misc.o -L../common
> -Wl,-O1,--sort-common,--as-needed,-z,relro
> /build/parallel-netcdf-openmpi/src/parallel-netcdf-1.8.1/src/lib/libpnetcdf.a
> -ltestutils  -lm
> /usr/bin/mpicc  -march=i686 -mtune=generic -O2 -pipe
> -fstack-protector-strong       -I. -I../../src/lib -I. -I./../common
> -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -fPIC -c tst_norm.c
> /usr/bin/mpicc  -march=i686 -mtune=generic -O2 -pipe
> -fstack-protector-strong   -o tst_norm tst_norm.o -L../common
> -Wl,-O1,--sort-common,--as-needed,-z,relro
> /build/parallel-netcdf-openmpi/src/parallel-netcdf-1.8.1/src/lib/libpnetcdf.a
> -ltestutils  -lm
> /usr/bin/mpicc  -march=i686 -mtune=generic -O2 -pipe
> -fstack-protector-strong       -I. -I../../src/lib -I. -I./../common
> -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -fPIC -c tst_small.c
> /usr/bin/mpicc  -march=i686 -mtune=generic -O2 -pipe
> -fstack-protector-strong   -o tst_small tst_small.o -L../common
> -Wl,-O1,--sort-common,--as-needed,-z,relro
> /build/parallel-netcdf-openmpi/src/parallel-netcdf-1.8.1/src/lib/libpnetcdf.a
> -ltestutils  -lm
> /usr/bin/mpicc  -march=i686 -mtune=generic -O2 -pipe
> -fstack-protector-strong       -I. -I../../src/lib -I. -I./../common
> -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -fPIC -c tst_names.c
> /usr/bin/mpicc  -march=i686 -mtune=generic -O2 -pipe
> -fstack-protector-strong   -o tst_names tst_names.o -L../common
> -Wl,-O1,--sort-common,--as-needed,-z,relro
> /build/parallel-netcdf-openmpi/src/parallel-netcdf-1.8.1/src/lib/libpnetcdf.a
> -ltestutils  -lm
> /usr/bin/mpicc  -march=i686 -mtune=generic -O2 -pipe
> -fstack-protector-strong       -I. -I../../src/lib -I. -I./../common
> -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -fPIC -c tst_atts3.c
> /usr/bin/mpicc  -march=i686 -mtune=generic -O2 -pipe
> -fstack-protector-strong   -o tst_atts3 tst_atts3.o -L../common
> -Wl,-O1,--sort-common,--as-needed,-z,relro
> /build/parallel-netcdf-openmpi/src/parallel-netcdf-1.8.1/src/lib/libpnetcdf.a
> -ltestutils  -lm
> /usr/bin/mpicc  -march=i686 -mtune=generic -O2 -pipe
> -fstack-protector-strong       -I. -I../../src/lib -I. -I./../common
> -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -fPIC -c tst_atts.c
> /usr/bin/mpicc  -march=i686 -mtune=generic -O2 -pipe
> -fstack-protector-strong   -o tst_atts tst_atts.o -L../common
> -Wl,-O1,--sort-common,--as-needed,-z,relro
> /build/parallel-netcdf-openmpi/src/parallel-netcdf-1.8.1/src/lib/libpnetcdf.a
> -ltestutils  -lm
> /usr/bin/mpicc  -march=i686 -mtune=generic -O2 -pipe
> -fstack-protector-strong       -I. -I../../src/lib -I. -I./../common
> -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -fPIC -c tst_nofill.c
> /usr/bin/mpicc  -march=i686 -mtune=generic -O2 -pipe
> -fstack-protector-strong   -o tst_nofill tst_nofill.o -L../common
> -Wl,-O1,--sort-common,--as-needed,-z,relro
> /build/parallel-netcdf-openmpi/src/parallel-netcdf-1.8.1/src/lib/libpnetcdf.a
> -ltestutils  -lm
> rm -f ./scratch.nc
> rm -f ./testfile.nc
> rm -f ./tooth-fairy.nc
> ./nc_test -c    -d .
> ./nc_test -d       .
> *** TESTING C   nc_test for format CDF-1                          
> ------ MPI error (MPI_File_delete) : MPI_ERR_IO: input/output error
> pass
> ./nc_test -c -2 -d .
> 
>        FAILURE at line 842 of write_file in util.c: ncmpi_create: Size
> of MPI_Offset or MPI_Aint too small for requested format
>        FAILURE at line 718 of def_dims in util.c: ncmpi_def_dim:
> NetCDF: Not a valid ID
>        FAILURE at line 718 of def_dims in util.c: ncmpi_def_dim:
> NetCDF: Not a valid ID
>        FAILURE at line 718 of def_dims in util.c: ncmpi_def_dim:
> NetCDF: Not a valid ID
>        FAILURE at line 718 of def_dims in util.c: ncmpi_def_dim:
> NetCDF: Not a valid ID
>        FAILURE at line 718 of def_dims in util.c: ncmpi_def_dim:
> NetCDF: Not a valid ID
>        FAILURE at line 732 of def_vars in util.c: ncmpi_def_var:
> NetCDF: Not a valid ID
>        FAILURE at line 732 of def_vars in util.c: ncmpi_def_var:
> NetCDF: Not a valid ID./nc_test -2 -d    .
> 
>        FAILURE at line 180 of test_ncmpi_open in test_read.c: create:
> Size of MPI_Offset or MPI_Aint too small for requested format
>        FAILURE at line 185 of test_ncmpi_open in test_read.c: open: The
> specified netCDF file does not exist.
>        FAILURE at line 192 of test_ncmpi_open in test_read.c: remove of
> ./scratch.nc failed
>        ### 3 FAILURES TESTING test_ncmpi_open! Stop ... ###
> 
> ./nc_test: expects 0 failures ... *** TESTING C   nc_test for format
> CDF-2                           ------ MPI error (MPI_File_delete) :
> MPI_ERR_IO: input/output error
> fail with 3 mismatches
> make[2]: *** [Makefile:98: testing] Error 1
> make[2]: Leaving directory
> '/build/parallel-netcdf-openmpi/src/parallel-netcdf-1.8.1/test/nc_test'
> make[1]: *** [Makefile:62: check-nc_test] Error 2
> make[1]: Leaving directory
> '/build/parallel-netcdf-openmpi/src/parallel-netcdf-1.8.1/test'
> make: *** [Makefile:82: check] Error 2
> 
> Thanks for taking a look at this,
> Bruno
> 



More information about the parallel-netcdf mailing list