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

Error AD build of SU2-5.0.0 on a HPC system

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 5, 2017, 22:57
Default 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
Haowang is on a distinguished road
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!
Attached Files
File Type: txt AD_Build.txt (195.2 KB, 2 views)

Last edited by Haowang; April 9, 2017 at 05:19. Reason: Adding new infromation
Haowang is offline   Reply With Quote

Old   April 12, 2017, 05:11
Default
  #2
Super Moderator
 
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 11
talbring is on a distinguished road
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
talbring is offline   Reply With Quote

Old   April 13, 2017, 01:12
Default
  #3
New Member
 
WANG,Hao
Join Date: Sep 2016
Location: Xi'an China
Posts: 19
Rep Power: 10
Haowang is on a distinguished road
Quote:
Originally Posted by talbring View Post
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
Thanks Tim! I have noticed that requirement. However i was actually using intel2013-mpi3.0.4 to build SU2-5.0.0. I have no idea why it used the lib from gcc4.4. I guess it is because the wrong LD_LIBRARY_PATH. Here is my LD_LIBRARY_PATH:
/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!
Attached Files
File Type: txt config.log.txt (28.0 KB, 1 views)
Haowang is offline   Reply With Quote

Old   April 30, 2017, 12:22
Default
  #4
New Member
 
WANG,Hao
Join Date: Sep 2016
Location: Xi'an China
Posts: 19
Rep Power: 10
Haowang is on a distinguished road
Quote:
Originally Posted by Haowang View Post
Thanks Tim! I have noticed that requirement. However i was actually using intel2013-mpi3.0.4 to build SU2-5.0.0. I have no idea why it used the lib from gcc4.4. I guess it is because the wrong LD_LIBRARY_PATH. Here is my LD_LIBRARY_PATH:
/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!
I have find out the reason. It is indeed the problem of the version of the GCC. I upgraded the GCC compiler and mpich2, then i build SU2 in AD Build successfully.
Haowang is offline   Reply With Quote

Reply


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
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


All times are GMT -4. The time now is 08:58.