|
[Sponsors] |
April 5, 2017, 22:57 |
Error AD build of SU2-5.0.0 on a HPC system
|
#1 |
New Member
WANG,Hao
Join Date: Sep 2016
Location: Xi'an China
Posts: 19
Rep Power: 10 |
Hi everyone,
I am trying to build Raven master (V5.0) with AD support using preconfigure.py. Since the HPC system can't access the internet, I have download and decompress the codi and adjointmpi packages before configuration. My command is this: export CXXFLAGS="-O3 -Wall" && ./preconfigure.py --enable-autodiff --enable-mpi --prefix=/vol6/home/zhhan/wh/SU25SOURCE And received this error: Checking the status of submodules ================================================== =================== .gitmodules not found, using fall-back method... Found correct version of CoDiPack in externals/codi. Found correct version of AdjointMPI in externals/adjointmpi. Configuring and building AdjointMPI in externals/adjointmpi ================================================== =================== Command: ./configure --prefix=/vol6/home/zhhan/wh/SU25SOURCE/externals/adjointmpi && make clean && make There was an error while running command './configure --prefix=/vol6/home/zhhan/wh/SU25SOURCE/externals/adjointmpi && make clean && make'. === Error Log === /bin/sh: ./configure: No such file or directory Now I have solved this problem by copy these file from my own PC which has built SU2 using AD build. But the cluster reported other errors: CXX ../src/libSU2_AD_a-config_structure.o CXX ../src/libSU2_AD_a-dual_grid_structure.o CXX ../src/libSU2_AD_a-geometry_structure.o CXX ../src/libSU2_AD_a-grid_adaptation_structure.o CXX ../src/libSU2_AD_a-grid_movement_structure.o CXX ../src/libSU2_AD_a-linear_solvers_structure.o CXX ../src/libSU2_AD_a-primal_grid_structure.o CXX ../src/libSU2_AD_a-vector_structure.o CXX ../src/libSU2_AD_a-matrix_structure.o CXX ../src/libSU2_AD_a-mpi_structure.o CXX ../src/libSU2_AD_a-linear_solvers_structure_b.o on or static data member alueType>{ ^ here after previous syntax error }; ^ ../../../externals/codi/include/tapes/forwardEvaluation.hpp(244): error: expected a ";" }; ^ ../../../externals/codi/include/tapes/forwardEvaluation.hpp(245): error: expected a declaration } ^ on or static data member alueType>{ ^ here after previous syntax error }; ^ ../../../externals/codi/include/tapes/forwardEvaluation.hpp(244): error: expected a ";" }; ^ ../../../externals/codi/include/tapes/forwardEvaluation.hpp(245): error: expected a declaration } ^ on or static data member alueType>{ ^ here after previous syntax error }; ^ ../../../externals/codi/include/tapes/forwardEvaluation.hpp(244): error: expected a ";" }; ^ ../../../externals/codi/include/tapes/forwardEvaluation.hpp(245): error: expected a declaration } ^ on or static data member alueType>{ ^ here after previous syntax error }; ^ ../../../externals/codi/include/tapes/forwardEvaluation.hpp(244): error: expected a ";" }; ^ ../../../externals/codi/include/tapes/forwardEvaluation.hpp(245): error: expected a declaration } ^ on or static data member alueType>{ ^ here after previous syntax error }; ^ ../../../externals/codi/include/tapes/forwardEvaluation.hpp(244): error: expected a ";" }; ^ ../../../externals/codi/include/tapes/forwardEvaluation.hpp(245): error: expected a declaration } ^ /usr/include/c++/4.4.7/iomanip(92): error: identifier "_Setiosflags" is undefined inline _Setiosflags ^ ame setiosflags(ios_base::fmtflags __mask) ^ ly inline _Setiosflags ^ /usr/include/c++/4.4.7/iomanip(93): error: expected a ")" ...... The complete log file is in the attachment. Thank you! Last edited by Haowang; April 9, 2017 at 05:19. Reason: Adding new infromation |
|
April 12, 2017, 05:11 |
|
#2 |
Super Moderator
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 11 |
Hi Hao,
with the last major release, the minimum compiler versions for the AD build are now GCC >= v4.7, Clang >= v3.0 or Intel C++ >= v12.0 because we need C++11 features. It looks like you are using GCC 4.4.7 which is not supported anymore ... Tim |
|
April 13, 2017, 01:12 |
|
#3 | |
New Member
WANG,Hao
Join Date: Sep 2016
Location: Xi'an China
Posts: 19
Rep Power: 10 |
Quote:
/vol6/software/python-2.7.11/lib:/vol6/software/mpi/mpi-intel2013/lib: The attachment is the config.log in the SU2_AD folder. I hope someone couldhelp me to find some clue. By the way, i've build the SU2 in parallel build model successfully on the same HPC system. Thanks again! |
||
April 30, 2017, 12:22 |
|
#4 | |
New Member
WANG,Hao
Join Date: Sep 2016
Location: Xi'an China
Posts: 19
Rep Power: 10 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 19:56 |
Need ideas-fuel discharge system | Jan | FLUENT | 1 | October 11, 2006 00:05 |
Need ideas-fuel discharge system | Jan | CFX | 1 | October 9, 2006 09:16 |
Need ideas-fuel delivery system | Jan | Fidelity CFD | 0 | October 9, 2006 05:30 |
Need ideas-fuel discharge system | Jan | Main CFD Forum | 0 | October 9, 2006 05:27 |