[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #TFO-412535]: "make check" failures with NetCDF (C) 4.4.0?



Hi Carl,

We're seeing this failure in other places, and I'm trying to nail down where 
it's coming from.  The build system *should* be copying over a file, `ctest.c` 
from `ref_ctest.c` in the `ncdump` directory, but this isn't happening.  While 
I get this figured out, you should be able to just copy the file over manually 
and get past this error.

My apologies!

-Ward

> I built NetCDF using the PGI 16.1 compiler, and got these failures from
> themake check:
> 
> /bin/sh ../libtool  --tag=CC   --mode=link
> /shared/apps/centos-6.6_SB/OpenMPI/1.10.2/PGI-16.1_CUDA-7.5_HWLoc-1.11.2_NUMACtl-2.0.9/bin/mpicc
> -fPIC -m64 -tp=px
> -L/shared/apps/centos-6.6_SB/PNetCDF/1.6.1/OpenMPI-1.10.2_PGI-16.1_CUDA-7.5/lib
> -L/shared/apps/centos-6.6_SB/HDF5/1.8.16/PGI-16.1_SZip-2.1_ZLib-1.2.8_OpenMPI-1.10.2_CUDA-7.5_HWLoc-1.11.2_NUMACtl-2.0.9/lib
> -L/shared/apps/centos-6.6_SB/SZip/2.1/PGI-16.1/lib -o ctest ctest.o
> ../liblib/libnetcdf.la -lpnetcdf -lsz -lhdf5_hl -lhdf5 -ldl -lm -lz
> -lcurl
> libtool: link:
> /shared/apps/centos-6.6_SB/OpenMPI/1.10.2/PGI-16.1_CUDA-7.5_HWLoc-1.11.2_NUMACtl-2.0.9/bin/mpicc
> -fPIC -m64 -tp=px -o .libs/ctest ctest.o
> -L/shared/apps/centos-6.6_SB/PNetCDF/1.6.1/OpenMPI-1.10.2_PGI-16.1_CUDA-7.5/lib
> -L/shared/apps/centos-6.6_SB/HDF5/1.8.16/PGI-16.1_SZip-2.1_ZLib-1.2.8_OpenMPI-1.10.2_CUDA-7.5_HWLoc-1.11.2_NUMACtl-2.0.9/lib
> -L/shared/apps/centos-6.6_SB/SZip/2.1/PGI-16.1/lib
> ../liblib/.libs/libnetcdf.so -lpnetcdf
> /shared/apps/centos-6.6_SB/SZip/2.1/PGI-16.1/lib/libsz.so
> /shared/apps/centos-6.6_SB/HDF5/1.8.16/PGI-16.1_SZip-2.1_ZLib-1.2.8_OpenMPI-1.10.2_CUDA-7.5_HWLoc-1.11.2_NUMACtl-2.0.9/lib/libhdf5_hl.so
> /shared/apps/centos-6.6_SB/HDF5/1.8.16/PGI-16.1_SZip-2.1_ZLib-1.2.8_OpenMPI-1.10.2_CUDA-7.5_HWLoc-1.11.2_NUMACtl-2.0.9/lib/libhdf5.so
> -ldl -lm -lz -lcurl -Wl,-rpath
> -Wl,/shared/apps/centos-6.6_SB/NetCDF-C/4.4.0/PGI-16.1_HDF5-1.8.16_OpenMPI-1.10.2_CUDA-7.5/lib
> -Wl,-rpath -Wl,/shared/apps/centos-6.6_SB/SZip/2.1/PGI-16.1/lib
> -Wl,-rpath
> -Wl,/shared/apps/centos-6.6_SB/HDF5/1.8.16/PGI-16.1_SZip-2.1_ZLib-1.2.8_OpenMPI-1.10.2_CUDA-7.5_HWLoc-1.11.2_NUMACtl-2.0.9/lib
> */usr/lib64/crt1.o: In function `_start':*
> *(.text+0x20): undefined reference to `main'*
> *make[5]: [ctest] Error 2 (ignored)*
> *FAIL: ctest*
> PASS: ctest64
> *FAIL: tst_output.sh*
> PASS: tst_lengths.sh
> PASS: tst_calendars.sh
> PASS: tst_utf8
> PASS: run_utf8_tests.sh
> *FAIL: tst_nccopy3.sh*
> 
> These failures didn't happen when I built the 4.3.3.1 release. One thing
> I see is that these files
> 
> -rw-r--r-- 1 cponder nvidia 4828 Jan  9 14:33
> 4.3.3.1/PGI-16.1.alpha_HDF5-1.8.16_OpenMPI-1.10.1_CUDA-7.5/distro/ncdump/ctest0.nc
> -rw-r--r-- 1 cponder nvidia 5132 Jan  9 14:33
> 4.3.3.1/PGI-16.1.alpha_HDF5-1.8.16_OpenMPI-1.10.1_CUDA-7.5/distro/ncdump/c0tmp.nc
> 
> were created in my build with the 4.3.3.1 release but not with the 4.4.0
> release.
> 
> I don't see them in the tar-file, so I assume they were generated
> somewhere along the line.
> 
> Were these tests removed from the 4.4.0 release? Or are there any logs I
> can send you?
> 
> Thanks,
> 
> Carl Ponder
> 
> 
> -----------------------------------------------------------------------------------
> This email message is for the sole use of the intended recipient(s) and may 
> contain
> confidential information.  Any unauthorized review, use, disclosure or 
> distribution
> is prohibited.  If you are not the intended recipient, please contact the 
> sender by
> reply email and destroy all copies of the original message.
> -----------------------------------------------------------------------------------
> 
> 


Ticket Details
===================
Ticket ID: TFO-412535
Department: Support netCDF
Priority: Normal
Status: Closed