[MOAB-dev] moab, petsc and zoltan

Lukasz Kaczmarczyk Lukasz.Kaczmarczyk at glasgow.ac.uk
Tue Jun 28 10:00:33 CDT 2016


Hi Vijay,

Pleas see attached, I hope that will help. 

Kind regards,
Lukasz


> On 28 Jun 2016, at 15:43, Vijay S. Mahadevan <vijay.m at gmail.com> wrote:
> 
> Hi Lukasz,
> 
> I have not tried compiling MOAB with Zoltan through PETSc. So possibly
> this is related to how PETSc is passing the options to MOAB during
> configure. Can you also send me the MOAB configuration command that
> was invoked by PETSc ? That will help decipher what needs to change in
> MOAB.py.
> 
> I currently have a large change for DMMoab that I'm going to submit a
> PR to PETSc. I can make this change and add to that PR once I
> understand how to fix the issue.
> 
> Vijay
> 
> On Tue, Jun 28, 2016 at 9:37 AM, Lukasz Kaczmarczyk
> <Lukasz.Kaczmarczyk at glasgow.ac.uk> wrote:
>> Hello,
>> 
>> I configure moab using petsc,
>> 
>> ./configure --download-blacs=1 --download-fblaslapack=1 --download-hdf5=1 --download-hypre=1 --download-metis=1 --download-moab=1 --download-mumps=1 --download-netcdf=/opt/petsc/netcdf-4.3.3.1.tar.gz --download-openmpi=1 --download-parmetis=1 --download-ptscotch=1 --download-scalapack=1 --download-superlu_dist=1 --with-debugging=1 --with-mpi=1 --download-zoltan=1
>> 
>> It works well, however configuration of moab is before zoltan, as results mbpart form moab is not configured. Problem can be resolved easily, by going to tools/mbpart and kicking configuration by hand. It is temporary solution.
>> 
>> MBZolatn.cpp need to be compiled first and then linking. Proper linking for mbpart,
>> /opt/petsc/arch-darwin-c-debug/bin/mpicxx -g -Wall -pipe -pedantic -Wno-long-long -Wextra -Wcast-align -Wpointer-arith -Wformat -Wformat-security -Wshadow -Wunused-parameter -o .libs/mbpart mbpart.o MBZoltan.o -Wl,-bind_at_load  -L/opt/petsc/arch-darwin-c-debug/lib -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.1.0/lib/darwin ../../src/.libs/libMOAB.dylib /opt/petsc/arch-darwin-c-debug/lib/libnetcdf.dylib /opt/petsc/arch-darwin-c-debug/lib/libhdf5_fortran.a /opt/petsc/arch-darwin-c-debug/lib/libhdf5_hl.dylib /opt/petsc/arch-darwin-c-debug/lib/libhdf5.dylib -lz /opt/petsc/arch-darwin-c-debug/lib/libmpi.dylib /opt/petsc/arch-darwin-c-debug/lib/libopen-rte.dylib /opt/petsc/arch-darwin-c-debug/lib/libopen-pal.dylib -lSystem -lclang_rt.osx -ldl -lm /opt/petsc/arch-darwin-c-debug//externalpackages/Zoltan_v3.81/build/src/libzoltan.a -lscotch -lptscotch -lmetis -lparmetis -lptscotcherr -lscotcherr
>> 
>> I am not sure if this is petsc or moab problem,
>> 
>> Best wishes,
>> Lukasz
>> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MOAB.py
Type: text/x-python-script
Size: 2029 bytes
Desc: MOAB.py
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20160628/230dea3d/attachment.bin>


More information about the moab-dev mailing list