|
[Sponsors] |
February 28, 2019, 13:34 |
Make Error AD Build
|
#1 |
New Member
Amir Bagheri
Join Date: Feb 2019
Location: Southampton, UK
Posts: 11
Rep Power: 7 |
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 Last edited by Amirkb; March 4, 2019 at 09:55. Reason: Making question more concise and easier to understand. |
|
March 4, 2019, 15:29 |
SImilar Problem
|
#2 |
New Member
EamonnC
Join Date: Oct 2018
Location: Ireland
Posts: 8
Rep Power: 8 |
I have a similar problem, would be a great help if anyone could help here.
|
|
March 4, 2019, 19:23 |
hdf5?
|
#3 |
New Member
Amir Bagheri
Join Date: Feb 2019
Location: Southampton, UK
Posts: 11
Rep Power: 7 |
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 |
|
March 5, 2019, 13:46 |
Problem Solved
|
#4 |
New Member
Amir Bagheri
Join Date: Feb 2019
Location: Southampton, UK
Posts: 11
Rep Power: 7 |
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 |
|
Tags |
su2 ad |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SU2 Parallel Build Install Issue | jclegg | SU2 | 4 | October 20, 2020 05:28 |
On compiling examples of CGNS | nba1942 | Main CFD Forum | 4 | October 9, 2015 04:27 |
Building from Source on Windows using Cygwin64 | ericthefatguy | SU2 | 2 | May 12, 2015 19:23 |
Hardware build review/advise for student desktop | AerE | Hardware | 10 | July 5, 2013 07:03 |
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 | flakid | OpenFOAM Installation | 16 | December 28, 2010 09:48 |