[MOAB-dev] strange compile errors

Iulian Grindeanu iulian at mcs.anl.gov
Thu Feb 17 12:17:17 CST 2011


Hmmm, 
I am pretty sure it compiled yesterday, and I used the same configuration.
The system at Argonne is pretty unstable now, there could be other issues.

On my laptop, everything compiles fine now, thanks Jim for reverting iMesh.h
(I still have some issues with Cubit 12.2, cannot get surface type for Camal test).

Thanks,
Iulian


----- Original Message -----
> This has to do with the --enable-shared in the first configure and not
> the second. It appears that the hdf5 libs under
> /home/fathom weren't compiled shared.
> 
> - tim
> 
> On 02/17/2011 10:05 AM, Iulian Grindeanu wrote:
> > On Argonne machines, I am seeing some errors that I do not
> > understand (and did not see yesterday).
> > Does anybody know what is going on?
> >
> > configuring with:
> >   ./configure --prefix=/home/iulian/lib/serial/moab
> >   --with-cgm=/home/iulian/lib/serial/cg
> > m
> > --with-netcdf=/homes/fathom/3rdparty/netcdf/netcdf-4.0.1/serial/gcc
> > --with-hdf5=/homes
> > /fathom/3rdparty/hdf5/hdf5-1.8.3/serial/gcc
> > --with-zlib=/homes/fathom/3rdparty/zlib/zlib
> > -1.2.4/gcc --with-szip=/homes/fathom/3rdparty/szip/szip-2.1/gcc
> > --enable-debug --enable-
> > imesh --enable-shared
> >
> > I get this error:
> >
> > make[4]: Entering directory
> > `/nfs/mcs-homes129/iulian/serial/MOAB/src'
> >    CXXLD libMOAB.la
> > /usr/bin/ld:
> > /homes/fathom/3rdparty/hdf5/hdf5-1.8.3/serial/gcc/lib/libhdf5.a(H5.o):
> > relocation R_X86_64_32 against `H5_debug_g' can not be used when
> > making a shared object; recompile with -fPIC
> > /homes/fathom/3rdparty/hdf5/hdf5-1.8.3/serial/gcc/lib/libhdf5.a:
> > could not read
> >
> >
> > When I configure with:
> >   ./configure --prefix=/home/iulian/cub12/lib/moab
> >   --with-cgm=/home/iulian/cub12/lib/cgm
> > --with-netcdf=/homes/fathom/3rdparty/netcdf/netcdf-4.0.1/serial/gcc
> > --with-hdf5=/homes/f
> > athom/3rdparty/hdf5/hdf5-1.8.3/serial/gcc
> > --with-zlib=/homes/fathom/3rdparty/zlib/zlib-1
> > .2.4/gcc --with-szip=/homes/fathom/3rdparty/szip/szip-2.1/gcc
> > --enable-debug --enable-im
> > esh
> >
> > it goes a little further, but fails due to HDF5 references:
> >
> > make[2]: Entering directory
> > `/nfs/mcs-homes129/iulian/cub12/MOAB/tools'
> > Making all in .
> > make[3]: Entering directory
> > `/nfs/mcs-homes129/iulian/cub12/MOAB/tools'
> >    CXXLD mbconvert
> > /home/fathom/3rdparty/netcdf/netcdf-4.0.1/serial/gcc/lib/libnetcdf.so:
> > undefined reference to `H5DSiterate_scales'
> > /home/fathom/3rdparty/netcdf/netcdf-4.0.1/serial/gcc/lib/libnetcdf.so:
> > undefined reference to `H5DSattach_scale'
> > /home/fathom/3rdparty/netcdf/netcdf-4.0.1/serial/gcc/lib/libnetcdf.so:
> > undefined reference to `H5DSget_num_scales'
> > /home/fathom/3rdparty/netcdf/netcdf-4.0.1/serial/gcc/lib/libnetcdf.so:
> > undefined reference to `H5DSset_scale'
> > /home/fathom/3rdparty/netcdf/netcdf-4.0.1/serial/gcc/lib/libnetcdf.so:
> > undefined reference to `H5DSget_scale_name'
> > /home/fathom/3rdparty/netcdf/netcdf-4.0.1/serial/gcc/lib/libnetcdf.so:
> > undefined reference to `H5DSis_scale'
> > /home/fathom/3rdparty/netcdf/netcdf-4.0.1/serial/gcc/lib/libnetcdf.so:
> > undefined reference to `H5DSdetach_scale'
> > collect2: ld returned 1 exit status
> > make[3]: *** [mbconvert] Error 1
> > make[3]: Leaving directory
> > `/nfs/mcs-homes129/iulian/cub12/MOAB/tools'
> >
> >
> >
> 
> --
> ================================================================
> "You will keep in perfect peace him whose mind is
> steadfast, because he trusts in you." Isaiah 26:3
> 
> Tim Tautges Argonne National Laboratory
> (tautges at mcs.anl.gov) (telecommuting from UW-Madison)
> phone: (608) 263-8485 1500 Engineering Dr.
> fax: (608) 263-4499 Madison, WI 53706


More information about the moab-dev mailing list