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

[netCDF #LRX-899920]: Netcdf 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 

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



> Hi,
> When I try to run the netcdf tests for version 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

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.