Robert Nourgaliev
Robert Nourgaliev
I am trying to update MeTiS/ParMeTiS with PETSC and MFEM. Couple of things came out: 1. Petsc expects GKLib not as separate library, but build in together with MeTiS, as...
Tzanio, I am upgrading Metis/Parmetis from their GitHub repo. Getting related error: In file included from /Users/nourgaliev1/Robert/CODES/TELOS/dev1/librepos/mfem/mesh/mesh.cpp:38: /Users/nourgaliev1/Robert/CODES/TELOS/libraries/osx_gcc11.3.0/debug/metis/5.1.1-94c03a6e2d-b/mpi-openmpi-4.1.1/gklib-gklib-sha-a7f8172703-a/cmake-3.22.4/BLT-develop-49971b88e6/include/metis.h:115:4: error: #error "Incorrect user-supplied value fo IDXTYPEWIDTH" 115 | #error "Incorrect user-supplied...
Tzanio: I am re-opening this issue - as I am having similar problem.
I am building MeTiS with 32 bit.
Tzanio: I fixed this by adding to MFEM CMakeList.txt: option(METIS_IDX64 "enable 64 bit ints" OFF) option(METIS_REAL64 "enable 64 bit floats (i.e., double)" OFF) if(METIS_IDX64) set(METIS_COPTIONS "${METIS_COPTIONS} -DIDXTYPEWIDTH=64") message(STATUS "METIS with...
Then you would need to pass something like: " -DMETIS_IDX64=OFF" " -DMETIS_REAL64=OFF" To explicitly activate/force Metis use 32 or 64 bit.
Hi Veselin, I did not know they had github either, until recently. Turns out they commented out in their latest version of metis.h //#define IDXTYPEWIDTH 32 //#define REALTYPEWIDTH 32 So...
When configuring MFEM, you just need to specify where METIS is installed with the flag -DMETIS_DIR=/path/to/metis. MFEM will work with both 32bit and 64bit builds of METIS. At least it...
BTW, I think currently PETSC will work with only 32-bit version, as they check for this in their configure script. ========================================== Nourgaliev, Robert Lawrence Livermore National Laboratory (LLNL) P.O. Box...
Agree. They should have configuration flag to set 32 or 64 bit version, when you build their library, if they don't want anyone editing their source code. Now we have...