I have just compiled HDF5 1.8.10 on RHEL Server 5.9. If I compile it with gcc and run the test, "make check", everything is fine. If I compile it using:
CC=/share/apps/opt/intel/impi/4.1.0.024/intel64/bin/mpicc ./configure --prefix=/share/apps/hdf5-impi-intel-64
I get the following errors:
cannot connect to local mpd (/tmp/mpd2.console_ramos); possible causes:
1. no mpd is running on this host
2. an mpd is running but was started without a "console" (-n option)
Command exited with non-zero status 255
0.14user 0.02system 0:00.23elapsed 73%CPU (0avgtext+0avgdata 37520maxresident)k
0inputs+0outputs (0major+5476minor)pagefaults 0swaps
make[4]: *** [t_mpi.chkexe_] Error 1
make[4]: Leaving directory `/users/ramos/hdf5-1.8.10/testpar'
make[3]: *** [build-check-p] Error 1
make[3]: Leaving directory `/users/ramos/hdf5-1.8.10/testpar'
make[2]: *** [test] Error 2
make[2]: Leaving directory `/users/ramos/hdf5-1.8.10/testpar'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/users/ramos/hdf5-1.8.10/testpar'
make: *** [check-recursive] Error 1
HDF5 configure detects you are using a parallel MPI compiler (.../mpicc) and turns on "--enable-parallel"
by default which set RUNPARALLEL to .../mpirun. Your version of mpirun probably needs mpd
to present, thus the failure. (Note: this is an educated guess, not necessary what happened in
your machine.)
If you want to use parallel HDF5, you need to setup your environment to run MPI programs.
You should check with your system administrator how to do that in your machine.
If you don't mean to build parallel HDF5, then don't use mpicc to build HDF5.
But if you want to use mpicc but not to build parallel HDF5, then you should do,
CC=.../mpicc ./configure --disable-parallel ...
Hope this helps.
-Albert Cheng
The HDF Group
···
On 5/1/13 6:03 PM, brown wrap wrote:
I have just compiled HDF5 1.8.10 on RHEL Server 5.9. If I compile it with gcc and run the test, "make check", everything is fine. If I compile it using:
CC=/share/apps/opt/intel/impi/4.1.0.024/intel64/bin/mpicc ./configure --prefix=/share/apps/hdf5-impi-intel-64
I get the following errors:
cannot connect to local mpd (/tmp/mpd2.console_ramos); possible causes:
1. no mpd is running on this host
2. an mpd is running but was started without a "console" (-n option)
Command exited with non-zero status 255
0.14user 0.02system 0:00.23elapsed 73%CPU (0avgtext+0avgdata 37520maxresident)k
0inputs+0outputs (0major+5476minor)pagefaults 0swaps
make[4]: *** [t_mpi.chkexe_] Error 1
make[4]: Leaving directory `/users/ramos/hdf5-1.8.10/testpar'
make[3]: *** [build-check-p] Error 1
make[3]: Leaving directory `/users/ramos/hdf5-1.8.10/testpar'
make[2]: *** [test] Error 2
make[2]: Leaving directory `/users/ramos/hdf5-1.8.10/testpar'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/users/ramos/hdf5-1.8.10/testpar'
make: *** [check-recursive] Error 1
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org