[MOAB-dev] building MOAB with CGNS support

Grindeanu, Iulian R. iulian at mcs.anl.gov
Mon Sep 1 20:05:46 CDT 2014


I did not test version 3.2.1.
 3.1.4 should be fine
how did you build cgns?
cgns should be built with the same version of hdf5 that you use for moab, to avoid conflicts (especially if you build shared)


Iulian

________________________________________
From: moab-dev-bounces at mcs.anl.gov [moab-dev-bounces at mcs.anl.gov] on behalf of Vijay S. Mahadevan [vijay.m at gmail.com]
Sent: Monday, September 01, 2014 5:09 PM
To: Kanaev A.A.
Cc: moab-dev at mcs.anl.gov
Subject: Re: [MOAB-dev] building MOAB with CGNS support

Anton, send us your config.log. If your configuration for CGNS was
valid, mbconvert should list the format.

Vijay

On Mon, Sep 1, 2014 at 4:36 PM, Kanaev A.A. <kanaev at ibrae.ac.ru> wrote:
> Hello Vijay,
> After building with --with-cgns=/usr/local/lib mbconvert - l shows same list of formats and there's no CGNS in it
> When i do mbconvert Mesh_1.cgns Mesh_1.h5m i got the message:
> HDF5-DIAG: Error detected in HDF5 (1.8.11) MPI-process 0:
>   #000: H5G.c line 463 in H5Gopen2(): unable to open group
>     major: Symbol table
>     minor: Can't open object
>   #001: H5Gint.c line 320 in H5G__open_name(): group not found
>     major: Symbol table
>     minor: Object not found
>   #002: H5Gloc.c line 430 in H5G_loc_find(): can't find object
>     major: Symbol table
>     minor: Object not found
>   #003: H5Gtraverse.c line 861 in H5G_traverse(): internal path traversal failed
>     major: Symbol table
>     minor: Object not found
>   #004: H5Gtraverse.c line 641 in H5G_traverse_real(): traversal operator failed
>     major: Symbol table
>     minor: Callback failed
>   #005: H5Gloc.c line 385 in H5G_loc_find_cb(): object 'tstt' doesn't exist
>     major: Symbol table
>     minor: Object not found
> Failed to load "Mesh_1.cgns".
> Error code: MB_INDEX_OUT_OF_RANGE (1)
> Error message: Mesh_1.cgns: Trouble reading vertices
>
> Thanks,
> Anton
> ________________________________________
> From: Vijay S. Mahadevan [vijay.m at gmail.com]
> Sent: Tuesday, September 02, 2014 12:24 AM
> To: Kanaev A.A.
> Cc: moab-dev at mcs.anl.gov
> Subject: Re: [MOAB-dev] building MOAB with CGNS support
>
> Make sure the LD_LIBRARY_PATH contains the cgns installation library
> path (/usr/local/lib ?). To verify, you can run "ldd mbconvert" and
> see if any of the dynamic libraries are not resolved.
>
> Vijay
>
> On Mon, Sep 1, 2014 at 2:06 PM, Kanaev A.A. <kanaev at ibrae.ac.ru> wrote:
>> Hello MOAB-dev,
>>
>> Here's how i configure Makefile:
>> ...
>> ./configure --prefix=${FATHOM_DIR}/moab/build --with-mpi=${MPI2_PREFIX} --without-netcdf --with-hdf5=${HDF5_PREFIX} --with-zlib=${ZLIB_PREFIX} --with-szlib=${SZIP_PREFIX} --with-zoltan=${zoltan_PREFIX} --with-parmetis=${parmetis_PREFIX} --with-cgns=${FATHOM_DIR}/cgnslib_3.2.1/src --enable-igeom  --enable-docs --with-doxygen=/home/anton/doxygen/bin --enable-static 2>&1 | tee configure.log
>>
>> configure goes ok:
>> ...
>> checking if CGNS support is enabled... yes
>> checking cgnslib.h usability... yes
>> checking cgnslib.h presence... yes
>> checking for cgnslib.h... yes
>> checking for cg_open in -lcgns... no
>> checking for cg_open in -lcgns... yes
>> ...
>>
>>
>> After build is done when i run mbconvert i got the following message:
>>
>> mbconvert: error while loading shared libraries: libcgns.so.3.2: cannot open shared object file: No such file or directory
>>
>> ${FATHOM_DIR}/cgnslib_3.2.1/src contains libcgns.so.3.2, it is also installed to /usr/local/lib
>>
>> What can be wrong?
>>
>> Thanks,
>> Anton


More information about the moab-dev mailing list