CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2 > SU2 Installation

Issue when I try to switch form branch master to develop

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 4, 2022, 06:47
Default Issue when I try to switch form branch master to develop
  #1
New Member
 
Join Date: Feb 2022
Posts: 2
Rep Power: 0
cristopher_morales is on a distinguished road
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
cristopher_morales is offline   Reply With Quote

Old   July 13, 2022, 16:48
Default
  #2
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 134
Rep Power: 12
bigfootedrockmidget is on a distinguished road
This problem seems to be solved in develop by PR #1704
https://github.com/su2code/SU2/pull/1704
bigfootedrockmidget is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
parallel run error cma-permission-denied supvato OpenFOAM Running, Solving & CFD 2 May 14, 2022 13:42
Trying to understand FDM vs FVM vs Conservative form vs Non-conservative form granzer Main CFD Forum 5 December 4, 2019 03:00
What are strong and weak form of conservative form granzer Main CFD Forum 3 July 3, 2019 11:25
Question about FDM and supersonic flows Guillaume_Fournier Main CFD Forum 2 January 20, 2013 22:41
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 07:36


All times are GMT -4. The time now is 15:44.