[MOAB-dev] building MOAB with CGNS support

Kanaev A.A. kanaev at ibrae.ac.ru
Mon Sep 1 14:06:39 CDT 2014


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