Carl --

I'm not able to reproduce your error.  What does config.log say?


On Feb 5, 2021, at 2:36 PM, Carl Ponder via users 
<users@lists.open-mpi.org<mailto:users@lists.open-mpi.org>> wrote:

I usually build OpenMPI using these flags
--enable-mpi-cxx --enable-mpi-cxx-seek --enable-cxx-exceptions
but get this error for the 4.1.0 source
checking for compiler exception flags... -fexceptions
checking to see if C compiler likes the exception flags... no
configure: WARNING: C++ exception flags are different between the C and C++ 
compilers; this configure script cannot currently handle this scenario.  Either 
disable C++ exception support or send mail to the Open MPI users list.
configure: error: *** Cannot continue
with both the GCC 10.2.0 & PGI 21.1 compilers.
The problem goes away by removing the --enable-cxx-exceptions  flag, but (a) is 
there a solution that doesn't involve removing capabilities, and (b) is this a 
bug that needs to be fixed in the source?


--
Jeff Squyres
jsquy...@cisco.com<mailto:jsquy...@cisco.com>

Reply via email to