Comments (6)
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.
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.
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.
from seacas.
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.
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)
- -Wreserved-identifier warnings in public API names HOT 7
- Build error in "Linking CXX executable struc_to_unstruc" HOT 1
- exodus 2023.10.24 and msys2/mingw HOT 3
- Need Curl under Windows 10's WSL HOT 2
- Nem_spread should have option to set single-file-read from command line
- Grepos subsetting corrupts sideset variable data
- How to instantiate a transform? HOT 7
- Publish packaged exodus python bindings to PyPI HOT 2
- testwt-assembly.c: Error c2057 when building with MSVC and NetCDF binaries are found HOT 3
- Improve epu variable inclusion/exclusion handling.
- Verify that properties passed to IOSS are used.
- Add option to EPU to delete the file-per-rank files after joining successfully
- io_modify geometry modification does not work with CGNS structured HOT 1
- installation issue: not creating lib and include folder with ./install-tpl.sh HOT 11
- Aprepro Robustness
- Python bindings include absolute path to build directory. HOT 1
- ex_close fails if file is mode is EX_READ or EX_CLOBBER in parallel HOT 7
- EPU: Add capability to select "last 3 steps" HOT 1
- [MSVC][c++20][c++latest] Ioss_DatabaseIO.C failed with error 7525: call to immediate function is not a constant expression HOT 4
- [URGENT] Exonull does not compile with SEACAS_HAVE_MPI ON on Windows HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from seacas.