Jeff, I am not aware of such flag for C/C++ compilers.
Jan, I noticed checking size of Fortran DOUBLE PRECISION... 16 At first glance, this looks surprising to me Which compiler (vendor and version) are you using ? Cheers, Gilles On Monday, December 19, 2016, Jeff Squyres (jsquyres) <jsquy...@cisco.com> wrote: > You'll need to set CFLAGS and CXXCFLAGS to the equivalent, too. > > For example: > > ./configure FCFLAGS=-fdefault-real-8 CFLAGS=-fdefault-real-8 > CXXCFLAGS=-fdefault-real-8 ... > > (I don't know if -fdefault-real-8 is the correct flags for your C and C++ > compilers -- you might need to poke through your docs to find the Right > flags) > > > > On Dec 19, 2016, at 3:54 AM, 🐋 Jan Hegewald <jan.hegew...@awi.de > <javascript:;>> wrote: > > > > > >> On 16 Dec 2016, at 20:42, Jeff Squyres (jsquyres) <jsquy...@cisco.com > <javascript:;>> wrote: > >> > >> If you don't build Open MPI and your application with the same compiler > flags, weird things like this are bound to happen. Make sure Open MPI is > built the same way. > > > > I have no success building open-mpi with -fdefault-real-8: > > > > cd openmpi-2.0.1 > > FCFLAGS=-fdefault-real-8 ./configure > > > > ... > > checking for C type matching bit representation of REAL*16... pending > > checking if long double == REAL*16... no > > checking if gnu compiler __float128 == REAL*16... works! > > checking for C type matching bit representation of REAL*16... yes > > checking if Fortran compiler supports DOUBLE PRECISION... yes > > checking size of Fortran DOUBLE PRECISION... 16 > > checking for C type corresponding to DOUBLE PRECISION... long double > > checking alignment of Fortran DOUBLE PRECISION... 16 > > checking for corresponding KIND value of DOUBLE PRECISION... > C_LONG_DOUBLE > > checking KIND value of Fortran C_LONG_DOUBLE... (cached) 10 > > checking if Fortran compiler supports COMPLEX... yes > > checking size of Fortran COMPLEX... 16 > > checking for C type corresponding to COMPLEX... not found > > configure: WARNING: *** Did not find corresponding C type > > configure: error: Cannot continue > > > > > > Any ideas? > > > > --Jan > > _______________________________________________ > > devel mailing list > > devel@lists.open-mpi.org <javascript:;> > > https://rfd.newmexicoconsortium.org/mailman/listinfo/devel > > > -- > Jeff Squyres > jsquy...@cisco.com <javascript:;> > For corporate legal information go to: http://www.cisco.com/web/ > about/doing_business/legal/cri/ > > _______________________________________________ > devel mailing list > devel@lists.open-mpi.org <javascript:;> > https://rfd.newmexicoconsortium.org/mailman/listinfo/devel
_______________________________________________ devel mailing list devel@lists.open-mpi.org https://rfd.newmexicoconsortium.org/mailman/listinfo/devel