Skip to Content.
Sympa Menu

h5part - [H5part] h5part 1.3.1 build problems

h5part AT lists.psi.ch

Subject: H5Part development and discussion

List archive

[H5part] h5part 1.3.1 build problems


Chronological Thread 
  • From: Wes Bethel <ewbethel AT lbl.gov>
  • To: h5part AT lists.psi.ch
  • Subject: [H5part] h5part 1.3.1 build problems
  • Date: Wed, 18 Apr 2007 08:48:38 -0700
  • List-archive: <https://lists.web.psi.ch/pipermail/h5part/>
  • List-id: H5Part development and discussion <h5part.lists.psi.ch>
  • Organization: Lawrence Berkeley National Laboratory

Kurt kindly put a tarball in a location accessible to me pending
resolution of the "how does a normal Joe User gain access to the SVN
repository at PSI" problem:
http://vis.lbl.gov/Research/AcceleratorSAPP/Downloading.html

When attempting to build it, I ran into some snags.

1. There is no longer a configure file included in the tarball. The
README needs to be updated to reflect that you must first run
autogen.sh, which will produce a configure file.

2. Outright build failure of the homdynToH5p utility:

mpiCC -DPARALLEL_IO -DH5_HAVE_PARALLEL -DMPICH_IGNORE_CXX_SEEK
-I/usr/local/hdf5-mpich/include -I/home/tmp/H5Part-1.3.1/src -g -c
homdynToH5p.cc
cc1plus: warning: -fhandle-exceptions has been renamed -fexceptions (and
is now on by default)
/usr/local/mpich/include/mpi2c++/mpi2c++_map.h:36: error: template with
C linkage
/usr/local/mpich/include/mpi2c++/functions.h:70: error: declaration of C
function ‘void PMPI::Init()’ conflicts with
/usr/local/mpich/include/mpi2c++/functions.h:67: error: previous
declaration ‘void PMPI::Init(int&, char**&)’ here
/usr/local/mpich/include/mpi2c++/functions.h:70: error: declaration of C
function ‘void MPI::Init()’ conflicts with
/usr/local/mpich/include/mpi2c++/functions.h:67: error: previous
declaration ‘void MPI::Init(int&, char**&)’ here
/usr/local/mpich/include/mpi2c++/functions_inln.h:105: error: ‘void
PMPI::Init(int&, char**&)’ should have been declared inside ‘PMPI’
/usr/local/mpich/include/mpi2c++/functions_inln.h: In function ‘void
PMPI::Init(int&, char**&)’:
/usr/local/mpich/include/mpi2c++/functions_inln.h:105: error:
declaration of C function ‘void PMPI::Init(int&, char**&)’ conflicts with
/usr/local/mpich/include/mpi2c++/functions.h:70: error: previous
declaration ‘void PMPI::Init()’ here
/usr/local/mpich/include/mpi2c++/functions_inln.h: At global scope:
/usr/local/mpich/include/mpi2c++/functions_inln.h:112: error: ‘void
PMPI::Init()’ should have been declared inside ‘PMPI’
/usr/local/mpich/include/mpi2c++/functions_inln.h: In function ‘void
PMPI::Init()’:
/usr/local/mpich/include/mpi2c++/functions_inln.h:112: error:
declaration of C function ‘void PMPI::Init()’ conflicts with
/usr/local/mpich/include/mpi2c++/functions_inln.h:105: error: previous
declaration ‘void PMPI::Init(int&, char**&)’ here
make[2]: *** [homdynToH5p.o] Error 1.

Using these configure options:
./configure --prefix=/usr/local/h5part-mpich --enable-parallel
--enable-tools --with-mpipath=/usr/local/mpich
--with-hdf5path=/usr/local/hdf5-mpich CC=mpicc CXX=mpiCC

My temporary workaround is to excise references to homdynToH5p from the
tools/Makefile.

tx,
wes



--
Wes Bethel -- voice (510) 486-7353 -- fax (510) 486-5812 -- vis.lbl.gov




Archive powered by MHonArc 2.6.19.

Top of Page