Hello Elena, Thank you very much for your help, I really appreciate.
mpicc is installed (installed with gcc 4.8.1) and works correctly.
I compiled the code you sent me and ran it with 1 MPI process :
Testing simple C MPIO program with 1 processes accessing file ./mpitest.data
(Filename can be specified via program argument)
Proc 0: hostname=bgqdev-ionode4
Proc 0: all tests passed
Looking at the config.log (attached to this email), I have the following
error messages :
checking for MPI_Init in -lmpich... no
checking prefix for running on one processor...
checking prefix for running in parallel...
checking whether a simple MPI-IO program can be linked... no
But I was able to compile your test with :
mpicc Sample_mpio.c -o Sample_mpio -lmpich
So I do not understand what is wrong with the test done by the configure.
Thank you for your advice,
Cheers,
Bertrand
2013/12/22 Elena Pourmal <[email protected]>
> Hi Bertrand,
>
> Have you checked mpicc installed on your system? I would start
> there. Please try to compile and run the attached program to check if mpicc
> works. If it does, we should probably take a closer look at the config.log
> file created by configure.
>
> It will also help to know on which system you are trying to build HDF5 and
> which version of MPI IO library you are using.
>
> Thank you and good luck!
>
> Elena
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Elena Pourmal The HDF Group http://hdfgroup.org
> 1800 So. Oak St., Suite 203, Champaign IL 61820
> 217.531.6112
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>
>
>
> On Dec 20, 2013, at 4:38 PM, Bertrand B. <[email protected]> wrote:
>
> Hello everybody,
>
> I have a problem installing hdf5 :
>
> checking whether a simple MPI-IO program can be linked... no
> configure: error: unable to link a simple MPI-IO application
>
> but I am using mpicc for the compiler :
>
> How can I fix the problem ?
>
> I read
> http://www.hdfgroup.org/ftp/HDF5/current/src/unpacked/release_docs/INSTALL_parallel
>
> and it says :
>
> he HDF5 Library can be configured to use MPI and MPI-IO for parallelism on
> a distributed multi-processor system. The easiest way to do this is to have
> a properly installed parallel compiler (for example, MPICH's mpicc or
> IBM's mpcc_r) and supply the compiler name as the value of the CC
> environment variable.
>
> which is what I have :
>
>
> echo $CC
> /scinet/bgq/compilers/gcc-4.8.1/mpi/bin/mpicc
>
> Do you have any suggestions ?
>
> Thank you for your help,
>
> Cheers,
>
> Bertrand
>
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> [email protected]
>
> http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
>
>
>
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> [email protected]
>
> http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
>
>
log_configure
Description: Binary data
_______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
