Giter Club home page Giter Club logo

Comments (6)

gsjaardema avatar gsjaardema commented on August 19, 2024

One issue is that ParMETIS should not be enabled unless MPI=ON. Not sure if that is causing the issue or not.

But, build system should either issue warning that this is not supported, or should ignore the parmetis setting for a serial build.

from seacas.

nschloe avatar nschloe commented on August 19, 2024

The ParMETIS setting is not the culprit. I'm getting the same error with

cmake  \
  -DBUILD_SHARED_LIBS:BOOL=ON \
  -DSEACASProj_ENABLE_ALL_PACKAGES:BOOL=ON \
  -DSEACASProj_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON \
  -DSEACASProj_ENABLE_SECONDARY_TESTED_CODE:BOOL=ON \
  -DSEACASProj_ENABLE_TESTS:BOOL=ON \
  -DSEACASProj_USE_GNUINSTALLDIRS:BOOL=ON \
  -DHDF5_ROOT:PATH=/usr \
  \
  -DTPL_ENABLE_CGNS:BOOL=ON \
  -DTPL_ENABLE_Matio:BOOL=ON \
  -DTPL_ENABLE_METIS:BOOL=ON \
  -DTPL_ENABLE_Pamgen:BOOL=OFF \
  -DTPL_ENABLE_ParMETIS:BOOL=OFF \
  -DTPL_ENABLE_Netcdf:BOOL=ON \
  -DTPL_ENABLE_MPI:BOOL=OFF \
  -DTPL_ENABLE_X11:BOOL=OFF \
  -DTPL_ENABLE_Zlib:BOOL=ON \
  \
  ../source-upstream/

from seacas.

nschloe avatar nschloe commented on August 19, 2024

Apparently, Metis is causing the trouble:

cmake  \
  -DBUILD_SHARED_LIBS:BOOL=ON \
  -DSEACASProj_ENABLE_ALL_PACKAGES:BOOL=ON \
  -DTPL_ENABLE_METIS:BOOL=ON \
  -DTPL_ENABLE_MPI:BOOL=OFF \
  ../source-upstream/
[ 20%] Building C object packages/zoltan/src/CMakeFiles/zoltan.dir/tpls/parmetis_interface.c.o
In file included from /home/nschloe/software/seacas/source-upstream/packages/zoltan/src/tpls/parmetis_interface.h:53:0,
                 from /home/nschloe/software/seacas/source-upstream/packages/zoltan/src/tpls/parmetis_interface.c:52:
/home/nschloe/software/seacas/source-upstream/packages/zoltan/src/tpls/third_library_const.h:249:31: error: unknown type name ‘ZOLTAN_ID_PTR’
                               ZOLTAN_ID_PTR global_ids, ZOLTAN_ID_PTR local_ids,

from seacas.

gdsjaar avatar gdsjaar commented on August 19, 2024

from seacas.

gsjaardema avatar gsjaardema commented on August 19, 2024

OK, this should be fixed now. I had discussed fixing this with the zoltan developers and they provided a fix in Trilinos, but it never got snapshotted into SEACAS. I did the snapshot today and confirmed that the build errors shown above have been eliminated. There are still a few warnings, but the build should succeed.

from seacas.

nschloe avatar nschloe commented on August 19, 2024

Sounds good!

I guess the travis tests didn't catch on to this because of -DTPL_ENABLE_METIS:BOOL=OFF. Probably worthwhile setting it to ON.

from seacas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.