configure on mac os x with mpi + cxx

Hi,

I am trying to do a relative simply thing: Build HDF5 1.8.6 with MPI-I/O support plus C bindings on Mac OS X Snow Leopard.

I am using Macports to get all the compilers, mpich, etc.

But every time I used --enable-cxx with --enable-parallel or passing the MPI wrapper scripts via the environment variables (CC, CXX, or FC). I get this error from
configure:

configure: error: --enable-cxx and --enable-parallel flags are incompatible

I have managed to install HDF5 with MPI-I/O and the C bindings, it just C++ that
is being troublesome. Perhaps configure is the problem.

Nichols A. Romero, Ph.D.
Argonne Leadership Computing Facility
Argonne National Laboratory
Building 240 Room 2-127
9700 South Cass Avenue
Argonne, IL 60490
(630) 252-3441

Hi Nichols,

Hi,

I am trying to do a relative simply thing: Build HDF5 1.8.6 with MPI-I/O
support plus C bindings on Mac OS X Snow Leopard.

I am using Macports to get all the compilers, mpich, etc.

But every time I used --enable-cxx with --enable-parallel or passing the
MPI wrapper scripts via the environment variables (CC, CXX, or FC). I get
this error from
configure:

configure: error: --enable-cxx and --enable-parallel flags are incompatible

That is because parallel is not supported in the C++ API. These two flags
cannot be specified together. Are you trying to use the C++ API? If not,
you don't need to specify --enable-cxx.

Binh-Minh

···

-----Original Message-----

I have managed to install HDF5 with MPI-I/O and the C bindings, it just C++
that
is being troublesome. Perhaps configure is the problem.

Nichols A. Romero, Ph.D.
Argonne Leadership Computing Facility
Argonne National Laboratory
Building 240 Room 2-127
9700 South Cass Avenue
Argonne, IL 60490
(630) 252-3441

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

--
Internal Virus Database is out-of-date.
Checked by AVG.
Version: 7.5.549 / Virus Database: 270.9.0/1778 - Release Date: 11/9/2008
2:14 PM

Binh-Minh,

I did not know that. So if you want MPI-I/O support in C++ you need to create
a wrapper for the C.

Nichols A. Romero, Ph.D.
Argonne Leadership Computing Facility
Argonne National Laboratory
Building 240 Room 2-127
9700 South Cass Avenue
Argonne, IL 60490
(630) 252-3441

···

----- Original Message -----
From: "Binh-Minh Ribler" <bmribler@hdfgroup.org>
To: "HDF Users Discussion List" <hdf-forum@hdfgroup.org>
Sent: Friday, May 6, 2011 7:09:40 PM
Subject: Re: [Hdf-forum] configure on mac os x with mpi + cxx

Hi Nichols,

-----Original Message-----

Hi,

I am trying to do a relative simply thing: Build HDF5 1.8.6 with MPI-I/O
support plus C bindings on Mac OS X Snow Leopard.

I am using Macports to get all the compilers, mpich, etc.

But every time I used --enable-cxx with --enable-parallel or passing the
MPI wrapper scripts via the environment variables (CC, CXX, or FC). I get
this error from
configure:

configure: error: --enable-cxx and --enable-parallel flags are incompatible

That is because parallel is not supported in the C++ API. These two flags
cannot be specified together. Are you trying to use the C++ API? If not,
you don't need to specify --enable-cxx.

Binh-Minh

I have managed to install HDF5 with MPI-I/O and the C bindings, it just C++
that
is being troublesome. Perhaps configure is the problem.

Nichols A. Romero, Ph.D.
Argonne Leadership Computing Facility
Argonne National Laboratory
Building 240 Room 2-127
9700 South Cass Avenue
Argonne, IL 60490
(630) 252-3441

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

--
Internal Virus Database is out-of-date.
Checked by AVG.
Version: 7.5.549 / Virus Database: 270.9.0/1778 - Release Date: 11/9/2008
2:14 PM

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org