[MOAB-dev] build error on mcs machines

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


Yes, I double checked it.

Hong-Jun

----- 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 11:08:34 AM
Subject: Re: [MOAB-dev] build error on mcs machines

On 02/24/2011 10:44 AM, Hong-Jun Kim wrote:
> ./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.
> 

Did you do "make clean"?

- jason


> 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


-- 
"A foolish consistency is the hobgoblin of little minds" - Ralph Waldo Emerson



More information about the moab-dev mailing list