|
[Sponsors] |
Issue when I try to switch form branch master to develop |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Join Date: Feb 2022
Posts: 3
Rep Power: 3 ![]() |
Dear all,
I hope you are doing well. I have the following issue when I compile SU2 in the cluster. When I compile SU2 in the branch master , it compiles successfully. However, when I try to compile in the branch develop , it shows me this error: ninja: Entering directory `build' [1/1008] Compiling C object externals/cgns/hdf5/H5detect.p/H5detect.c.o FAILED: externals/cgns/hdf5/H5detect.p/H5detect.c.o cc -Iexternals/cgns/hdf5/H5detect.p -Iexternals/cgns/hdf5 -I../externals/cgns/hdf5 -I/cm/shared/apps/openmpi/gcc/64/1.10.7/include -Wall -Winvalid-pch -Wextra -std=c99 -O3 -pthread -Wno-unused-result -Wno-unused-parameter -Wno-unused-variable -Wno-unused-but-set-variable -Wno-sign-compare -Wno-stringop-overflow -Wno-discarded-qualifiers -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-label -Wno-pedantic -Wno-error=stringop-truncation -Wno-error=cast-function-type -Wno-stringop-truncation -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200809L -D_GNU_SOURCE -MD -MQ externals/cgns/hdf5/H5detect.p/H5detect.c.o -MF externals/cgns/hdf5/H5detect.p/H5detect.c.o.d -o externals/cgns/hdf5/H5detect.p/H5detect.c.o -c ../externals/cgns/hdf5/H5detect.c cc1: error: -Werror=stringop-truncation: no option -Wstringop-truncation cc1: error: -Werror=cast-function-type: no option -Wcast-function-type cc1: warning: unrecognized command line option "-Wno-stringop-truncation" [enabled by default] cc1: warning: unrecognized command line option "-Wno-discarded-qualifiers" [enabled by default] cc1: warning: unrecognized command line option "-Wno-stringop-overflow" [enabled by default] [2/1008] Compiling C object externals/...e_libsettings.p/H5make_libsettings.c.o FAILED: externals/cgns/hdf5/H5make_libsettings.p/H5make_libsettings.c.o cc -Iexternals/cgns/hdf5/H5make_libsettings.p -Iexternals/cgns/hdf5 -I../externals/cgns/hdf5 -I/cm/shared/apps/openmpi/gcc/64/1.10.7/include -Wall -Winvalid-pch -Wextra -std=c99 -O3 -pthread -Wno-unused-result -Wno-unused-parameter -Wno-unused-variable -Wno-unused-but-set-variable -Wno-sign-compare -Wno-stringop-overflow -Wno-discarded-qualifiers -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-label -Wno-pedantic -Wno-error=stringop-truncation -Wno-error=cast-function-type -Wno-stringop-truncation -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200809L -D_GNU_SOURCE -MD -MQ externals/cgns/hdf5/H5make_libsettings.p/H5make_libsettings.c.o -MF externals/cgns/hdf5/H5make_libsettings.p/H5make_libsettings.c.o.d -o externals/cgns/hdf5/H5make_libsettings.p/H5make_libsettings.c.o -c ../externals/cgns/hdf5/H5make_libsettings.c cc1: error: -Werror=stringop-truncation: no option -Wstringop-truncation cc1: error: -Werror=cast-function-type: no option -Wcast-function-type cc1: warning: unrecognized command line option "-Wno-stringop-truncation" [enabled by default] cc1: warning: unrecognized command line option "-Wno-discarded-qualifiers" [enabled by default] cc1: warning: unrecognized command line option "-Wno-stringop-overflow" [enabled by default] [3/1008] Compiling C object externals/cgns/hdf5/libsu2hdf5.a.p/H5checksum.c.o FAILED: externals/cgns/hdf5/libsu2hdf5.a.p/H5checksum.c.o cc -Iexternals/cgns/hdf5/libsu2hdf5.a.p -Iexternals/cgns/hdf5 -I../externals/cgns/hdf5 -I/cm/shared/apps/openmpi/gcc/64/1.10.7/include -Wall -Winvalid-pch -Wextra -std=c99 -O3 -fPIC -pthread -Wno-unused-result -Wno-unused-parameter -Wno-unused-variable -Wno-unused-but-set-variable -Wno-sign-compare -Wno-stringop-overflow -Wno-discarded-qualifiers -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-label -Wno-pedantic -Wno-error=stringop-truncation -Wno-error=cast-function-type -Wno-stringop-truncation -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200809L -D_GNU_SOURCE -MD -MQ externals/cgns/hdf5/libsu2hdf5.a.p/H5checksum.c.o -MF externals/cgns/hdf5/libsu2hdf5.a.p/H5checksum.c.o.d -o externals/cgns/hdf5/libsu2hdf5.a.p/H5checksum.c.o -c ../externals/cgns/hdf5/H5checksum.c cc1: error: -Werror=stringop-truncation: no option -Wstringop-truncation cc1: error: -Werror=cast-function-type: no option -Wcast-function-type cc1: warning: unrecognized command line option "-Wno-stringop-truncation" [enabled by default] cc1: warning: unrecognized command line option "-Wno-discarded-qualifiers" [enabled by default] cc1: warning: unrecognized command line option "-Wno-stringop-overflow" [enabled by default] [4/1008] Compiling C object externals/cgns/hdf5/libsu2hdf5.a.p/H5dbg.c.o FAILED: externals/cgns/hdf5/libsu2hdf5.a.p/H5dbg.c.o cc -Iexternals/cgns/hdf5/libsu2hdf5.a.p -Iexternals/cgns/hdf5 -I../externals/cgns/hdf5 -I/cm/shared/apps/openmpi/gcc/64/1.10.7/include -Wall -Winvalid-pch -Wextra -std=c99 -O3 -fPIC -pthread -Wno-unused-result -Wno-unused-parameter -Wno-unused-variable -Wno-unused-but-set-variable -Wno-sign-compare -Wno-stringop-overflow -Wno-discarded-qualifiers -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-label -Wno-pedantic -Wno-error=stringop-truncation -Wno-error=cast-function-type -Wno-stringop-truncation -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200809L -D_GNU_SOURCE -MD -MQ externals/cgns/hdf5/libsu2hdf5.a.p/H5dbg.c.o -MF externals/cgns/hdf5/libsu2hdf5.a.p/H5dbg.c.o.d -o externals/cgns/hdf5/libsu2hdf5.a.p/H5dbg.c.o -c ../externals/cgns/hdf5/H5dbg.c cc1: error: -Werror=stringop-truncation: no option -Wstringop-truncation cc1: error: -Werror=cast-function-type: no option -Wcast-function-type cc1: warning: unrecognized command line option "-Wno-stringop-truncation" [enabled by default] cc1: warning: unrecognized command line option "-Wno-discarded-qualifiers" [enabled by default] cc1: warning: unrecognized command line option "-Wno-stringop-overflow" [enabled by default] [5/1008] Compiling C object externals/cgns/hdf5/libsu2hdf5.a.p/H5.c.o FAILED: externals/cgns/hdf5/libsu2hdf5.a.p/H5.c.o cc -Iexternals/cgns/hdf5/libsu2hdf5.a.p -Iexternals/cgns/hdf5 -I../externals/cgns/hdf5 -I/cm/shared/apps/openmpi/gcc/64/1.10.7/include -Wall -Winvalid-pch -Wextra -std=c99 -O3 -fPIC -pthread -Wno-unused-result -Wno-unused-parameter -Wno-unused-variable -Wno-unused-but-set-variable -Wno-sign-compare -Wno-stringop-overflow -Wno-discarded-qualifiers -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-label -Wno-pedantic -Wno-error=stringop-truncation -Wno-error=cast-function-type -Wno-stringop-truncation -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200809L -D_GNU_SOURCE -MD -MQ externals/cgns/hdf5/libsu2hdf5.a.p/H5.c.o -MF externals/cgns/hdf5/libsu2hdf5.a.p/H5.c.o.d -o externals/cgns/hdf5/libsu2hdf5.a.p/H5.c.o -c ../externals/cgns/hdf5/H5.c cc1: error: -Werror=stringop-truncation: no option -Wstringop-truncation cc1: error: -Werror=cast-function-type: no option -Wcast-function-type cc1: warning: unrecognized command line option "-Wno-stringop-truncation" [enabled by default] cc1: warning: unrecognized command line option "-Wno-discarded-qualifiers" [enabled by default] cc1: warning: unrecognized command line option "-Wno-stringop-overflow" [enabled by default] [6/1008] Compiling C object externals/cgns/hdf5/libsu2hdf5.a.p/H5mpi.c.o FAILED: externals/cgns/hdf5/libsu2hdf5.a.p/H5mpi.c.o cc -Iexternals/cgns/hdf5/libsu2hdf5.a.p -Iexternals/cgns/hdf5 -I../externals/cgns/hdf5 -I/cm/shared/apps/openmpi/gcc/64/1.10.7/include -Wall -Winvalid-pch -Wextra -std=c99 -O3 -fPIC -pthread -Wno-unused-result -Wno-unused-parameter -Wno-unused-variable -Wno-unused-but-set-variable -Wno-sign-compare -Wno-stringop-overflow -Wno-discarded-qualifiers -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-label -Wno-pedantic -Wno-error=stringop-truncation -Wno-error=cast-function-type -Wno-stringop-truncation -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200809L -D_GNU_SOURCE -MD -MQ externals/cgns/hdf5/libsu2hdf5.a.p/H5mpi.c.o -MF externals/cgns/hdf5/libsu2hdf5.a.p/H5mpi.c.o.d -o externals/cgns/hdf5/libsu2hdf5.a.p/H5mpi.c.o -c ../externals/cgns/hdf5/H5mpi.c cc1: error: -Werror=stringop-truncation: no option -Wstringop-truncation cc1: error: -Werror=cast-function-type: no option -Wcast-function-type cc1: warning: unrecognized command line option "-Wno-stringop-truncation" [enabled by default] cc1: warning: unrecognized command line option "-Wno-discarded-qualifiers" [enabled by default] cc1: warning: unrecognized command line option "-Wno-stringop-overflow" [enabled by default] ninja: build stopped: subcommand failed. Also in my local machine I do not have this issue. I can compile SU2 successfully. I would really appreciate if someone could give me some advices/guideline to figure out what can be the reason about this issue. Thank you so much in advance ![]() |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 379
Rep Power: 16 ![]() |
This problem seems to be solved in develop by PR #1704
https://github.com/su2code/SU2/pull/1704 |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
parallel run error cma-permission-denied | supvato | OpenFOAM Running, Solving & CFD | 3 | October 10, 2022 05:48 |
Trying to understand FDM vs FVM vs Conservative form vs Non-conservative form | granzer | Main CFD Forum | 5 | December 4, 2019 04:00 |
What are strong and weak form of conservative form | granzer | Main CFD Forum | 3 | July 3, 2019 12:25 |
Question about FDM and supersonic flows | Guillaume_Fournier | Main CFD Forum | 2 | January 20, 2013 23:41 |
[blockMesh] BlockMeshmergePatchPairs | hjasak | OpenFOAM Meshing & Mesh Conversion | 11 | August 15, 2008 08:36 |