-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to build #4
Comments
This error comes from your system's include files. Did you figure it out? |
I want to build ParMetis but I got this error: |
It should be fixed if you open the |
Did you get the solution for this? I am also getting the same error |
if you build with you should be able to build without problem, Its a POSIX version problem at least on centos7 |
Hi, $ mpicc -showme I am still much of a beginner and would be very grateful if you could help me fix this. $ make config cc=mpicc prefix=~/local Update the VERSION argument value or use a ... suffix to tell -- The C compiler identification is GNU 11.3.0 XXX@XXX:~/ParMETIS$ make install [... Skipping several successful steps ...] [ 28%] Building C object libparmetis/CMakeFiles/parmetis.dir/initpart.c.o |
Hi, @phlagada , was facing the same error. typedef enum {
METIS_OPTION_PTYPE,
METIS_OPTION_OBJTYPE,
METIS_OPTION_CTYPE,
METIS_OPTION_IPTYPE,
METIS_OPTION_RTYPE,
METIS_OPTION_DBGLVL,
METIS_OPTION_NIPARTS,
METIS_OPTION_NITER,
METIS_OPTION_NCUTS,
METIS_OPTION_SEED,
METIS_OPTION_ONDISK,
METIS_OPTION_MINCONN,
METIS_OPTION_CONTIG,
METIS_OPTION_COMPRESS,
METIS_OPTION_CCORDER,
METIS_OPTION_PFACTOR,
METIS_OPTION_NSEPS,
METIS_OPTION_UFACTOR,
METIS_OPTION_NUMBERING,
METIS_OPTION_DROPEDGES,
METIS_OPTION_NO2HOP,
METIS_OPTION_TWOHOP,
METIS_OPTION_FAST,
/* Used for command-line parameter purposes */
METIS_OPTION_HELP,
METIS_OPTION_TPWGTS,
METIS_OPTION_NCOMMON,
METIS_OPTION_NOOUTPUT,
METIS_OPTION_BALANCE,
METIS_OPTION_GTYPE,
METIS_OPTION_UBVEC
} moptions_et; So, reinstall metis by cloning the git repo and following the instructions on the readme. |
Hi @Barenya255, Perhaps one thing worth mentioning: installation is successful with the 'gdb' flag set to 1. But, trying with the 'debug' flag set to 1 [I don't need it, actually...], I got two warnings (which were treated as errors): |
Hi, using centos7, I met the same error. And I tried your method. However, I get.
Then I tried to set
and tried agin, I get
Did you get the solution for this? |
@hiGiraffe CMakeLists.txt
build-parmetis.sh: the absoluted path need to be replaced with yours
metis/GKlib/GKlibSystem.cmake
|
I am getting the following error on apple silicon && /opt/homebrew/bin/mpicc -Dparmetis_EXPORTS -I/Users/takis/Downloads/ParMETIS-main/include -I/usr/local/include -I/opt/homebrew/Cellar/metis/5.1.0/include -I/Users/takis/Downloads/ParMETIS-main/libparmetis/. -DLINUX -D_FILE_OFFSET_BITS=64 -framework Accelerate -DNDEBUG -DNDEBUG2 -DHAVE_EXECINFO_H -DHAVE_GETLINE -O3 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=14.1 -fPIC -MD -MT libparmetis/CMakeFiles/parmetis.dir/initpart.c.o -MF CMakeFiles/parmetis.dir/initpart.c.o.d -o CMakeFiles/parmetis.dir/initpart.c.o -c /Users/takis/Downloads/ParMETIS-main/libparmetis/initpart.c |
Version:
And I get:
Any ideas how to fix this?
The text was updated successfully, but these errors were encountered: