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

ninja fails while installing SU2 v7.0.8

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 5, 2021, 15:37
Default ninja fails while installing SU2 v7.0.8
  #1
New Member
 
Join Date: Jan 2021
Posts: 2
Rep Power: 0
Grim is on a distinguished road
While running ninja:
./ninja -C build install

I'm getting the following error message:


ninja: Entering directory `build'
[359/445] Compiling C++ object SU2_CFD/src/libSU2core.a.p/solvers_CIncNSSolver.cpp.o
FAILED: SU2_CFD/src/libSU2core.a.p/solvers_CIncNSSolver.cpp.o
c++ -ISU2_CFD/src/libSU2core.a.p -ISU2_CFD/src -I../SU2_CFD/src -I../externals/CLI11 -I../externals/cgns/adf -IGKlib -I../externals/metis/libmetis -I../externals/parmetis/include -I../externals/parmetis/libparmetis -Iexterciompisrc -ICommon/src -I../Common/src -I/usr/include/openmpi-x86_64 -pipe -D_FILE_OFFSET_BITS=64 -std=c++11 -Oecated-declarations -Wno-non-virtual-dtor -DHAVE_CGNS -DNDEBUG -DHAVE_MPI -DHAVE_METIS -DHAVE_PARMETIS -DHAVE_T2_CFD/src/libSU2core.a.p/solvers_CIncNSSolver.cpp.o.d' -o SU2_CFD/src/libSU2core.a.p/solvers_CIncNSSolver.cpp.o
In file included from ../SU2_CFD/src/solvers/../../include/solvers/../fluid/../../../Common/include/containers/
from ../SU2_CFD/src/solvers/../../include/solvers/../fluid/../../../Common/include/containers/
from ../SU2_CFD/src/solvers/../../include/solvers/../fluid/../../../Common/include/CConfig.hpp
from ../SU2_CFD/src/solvers/../../include/solvers/../fluid/CFluidModel.hpp:33,
from ../SU2_CFD/src/solvers/../../include/solvers/CSolver.hpp:43,
from ../SU2_CFD/src/solvers/../../include/solvers/CFVMFlowSolverBase.hpp:31,
from ../SU2_CFD/src/solvers/../../include/solvers/CIncEulerSolver.hpp:30,
from ../SU2_CFD/src/solvers/../../include/solvers/CIncNSSolver.hpp:30,
from ../SU2_CFD/src/solvers/CIncNSSolver.cpp:28:
../SU2_CFD/src/solvers/../../include/solvers/../fluid/../../../Common/include/containers/../parallelization/vec
../SU2_CFD/src/solvers/../../include/solvers/CFVMFlowSolverBase.inl:1306:16: required from here
../SU2_CFD/src/solvers/../../include/solvers/../fluid/../../../Common/include/containers/../parallelization/vec
alignas(Align) Scalar x_[N];
^
[361/445] Compiling C++ object SU2_CFD/src/libSU2core.a.p/solvers_CIncEulerSolver.cpp.o
ninja: build stopped: subcommand failed.




Redhat version 7 Update 4
GCC - 4.8.5





Kindly help

Last edited by Grim; January 5, 2021 at 22:21.
Grim is offline   Reply With Quote

Old   January 5, 2021, 18:51
Default
  #2
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 352
Rep Power: 8
pcg is on a distinguished road
It is usually a compiler problem, you need a compiler with complete c++11 support, try gcc 5 or newer.
pcg is offline   Reply With Quote

Old   January 9, 2021, 16:18
Default
  #3
New Member
 
Join Date: Jan 2021
Posts: 2
Rep Power: 0
Grim is on a distinguished road
Thank you very much. I installed GCC 7.3.0 and it worked like a charm.
Grim 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
SU2 paralllel Build from source ninja failed on ubuntu 18.04 steadyman SU2 Installation 4 July 4, 2020 19:21
SU2-7.0.1 on ubuntu 18.04 hyunko SU2 Installation 7 March 16, 2020 05:37
Introducing SU2 International Developers Society (IDS) fpalacios SU2 News & Announcements 1 June 17, 2019 23:38
Error Installing SU2 6.0.0 fazaghifari SU2 Installation 6 March 1, 2019 09:07
Installing SU2 v5 for Parallel Computations McAero SU2 Installation 4 December 10, 2017 18:02


All times are GMT -4. The time now is 11:04.