From 1597ee94b76c4cedafc57d45200c616edd9f24b0 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Wed, 29 Mar 2006 23:09:02 +0000 Subject: [PATCH] Update notes on the Portland compiler This commit was SVN r9471. --- README | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/README b/README index faeb880fdf..dace6c28f0 100644 --- a/README +++ b/README @@ -100,6 +100,20 @@ base as of this writing (27 Feb 2006): Tests with later versions show that this has been fixed (e.g., v6.0-5). +- The Portland Group compilers require the "-Msignextend" compiler + flag to extend the sign bit when converting from a shorter to longer + integer. This is is different than other compilers (such as GNU). + When compiling Open MPI with the Portland compiler suite, the + following flags should be passed to Open MPI's configure script: + + shell$ ./configure CFLAGS=-Msignextend CXXFLAGS=-signextent \ + --with-wrapper-cflags=-Msignextend \ + --with-wrapper-cxxflags=-Msignextend ... + + This will both compile Open MPI with the proper compile flags and + also automatically add "-Msignextend" when the C and C++ MPI wrapper + compilers are used to compile user MPI applications. + - Open MPI will build bindings suitable for all common forms of Fortran 77 compiler symbol mangling on platforms that support it (e.g., Linux). On platforms that do not support weak symbols (e.g., @@ -189,10 +203,6 @@ base as of this writing (27 Feb 2006): eliminate the extra overhead of software MPI message matching where possible. -- The Portland Group compilers seem to have a signed/unsigned casting - problem that prevents some of the Intel MPI test suite from - completing properly. The problem has been reported to PGI. - =========================================================================== Building Open MPI