[MOAB-dev] moab, petsc and zoltan

Vijay S. Mahadevan vijay.m at gmail.com
Tue Jun 28 10:13:52 CDT 2016


Lukasz, I wanted to see the actual configuration command passed to
MOAB. For example, the output of:

head $PETSC_DIR/$PETSC_ARCH/externalpackages/MOAB/config.log

The MOAB.py was also helpful to understand the version of MOAB that
you are using. I can send you an updated MOAB.py once I have the fix
for you.

Vijay

On Tue, Jun 28, 2016 at 10:00 AM, Lukasz Kaczmarczyk
<Lukasz.Kaczmarczyk at glasgow.ac.uk> wrote:
> 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
>>>


More information about the moab-dev mailing list