[MOAB-dev] Re: Problems linking to MOAB

Tim Tautges tautges at mcs.anl.gov
Mon Aug 11 16:29:49 CDT 2008


Please report/interact on MOAB through moab-dev at mcs.anl.gov, I'm on 
vacation and can't help but someone else will.  THanks.

- tim

Neil Hodge wrote:
> Tim:
> 
> I am currently trying to link our code to MOAB, including libiMesh.  The 
> link line is
> 
> mpCC_r -g -q64 -brtl -blpdata -bmaxdata:0x600000000 -L... -o 
> diablo_debug ../objs_debug/diablo_lib_main.o\
>  -L ../lib_debug -ldiablo 
> -L/g/g22/hodge3/data/projects/diablo/itaps/Diablo_II/Build/DIABLO-aix_5_64_fed-UP/Libraries/METIS/metis-4.0/aix_5_64bit/ 
> -L/usr/apps/mdg/lib -L/usr/gapps/silo/4.5/aix_5_64_fed/lib 
> -L/usr/local/tools/hdf5/hdf5-1.6.5/serial/lib 
> -L/g/g22/hodge3/data/projects/diablo/itaps/Diablo_II/Build/DIABLO-aix_5_64_fed-UP/Libraries/PWSSMP/wssmp/aix_5_64bit 
> -L/g/g22/hodge3/data/projects/diablo/itaps/Diablo_II/Build/DIABLO-aix_5_64_fed-UP/Libraries/HYPRE/hypre-2.0.0/aix_5_64_fed 
> -L/g/g22/hodge3/data/projects/diablo/itaps/Diablo_II/Build/DIABLO-aix_5_64_fed-UP/Libraries/NASA 
> -L/usr/local/lib 
> -L/g/g22/hodge3/data/projects/diablo/itaps/Diablo_II/Libraries/ITAPS 
> -L/usr/local/lib -lm -lblas -lxlf90 -lc -lmetis -lmili -lsilo 
> -lhdf5_fortran -lhdf5 -lHYPRE -lvss_ibm -lpwsmp64 -llapack -liMesh_ibm 
> -lMOAB_ibm
> 
> 
> I am getting the following error:
> 
> ld: 0711-317 ERROR: Undefined symbol: 
> .MBRange::subset_by_type(MBEntityType)
> 
> Although, when I check libMOAB with nm and dump, subset_by_type is 
> clearly there.
> 
> I am trying this on AIX.  Any thoughts?
> 
> Thanks.
> 
> Neil Hodge
> hodge3 at llnl.gov
> 

-- 
================================================================
"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