[MOAB-dev] build error on mcs machines

Hong-Jun Kim hongjun at mcs.anl.gov
Thu Feb 24 10:44:16 CST 2011


./configure --prefix=/homes/hongjun/lib/MOAB-new --with-cgm=/homes/hongjun/lib/CGM --enable-debug --disable-optimize --enable-igeom --enable-imesh --enable-dagmc --without-hdf5 --without-netcdf --with-mpi
----------------------------------------------------------

I am using the configuration as above (with r4526).
But, I have some hdf5 related errors now as follows.
I think "--with-mpi" forces to build hdf5 test file.

Hong-Jun

----------------------------------------------------------
grind:~/source/moab-new> make V=1
make  all-recursive
make[1]: Entering directory `/nfs/mcs-homes138/hongjun/source/moab-new'
Making all in src
make[2]: Entering directory `/nfs/mcs-homes138/hongjun/source/moab-new/src'
make  all-recursive
make[3]: Entering directory `/nfs/mcs-homes138/hongjun/source/moab-new/src'
Making all in parallel
make[4]: Entering directory `/nfs/mcs-homes138/hongjun/source/moab-new/src/parallel'
make  all-am
make[5]: Entering directory `/nfs/mcs-homes138/hongjun/source/moab-new/src/parallel'
make[5]: Leaving directory `/nfs/mcs-homes138/hongjun/source/moab-new/src/parallel'
make[4]: Leaving directory `/nfs/mcs-homes138/hongjun/source/moab-new/src/parallel'
Making all in io
make[4]: Entering directory `/nfs/mcs-homes138/hongjun/source/moab-new/src/io'
Making all in mhdf
make[5]: Entering directory `/nfs/mcs-homes138/hongjun/source/moab-new/src/io/mhdf'
/bin/sh ../../../libtool  --tag=CC   --mode=link mpicc  -Wall -pipe -pedantic -Wno-long-long -g -R/homes/hongjun/lib/CGM/lib        -L/homes/hongjun/lib/CGM/lib  -L/homes/fathom/3rdparty/occ/OpenCASCADE6.3.0/gcc/lib  -o h5minfo info.o libmhdf.la  -lm
libtool: link: mpicc -Wall -pipe -pedantic -Wno-long-long -g -o h5minfo info.o  -L/homes/hongjun/lib/CGM/lib -L/homes/fathom/3rdparty/occ/OpenCASCADE6.3.0/gcc/lib ./.libs/libmhdf.a -lm -Wl,-rpath -Wl,/homes/hongjun/lib/CGM/lib
info.o: In function `main':
/homes/hongjun/source/moab-new/src/io/mhdf/example/info.c:29: undefined reference to `H5open'
/homes/hongjun/source/moab-new/src/io/mhdf/example/info.c:29: undefined reference to `H5T_NATIVE_ULONG_g'
./.libs/libmhdf.a(file-desc.o): In function `get_tag_desc':
/homes/hongjun/source/moab-new/src/io/mhdf/src/file-desc.c:239: undefined reference to `H5open'
/homes/hongjun/source/moab-new/src/io/mhdf/src/file-desc.c:239: undefined reference to `H5T_NATIVE_UCHAR_g'
/homes/hongjun/source/moab-new/src/io/mhdf/src/file-desc.c:313: undefined reference to `H5Tarray_create1'
/homes/hongjun/source/moab-new/src/io/mhdf/src/file-desc.c:242: undefined reference to `H5open'
/homes/hongjun/source/moab-new/src/io/mhdf/src/file-desc.c:242: undefined reference to `H5T_NATIVE_INT_g'


----- Original Message -----
> From: "Jason Kraftcheck" <kraftche at cae.wisc.edu>
> To: "Hong-Jun Kim" <hongjun at mcs.anl.gov>
> Cc: moab-dev at mcs.anl.gov
> Sent: Thursday, February 24, 2011 10:06:29 AM
> Subject: Re: [MOAB-dev] build error on mcs machines
> On 02/24/2011 10:01 AM, Hong-Jun Kim wrote:
> > Our system have 2 different versions of "mpicc/mpicxx" under "/usr"
> > and "/usr/lib/mpich" as follows.
> >
> > I used the following configuration to build MOAB.
> > (--prefix=/homes/hongjun/lib/MOAB-new --with-mpi
> > --with-cgm=/homes/hongjun/lib/CGM --enable-debug
> > --disable-optimize
> > --enable-igeom --enable-imesh --enable-dagmc)
> > So, I think there is no other dependencies built with a different
> > mpicc/mpicxx.
> >
> >
> 
> Does it work if you add "--without-hdf5 --without-netcdf"?
> 
> - jason


More information about the moab-dev mailing list