Compilation error in HPC #2183
Closed
mehulbakhshi02
started this conversation in
General
Replies: 1 comment 1 reply
-
It can happen that meson detects the system |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am new to SU2 and trying to install it on cluster locally. I am facing issue in compilation and installation step.
I used following command to build:
./meson.py -Dwith-mpi=enabled -Dcustom-mpi=true -Dextra-deps=mpich -Denable-cgns=false --prefix=$HOME/SU2/SU2-Install build
After which I tried to compile and install:
./ninja -C build install
However I am getting an error:
ninja: Entering directory build [1/463] Compiling C object externals/metis/libmetis.a.p/GKlib_htable.c.o FAILED: externals/metis/libmetis.a.p/GKlib_htable.c.o cc -Iexternals/metis/libmetis.a.p -Iexternals/metis -I../externals/metis -I../externals/metis/include -I../externals/metis/GKlib -I../externals/metis/libmetis -std=c99 -O3 -fPIC -D_FILE_OFFSET_BITS=64 -DNDEBUG -DNDEBUG2 -DHAVE_GETLINE -DUSE_GKREGEX -Wno-implicit-function-declaration -Wno-unused-result -Wno-unused-parameter -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unknown-pragmas -Wno-sign-compare -Wno-clobbered -Wno-empty-body -Wno-unused-label -Wno-misleading-indentation -Wno-maybe-uninitialized -Wno-pedantic -Wno-error=absolute-value -MD -MQ externals/metis/libmetis.a.p/GKlib_htable.c.o -MF externals/metis/libmetis.a.p/GKlib_htable.c.o.d -o externals/metis/libmetis.a.p/GKlib_htable.c.o -c ../externals/metis/GKlib/htable.c cc1: error: -Werror=absolute-value: no option -Wabsolute-value cc1: warning: unrecognized command line option "-Wno-misleading-indentation" [enabled by default]
I am unable to understand if its an issue with GCC compiler of the HPC cluster or something else. Would be a great help if someone can guide me on this. Thanks in advance!
Cluster Information
Beta Was this translation helpful? Give feedback.
All reactions