Skip to Content.
Sympa Menu

h5part - [H5part] Compile problem on MacOS X10.4.9

h5part AT lists.psi.ch

Subject: H5Part development and discussion

List archive

[H5part] Compile problem on MacOS X10.4.9


Chronological Thread 
  • From: Tom Treadway <treadway1 AT llnl.gov>
  • To: h5part AT lists.psi.ch
  • Subject: [H5part] Compile problem on MacOS X10.4.9
  • Date: Tue, 10 Jul 2007 17:59:08 -0700
  • List-archive: <https://lists.web.psi.ch/pipermail/h5part/>
  • List-id: H5Part development and discussion <h5part.lists.psi.ch>

Hi,
I was in the process of building H5part for MacOSX but the compile failed,
do you have a patch or update?

What I did:
[2731]$ ./configure CFLAGS="-O2 -fno-common -fexceptions" CXXFLAGS="-O2 -fno-common -fexceptions" --with-hdf5path=/Users/treadway/src/visit-1.6.1/1.6.1/visit/hdf5/1.6.5/i386-apple-darwin8
checking build system type... i686-apple-darwin8.9.1
checking host system type... i686-apple-darwin8.9.1
checking for pathcc... no
checking for icc... no
checking for cc_r... no
checking for gcc... gcc
checking whether we are using the GNU C compiler... no
checking whether gcc accepts -g... no
checking for gcc option to accept ANSI C... none needed
checking for cc_r... no
checking for pathCC... no
checking for icc... no
checking for cc_r... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking dependency style of g++... gcc3
checking for ranlib... ranlib
checking if 64-bit compilation is enabled... no
checking if fortran interface enabled... no
checking if parallel interface enabled... no
checking wheter tools are enabled... no
checking for HDF5 root ...
looking in /Users/treadway/src/visit-1.6.1/1.6.1/visit/hdf5/1.6.5/i386-apple-darwin8 ... found
checking if we need to link to libsz ... no
checking for static zlib root ...
looking in /apps/zlib ... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating tools/Makefile
config.status: creating config.h
config.status: executing depfiles commands


Summary for tread.llnl.gov:

Host OS: darwin8.9.1
Host CPU: i686
Host vendor: apple
Build libraries: libH5Part.a
Build test programs: H5PartTest H5test H5BlockTestAttributes
Build tools:
CC = gcc
CXX = g++
FC =
MPICC =
MPICXX =
MPIFC =
CFLAGS = -O2 -fno-common -fexceptions
FFLAGS =
MPILIB =
MPIINC =
MPIROOT =
HDF5ROOT = /Users/treadway/src/visit-1.6.1/1.6.1/visit/hdf5/1.6.5/i386-apple-darwin8
LDFLAGS =

[2732]$ make
make all-recursive
Making all in doc
make[2]: Nothing to be done for `all'.
Making all in src
gcc -O2 -fno-common -fexceptions -I/Users/treadway/src/visit-1.6.1/1.6.1/visit/hdf5/1.6.5/i386-apple-darwin8/include -I/Users/treadway/src/visit-1.6.1/1.6.1/visit/hdf5/1.6.5/i386-apple-darwin8/include -c H5Part.c
gcc -O2 -fno-common -fexceptions -I/Users/treadway/src/visit-1.6.1/1.6.1/visit/hdf5/1.6.5/i386-apple-darwin8/include -I/Users/treadway/src/visit-1.6.1/1.6.1/visit/hdf5/1.6.5/i386-apple-darwin8/include -c H5Block.c
ar rucs libH5Part.a H5Part.o H5Block.o
Making all in test
g++ -O2 -fno-common -fexceptions -I/Users/treadway/src/visit-1.6.1/1.6.1/visit/hdf5/1.6.5/i386-apple-darwin8/include -I/Users/treadway/src/visit-1.6.1/1.6.1/H5Part-1.3.3/src -DREGRESSIONTEST -g -c H5PartTest.cc
g++ -o H5PartTest H5PartTest.o -lH5Part -L/Users/treadway/src/visit-1.6.1/1.6.1/H5Part-1.3.3/src -lH5Part -L/Users/treadway/src/visit-1.6.1/1.6.1/visit/hdf5/1.6.5/i386-apple-darwin8/lib -lhdf5 -lz -lm
g++ -O2 -fno-common -fexceptions -I/Users/treadway/src/visit-1.6.1/1.6.1/visit/hdf5/1.6.5/i386-apple-darwin8/include -I/Users/treadway/src/visit-1.6.1/1.6.1/H5Part-1.3.3/src -DREGRESSIONTEST -g -c H5test.cc
g++ -o H5test H5test.o -L/Users/treadway/src/visit-1.6.1/1.6.1/H5Part-1.3.3/src -lH5Part -L/Users/treadway/src/visit-1.6.1/1.6.1/H5Part-1.3.3/src -lH5Part -L/Users/treadway/src/visit-1.6.1/1.6.1/visit/hdf5/1.6.5/i386-apple-darwin8/lib -lhdf5 -lz -lm
gcc -O2 -fno-common -fexceptions -I/Users/treadway/src/visit-1.6.1/1.6.1/visit/hdf5/1.6.5/i386-apple-darwin8/include -I/Users/treadway/src/visit-1.6.1/1.6.1/H5Part-1.3.3/src -g -c H5BlockTestAttributes.c
H5BlockTestAttributes.c:10: error: conflicting types for 'MPI_Comm'
/Users/treadway/src/visit-1.6.1/1.6.1/H5Part-1.3.3/src/H5PartTypes.h:18: error: previous declaration of 'MPI_Comm' was here
make[2]: *** [H5BlockTestAttributes.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
[2733]$


trt
--
Thomas R. Treadway
Computer Scientist
Lawrence Livermore Nat'l Lab
7000 East Avenue, L-159
Livermore, CA 94550-0611




Archive powered by MHonArc 2.6.19.

Top of Page