Make Error AD Build
5 Attachment(s)
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 |
SImilar Problem
I have a similar problem, would be a great help if anyone could help here.
|
hdf5?
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 |
Problem Solved
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 |
All times are GMT -4. The time now is 16:43. |