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

[netCDF #LRX-899920]: Netcdf 4.3.3.1 with MPICH compilation error



Hello Evelina,

The thing that leaps out at me from the pastebin link is the following:

    H5F.c line 604 in H5Fopen(): unable to open file

This suggests to me that there is an error writing the file, somehow.  Can you 
do an 'ls -al c0.nc' so that we can see the permissions and size of the file?

You do not need the '--enable-parallel' flag when running configure; netcdf 
will query libhdf5, after detecting it, to see if libhdf5 supports parallel 
operations.

Finally, can you provide the 'config.log' file generated when you run configure 
for netcdf?  This may provide some additional insight into the issue.

Thanks,

-Ward

> Hi,
> 
> When I try to run the netcdf tests for version 4.3.3.1 I get the following 
> errors:
> http://pastebin.com/hXaw3hnc
> 
> Environment variables for netcdf:  export 
> CC=/opt/lib/mpi/mpich-3.1.4-gcc/bin/mpicc
>   export CFLAGS="-I/opt/lib/mpi/mpich-3.1.4-gcc/include 
> -I/opt/lib/hdf5/hdf5-1.8.14-mpich/include"
>   export LDFLAGS="-L/opt/lib/mpi/mpich-3.1.4-gcc/lib 
> -L/opt/lib/hdf5/hdf5-1.8.14-mpich/lib"
> 
> Configure flags:
>   ./configure --prefix=$INSTALL_DIR --disable-shared --enable-parallel 
> --enable-parallel-tests
> 
> Environment variables for hdf5:  export 
> CC=/opt/lib/mpi/mpich-3.1.4-gcc/bin/mpicc
>   export LDFLAGS=-L/opt/lib/mpi/mpich-3.1.4-gcc/lib
>   export CFLAGS=-I/opt/lib/mpi/mpich-3.1.4-gcc/include
> Configure flags for hdf5
>   ./configure --prefix=$INSTALL_DIR --enable-parallel --disable-shared
> 
> What can the problem be?
> Evelina
> 
> 

Ticket Details
===================
Ticket ID: LRX-899920
Department: Support netCDF
Priority: Normal
Status: Closed