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

Make Error AD Build

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 28, 2019, 12:34
Default Make Error AD Build
  #1
New Member
 
Amir Bagheri
Join Date: Feb 2019
Location: Southampton, UK
Posts: 11
Rep Power: 7
Amirkb is on a distinguished road
Hi All,

It seems that the AD build fails with OpenMPI 4.0.0. I don't really know where the source of error is, but I suspect it's with CGNS and how it's handled by OpenMPI?

The error is as follows:

In file included from ../../../Common/lib/../src/../include/./mpi_structure.hpp:42:0,
from ../../../Common/lib/../src/../include/geometry_structure.hpp:41,
from ../../../Common/lib/../src/fem_cgns_elements.cpp:34:
/usr/local/include/mpi.h:2633:20: note: declared here
OMPI_DECLSPEC int MPI_Keyval_free(int *keyval)
^~~~~~~~~~~~~~~
Makefile:1504: recipe for target '../src/libSU2_AD_a-fem_cgns_elements.o' failed
make[2]: *** [../src/libSU2_AD_a-fem_cgns_elements.o] Error 1
make[2]: Leaving directory '/home/akb1r19/CFD_Solvers/SU2/SU2-6.2.0/SU2_AD/Common/lib'
Makefile:441: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/home/akb1r19/CFD_Solvers/SU2/SU2-6.2.0/SU2_AD'
Makefile:13: recipe for target 'install-SU2_AD' failed
make: *** [install-SU2_AD] Error 2

My pregonfigure command is:

export CXXFLAGS="-O3" && sudo ./preconfigure.py --enable-autodiff --prefix=/home/akb1r19/CFD_Solvers/SU2/Instldir --enable-mpi --with-cc=/usr/local/bin/mpicc --with-cxx=/usr/local/bin/mpicxx &>preconfig.out

Attaching the whole make output, and the preconfigure log files here too.
I have successfully been able to compile with AD on a cluster with Intel MPI (2017.4.239). I run the exact same commands and it compiles without issue. I haven't tried mpich yet to see if the error persists. Any thoughts?

Thanks,
Amir
Attached Files
File Type: txt make.out.txt (49.3 KB, 1 views)
File Type: txt conf_SU2_BASE.log.txt (8.1 KB, 0 views)
File Type: txt config.log.base.txt (31.8 KB, 0 views)
File Type: txt conf_SU2_AD.log.txt (8.3 KB, 1 views)
File Type: txt config.log.ad.txt (32.3 KB, 2 views)

Last edited by Amirkb; March 4, 2019 at 08:55. Reason: Making question more concise and easier to understand.
Amirkb is offline   Reply With Quote

Old   March 4, 2019, 14:29
Default SImilar Problem
  #2
New Member
 
EamonnC
Join Date: Oct 2018
Location: Ireland
Posts: 8
Rep Power: 7
Buxwax is on a distinguished road
I have a similar problem, would be a great help if anyone could help here.
Buxwax is offline   Reply With Quote

Old   March 4, 2019, 18:23
Default hdf5?
  #3
New Member
 
Amir Bagheri
Join Date: Feb 2019
Location: Southampton, UK
Posts: 11
Rep Power: 7
Amirkb is on a distinguished road
It has occurred to me that perhaps I need to compile hdf5 on my system for the parallel integration of CGNS with OpenMPI?

I'm going to try it tomorrow and report back.

Amir
Amirkb is offline   Reply With Quote

Old   March 5, 2019, 12:46
Smile Problem Solved
  #4
New Member
 
Amir Bagheri
Join Date: Feb 2019
Location: Southampton, UK
Posts: 11
Rep Power: 7
Amirkb is on a distinguished road
Hi all,

For those who are facing the same problem, I tried with OpenMPI 3.0.3 instead of 4.0.0 and the AD build was succesful.

Please refer to issue #659 on SU2's GitHub repository for more info.

https://github.com/su2code/SU2/issues/659

Amir
Amirkb is offline   Reply With Quote

Reply

Tags
su2 ad


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 Parallel Build Install Issue jclegg SU2 4 October 20, 2020 04:28
On compiling examples of CGNS nba1942 Main CFD Forum 4 October 9, 2015 03:27
Building from Source on Windows using Cygwin64 ericthefatguy SU2 2 May 12, 2015 18:23
Hardware build review/advise for student desktop AerE Hardware 10 July 5, 2013 06:03
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 flakid OpenFOAM Installation 16 December 28, 2010 08:48


All times are GMT -4. The time now is 22:29.