Added notes about Solaris Studio and Ubuntu. Also added check for gccfss being the compiler and abort configure if it is.
This commit was SVN r25903.
Этот коммит содержится в:
родитель
63a96e92b5
Коммит
e61a407860
10
README
10
README
@ -236,6 +236,16 @@ Compiler Notes
|
||||
Therefore the make install fails. So we suggest that one should
|
||||
use CXX=CC, which works, instead of CXX=sunCC.
|
||||
|
||||
- If one tries to build OMPI on Ubuntu with Solaris Studio using the C++
|
||||
compiler and the -m32 option you might see a warning:
|
||||
"CC: Warning: failed to detect system linker version, falling back to
|
||||
custom linker usage"
|
||||
Then the build will fail. One can overcome this error by either
|
||||
setting LD_LIBRARY_PATH to the location of the 32 bit libraries (most
|
||||
likely /lib32) or giving LDFLAGS="-L/lib32 -R/lib32" to the configure
|
||||
command. Officially Solaris Studio is not supported on Ubuntu Linux
|
||||
distributions so additional problems might be incurred.
|
||||
|
||||
- At least some versions of the Intel 8.1 compiler seg fault while
|
||||
compiling certain Open MPI source code files. As such, it is not
|
||||
supported.
|
||||
|
@ -10,6 +10,7 @@ dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
||||
dnl University of Stuttgart. All rights reserved.
|
||||
dnl Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
dnl All rights reserved.
|
||||
dnl Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved.
|
||||
dnl $COPYRIGHT$
|
||||
dnl
|
||||
dnl Additional copyrights may follow
|
||||
@ -110,7 +111,25 @@ AC_DEFUN([_OMPI_CHECK_COMPILER_VENDOR], [
|
||||
# GNU
|
||||
AS_IF([test "$ompi_check_compiler_vendor_result" = "unknown"],
|
||||
[OMPI_IFDEF_IFELSE([__GNUC__],
|
||||
[ompi_check_compiler_vendor_result="gnu"])])
|
||||
[ompi_check_compiler_vendor_result="gnu"
|
||||
|
||||
# We do not support gccfss as a compiler so die if
|
||||
# someone tries to use said compiler. gccfss (gcc
|
||||
# for SPARC Systems) is a compiler that is no longer
|
||||
# supported by Oracle and it has some major flaws
|
||||
# that prevents it from actually compiling OMPI code.
|
||||
# So if we detect it we automatically bail.
|
||||
|
||||
if ($CC --version | grep gccfss) >/dev/null 2>&1; then
|
||||
AC_MSG_RESULT([gccfss])
|
||||
AC_MSG_WARN([Detected gccfss being used to compile Open MPI.])
|
||||
AC_MSG_WARN([Because of several issues Open MPI does not support])
|
||||
AC_MSG_WARN([the gccfss compiler. Please use a different compiler.])
|
||||
AC_MSG_WARN([If you didn't think you used gccfss you may want to])
|
||||
AC_MSG_WARN([check to see if the compiler you think you used is])
|
||||
AC_MSG_WARN([actually a link to gccfss.])
|
||||
AC_MSG_ERROR([Cannot continue])
|
||||
fi])])
|
||||
|
||||
# Borland Turbo C
|
||||
AS_IF([test "$ompi_check_compiler_vendor_result" = "unknown"],
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user