1
1
Граф коммитов

1176 Коммитов

Автор SHA1 Сообщение Дата
Ralph Castain
d3d3e73099 Per request from George, use defined(__APPLE__) instead of OPAL_HAVE_MAC. Don't try to close a negative socket 2015-05-15 07:13:42 -06:00
Ralph Castain
8e30579e6e The Mac appears to have problems with the keepalive support - once keepalive starts, the memory footprint soars. So disable keepalive on the Mac 2015-05-14 18:09:13 -06:00
Gilles Gouaillardet
c4ebdba035 always align words if heterogeneous support is enabled 2015-05-14 15:54:21 +09:00
Gilles Gouaillardet
973a9ec247 configury: fix the error message of the --enable-mpi-fortran option 2015-05-14 15:39:43 +09:00
Ralph Castain
a49d965332 Remove stale file 2015-05-09 07:08:50 -07:00
Jeff Squyres
286c018120 fortran configury: minor updates
* Add a few minor comments
* Rename $OMPI_WANT_FORTRAN_BINDINGS -> $OMPI_MIN_REQUIRED_FORTRAN_BINDINGS
* Minor whitespace cleanups
* Change an "if ..." to an AS_IF
2015-05-08 09:23:55 +09:00
Gilles Gouaillardet
dd572a0838 Fix --with-fortran=... logic 2015-05-08 09:23:55 +09:00
Gilles Gouaillardet
1f525b06f0 configury: add support for Fujitsu compilers.
Fujitsu compilers used with the GNU compatibility option (-Xg)
do not yet support all the gnu flags (e.g. -pedantic) and that can
cause the linker (and hence configure) crash.
Fujitsu compilers are identified by the __FUJITSU macro.
2015-04-30 15:04:53 +09:00
Jeff Squyres
60127b1caa distscript: hugely simplify
Based on initial suggestions from Paul Hargrove
(http://www.open-mpi.org/community/lists/devel/2015/04/17354.php),
simplify the distscript.sh; it really only has to do one thing:
substitute the repo_rev in VERSION.
2015-04-27 06:50:40 -07:00
Jeff Squyres
7d870c8b9e Merge pull request #550 from jsquyres/pr/turn-down-for-WHAT
RFC: opal_config_asm.m4: enable inline assembly on little-endian POWER
2015-04-25 06:25:11 -04:00
Jeff Squyres
0afda878a2 opal_config_asm: remove support for OS X Leopard
We haven't supported OS X Leopard (10.5) for a long time.  So remove
this dead code.
2015-04-24 03:43:56 -07:00
Ralph Castain
df2f002657 Update the name of the distscript.[c]sh file 2015-04-23 18:21:30 -07:00
Nathan Hjelm
b64cf39c3e Remove unnecessary quoting from variables in distscript.sh
Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2015-04-23 13:27:31 -06:00
Nathan Hjelm
deb1542d0d Convert csh script distscript.csh into a POSIX sh script
This commit removes the only cshell script in the Open MPI
project.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2015-04-23 11:36:12 -06:00
Jeff Squyres
f7b8c11027 opal_config_asm.m4: enable inline assembly on little endian POWER
Suggested by Paul Hargrove,
http://www.open-mpi.org/community/lists/devel/2015/04/17323.php,
amended by Nysal Jan for 32 bit, too.
2015-04-23 05:43:24 -07:00
Jeff Squyres
7da50433f7 opal_check_package: make the var name match
The cache variable now only needs the function name, not the lib name.
2015-04-23 03:22:38 -07:00
Jeff Squyres
97444d82f1 config/Makefile.am: add config/find_common_syms to EXTRA_DIST 2015-04-16 10:08:53 -07:00
Jeff Squyres
2462328ccc config/Makefile.am: whitespace cleanup
No code changes.
2015-04-16 08:56:16 -07:00
Nathan Hjelm
81502fafa8 Merge pull request #379 from hjelmn/remove_enable_smp_locks
Per-RFC: remove the --disable-smp-locks configure option
2015-04-15 10:02:23 -06:00
Dave Goodell
8085edc27c build: detect common symbols at install time
This adds a check at `make install` time to look for common symbols.  It
attempts to ignore "Fortran-shaped" symbols by default.  It also will
look in the source tree for any files named "common_sym_whitelist" and
will ignore any symbols listed in that file (one per line, comments
allowed).

See open-mpi/ompi#375 for more background.
2015-04-14 14:54:26 -07:00
Jeff Squyres
9ac9be15c4 opal_config_subdir.m4: do not export vars before invoking subdir configure
== Short version

Do not export special variables into the environment (e.g., LIBS,
LDFLAGS, etc.) when invoking subdir configure scripts.  This prevents
problems described in open-mpi/ompi#471.

== More detail

Exporing special env variables before invoking a subdir configure
script causes problems in some cases.  E.g., in open-mpi/ompi#471,
when the user configures with `--with-hwloc=/path/to/hwloc`, and that
directory is *not* in a default linker search location will cause the
libevent subdir configuration to fail.

This happens because:

1. We'll pass LIBS="-L/path/to/hwloc/lib -lhwloc" to the libevent
   configure script
1. Meaning: configure-generated executables will link successfully
1. But unless LD_LIBRARY_PATH (or some other
   tell-the-linker-where-to-find-things mechanism) includes
   /path/to/hwloc/lib, the executable can't run.

Specifically, the libevent "hey, does the compiler generate proper
executables?" check will fail, and configure will abort (because OMPI
needs libevent).

I checked the history: exporting these vars dates all the way back to
LAM/MPI.  I can't think of a reason why we need to export these
variables -- AC_CONFIG_SUBDIRs doesn't do it; subdir configure scripts
should be orthogonal from the upper-layer configure script (and its
variables).  So let's remove these export statements and see if
anything breaks.
2015-04-14 07:04:01 -07:00
Jeff Squyres
24fe86b74f opal_config_subdir[_args].m4: use OPAL_VAR_SCOPE_PUSH/POP 2015-04-14 07:04:01 -07:00
Jeff Squyres
f9b7b9f6b2 opal_config_subdir.m4: remove some dead code 2015-04-14 07:04:01 -07:00
Howard Pritchard
28046cdca7 Merge pull request #499 from hppritcha/topic/alps_configury
configury/alps: reduce alps verbosity
2015-03-27 13:19:04 -06:00
Howard Pritchard
f7bf2f7d83 configury/alps: reduce alps verbosity
reduce chattiness of orte_check_alps.

Signed-off-by: Howard Pritchard <howardp@lanl.gov>
2015-03-27 11:50:05 -07:00
Jeff Squyres
7f3aab9cfa opal_get_version.m4sh: remove stale code
Since getting the git version is very fast (vs. "svnversion"), we
aren't using the opal_ver_need_repo_rev var any more.  So remove this
stale code.
2015-03-26 14:38:17 -07:00
Jeff Squyres
71aae38540 opal_setup_cc.m4: add comment with the specific warning
Also collapse a grep/test into a single statement.
2015-03-26 04:13:53 -07:00
Jeff Squyres
a50f103c0f opal_setup_cc.m4: don't use -finline-functions with clang
Some versions of clang (at least >= 3.5 -- perhaps older versions,
too?) will *warn* about -finline-functions, but still allow it.  This
is very annoying, so check for that warning, too.
2015-03-25 10:31:51 -07:00
Jeff Squyres
0166318966 opal_check_pmi: protect un-prefixed shell variables
Since there's unfortunately only a global namespace for shell
variables, we need to protect un-prefixed shell variables with
OPAL_VAR_SCOPE_PUSH/POP.
2015-03-13 04:48:31 -07:00
Jeff Squyres
914880a368 libtldl: remove libltdl from the tree
The libltdl interface has been completely replaced by the OPAL DL
framework (i.e., the opal_dl interface).

Fixes open-mpi/ompi#311
2015-03-09 08:18:14 -07:00
Jeff Squyres
1995f6beba cuda: convert to opal_dl interface 2015-03-09 08:18:13 -07:00
Jeff Squyres
d6530b0e99 opal_check_package: use AC_SEARCH_LIBS instead of AC_CHECK_LIB
Per discussion on devel
(http://www.open-mpi.org/community/lists/devel/2015/02/17030.php), and
per Autoconf 2.69 docs, use the recommended AC_SEARCH_LIBS instead of
AC_CHECK_LIB (e.g., for functions that appear in libc on some
platforms and in a specific library on other platforms).
2015-03-09 08:15:38 -07:00
Nathan Hjelm
ac82d1a6be Per-RFC: remove the --disable-smp-locks configure option
Use of this configuration option can cause crashing, hanging, and
(worse) incorrect results when btl/sm, btl/scif, or btl/vader are
in use. We discussed this at the January 2015 developers meeting
and it was decided to remove the option entirely. This commit does
just that. All usage of OPAL_WANT_SMP_LOCKS has been removed.
2015-03-04 11:31:43 -07:00
Ralph Castain
1c1d9f69f6 Update the PMI configury to support addition of --with-pmi-libdir option for environments that install the PMI libs in a non-default location 2015-02-27 10:48:28 -08:00
Jeff Squyres
ece8d09b84 opal_setup_wrappers.m4: avoid some repetitive code
Honestly, a bunch of this code could use similar treatment (i.e.,
AC_DEFUN a template that can be used for OPAL/ORTE/OMPI).  However, I
don't quite have time for this today.  Exercise left for the future reader...
2015-02-23 13:54:50 -08:00
Jeff Squyres
f3fd088493 opal_setup_wrappers.m4: whitespace cleanup
No code changes
2015-02-23 13:35:12 -08:00
Jeff Squyres
9b716d946e wrappers: fix errant @{libdir} reference in pkg-config files
The RPATH support added a @{libdir} token into
<package>_WRAPPER_EXTRA_LDFLAGS.  However, these flags are also
substituted into the pkg-config data files, and they don't understand
the @{foo} notation.  So convert @{libdir} into ${libdir}, which
pkg-config *does* understand.

Thanks to Christoph Junghans (@junghans) for notifying us of the issue.

Fixes #406.
2015-02-20 08:43:19 -08:00
Nathan Hjelm
cf91156105 btl/openib: add atomic operation support
Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2015-02-13 11:46:36 -07:00
Jeff Squyres
c368699bde configury: whitespace cleanup
No code changes.
2015-02-09 20:49:04 -08:00
Jeff Squyres
0acdf34044 configury: --enable-dist ceased being useful long ago
The --enable-dist flag is a relic from a prior iteration of the build
system.  It isn't necessary any more.
2015-02-09 20:49:04 -08:00
Jeff Squyres
1f3823b4f7 distscript.csh: no need to get config.sub|guess from upstream
It used to be important to get the latest config.sub and config.guess
from upstream because architectures were changing rapidly, and the GNU
Autotools released super-slowly.

However, architectures have not been changing nearly as fast -- the
versions of config.guess and config.sub that ship in the GNU Autotools
are fine.  So let's stop getting upstream config.guess|sub from
upstream as part of "make dist".
2015-02-09 20:49:04 -08:00
Jeff Squyres
ffe891a460 opal_setup_cc: remove the -fno-common flag
Per open-mpi/ompi#381, this probably wasn't a good idea.

(cherry picked from commit 8ec69f3375f546752960ba3fcb7bd0957eb595c7)
2015-02-05 14:39:14 -08:00
Gilles Gouaillardet
b42e344129 configury: force OPAL_HAVE_CMPXCHG16B=0 on buggy compilers
per several reports on the devel ML, the opal_lifo test hangs
with intel icc 14.0.0.080 (aka 2013sp1) and intel icc 14.0.1.106 (aka 2013sp1u1).
/* older and more recents compilers work fine
 * buggy compilers work also fine but only with -O0 */
2015-02-05 13:24:12 +09:00
Jeff Squyres
41cfad1e0d opal_setup_cc.m4: clean up and unify the CFLAGS tests
Combine a few of the tests and streamline them a bit.

Make the check for -Wno-long-double and -Wstrict-prototypes be for all
compilers, not just GCC.
2015-02-04 10:40:56 -08:00
Jeff Squyres
1d3c4bd7ac opal_setup_cc.m4: whitespace cleanup
No code changes.
2015-02-04 10:40:56 -08:00
Jeff Squyres
e87a6a04c7 opal_setup_cc.m4: see if -fno-common is supported
If we want picky compilation, add -fno-common to CFLAGS if it is
supported.
2015-02-04 10:40:56 -08:00
Gilles Gouaillardet
c52595b12f config/oshmem_*: portability fixes
convert "test ... -o" to "test ... ||"
convert "test ... -a" to "test ... &&"
2015-02-03 15:35:45 +09:00
Gilles Gouaillardet
f5caa39cdb config/orte_*: portability fixes
convert "test ... -o" to "test ... ||"
convert "test ... -a" to "test ... &&"
2015-02-03 15:33:13 +09:00
Gilles Gouaillardet
b4c333fe9b config/opal_*: portability fixes
convert "test ... -o" to "test ... ||"
convert "test ... -a" to "test ... &&"
2015-02-03 15:19:22 +09:00
Gilles Gouaillardet
8fc7c79579 config/ompi_*: portability fixes
convert "test ... -o" to "test ... ||"
convert "test ... -a" to "test ... &&"
2015-02-03 14:50:32 +09:00