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

[netCDF #NQX-166491]: NetCDF Build Failure: Segmentation Fault



Hello,

When you run configure, try passing `--disable-dap-remote-tests` as an 
argument; we've had some changes on our test server, and they may be causing 
the issue.  When you do this, please compile and run `make check` and let me 
know if the issue with the segmentation fault persists.  Thanks!

-Ward

> Hello;
> 
> I am attempting to build NetCDF on one of my department's machines, but I
> am repeatedly running into a segmentation fault. As a result, I am
> contacting this email as instructed by make check.
> 
> I am attempting to build NetCDF version 4.7.3 on a CentOS 6.10 machine. I
> am using HDF5 version 1.10.6 built by GCC version 9.2, both in a
> non-standard locations with environment modules. I have included my
> test-suite.log file as an attachment, and the configuration summary in
> configure-summary.txt as well. I have included my steps in attempting to
> build NetCDF below in blue text.
> 
> Thank you for your time,
> --
> Sawyer Watts
> Student Software Administrator
> Research Computing
> Office of Information Technology
> Portand State University
> 
> 
> $ module load hdf5/1.10.6/gcc-9.2.0 # Which loads gcc-9.2.0 as well.
> $
> $ # Without these, configure has issues finding HDF5.
> $ export CFLAGS='-I/vol/apps/stow/hdf5/1.10.6/gcc-9.2.0/lib/
> -I/vol/apps/stow/hdf5/1.10.6/gcc-9.2.0/include/ -O3'
> $ export CPPFLAGS='-I/vol/apps/stow/hdf5/1.10.6/gcc-9.2.0/lib/
> -I/vol/apps/stow/hdf5/1.10.6/gcc-9.2.0/include/ -O3'
> $ export LDFLAGS='-L/vol/apps/stow/hdf5/1.10.6/gcc-9.2.0/lib
> -L/vol/apps/stow/hdf5/1.10.6/gcc-9.2.0/include/'
> $
> $ ./configure --prefix=/vol/apps/test/netcdf/4.7.3/gcc-9.2.0 --enable-shared
> $ make
> $ make check
> 
> 


Ticket Details
===================
Ticket ID: NQX-166491
Department: Support netCDF
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.