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

1226 Коммитов

Автор SHA1 Сообщение Дата
Gilles Gouaillardet
645310612b configury: replace ompi_check_openib_happy with opal_check_openib_happy 2015-10-13 14:12:52 +09:00
Jeff Squyres
eeddb7abc1 ompi_setup_mpi_fortran.m4: add more verbosity
Add a little more to the verbose messages from d7e6daf.
2015-10-12 10:26:08 -07:00
Jeff Squyres
fcb7fc6b56 Merge pull request #990 from ggouaillardet/topic/f08_vs_pmpi
configury: do not build usempif08 is PMPI is not built
2015-10-12 13:24:22 -04:00
Gilles Gouaillardet
d7e6daf75f configury: do not build usempif08 is PMPI is not built
this is a revamp of commit open-mpi/ompi@2d1a8fa920
Thanks Jeff for the review !
2015-10-08 09:04:07 +09:00
Mike Dubman
a120fe4a14 BUILD: add --with-platform-patches-dir=DIR flag to configure
allow to override default patch dir to arbitrary.
2015-10-07 16:18:48 +03:00
Mike Dubman
eb883ae98f BUILD: allow specifying platform patch_dir from cmd line
before:

patch_dir=$PLATFORM.patches

after

patch_dir can be specified as ./configure <....> patch_dir=/usr/local/site_ompi_v_x.y_patches/
if not specified - use default
2015-10-07 09:31:49 +03:00
Gilles Gouaillardet
2d1a8fa920 fortran: do not build the f08 bindings if PMPI is not built 2015-10-05 09:43:46 +09:00
Mike Dubman
e280be3dff Revert "BUILD: log applied patches into config.log" 2015-10-04 08:12:05 +03:00
Mike Dubman
5d83aa8cdc BUILD: log applied patches to config.log 2015-10-01 10:06:17 +03:00
Mike Dubman
2333f8249f Merge pull request #914 from miked-mellanox/topic/platform_vendor_patches
BUILD: add support for platform specific patches
2015-09-30 09:22:41 +03:00
Mike Dubman
7502d2a779 BUILD: add support for vendor specific patches
./configure --with-platform=contrib/platform/$name will apply all patches
found in contrib/platform/$name.patches/ directory during "configure" phase.

It allows vendors to distribute not-accepted or vendor-specific patches as
part of standard ompi tarball and reduce burden of keeping private repos.

Added:

* VPATH support
* $srcdir/.platform_patches file created if patches already applied
* configure will fail with error if patch cannot be applied (using dry-run)
* configure will fail if patches modifying *.[am,m4] files (unsupported)
* remove unused patch_errors var
* set with_ident_string if platform file applied patches
2015-09-29 09:47:40 +03:00
bosilca
984b35b860 Merge pull request #633 from bosilca/topic/enable_atomics
Enable by default the _sync version of atomic operations on OS X.
2015-09-28 12:03:08 -04:00
Howard Pritchard
6cdb73ce77 configury: fix tkr macro so it can compile
The tkr m4's fortran couldn't be compiled
by gfortran.  pointer assignment followed by
variabl definition didn't compile.

Signed-off-by: Howard Pritchard <howardp@lanl.gov>
2015-09-25 12:22:50 -05:00
Jeff Squyres
3698621df0 fortran ignore TKR: update for strange Intel 2016 compiler suite behavior
The Intel 2016 compiler suite apparently only partially supports the
!GCC pragmas (prior versions either didn't support it at all, or our
existing configure test was sufficient to disqualify !GCC pragma
support when compiling with the Intel compiler).

With the existing configure test, the Intel 2016 compiler suite would
*pass* the test and therefore think that it could use !GCC as the
"ignore TKR" pragma.  However, the "!GCC ATTRIBUTES NO_ARG_CHECK"
pragma doesn't work with scalar integers (although it seems to work
for the other types in this test).

This commit adds a scalar integer test to the ignore TKR pragma
configure test, which is enough to make the Intel 2016 compiler suite
fail with !GCC (this then allows configure to advance on to trying the
!DEC pragma, which *does* work properly with the Intel 2016 compiler
suite).

Thanks to Fabrice Roy for reporting the problem.

Fixes open-mpi/ompi#937.
2015-09-24 22:24:30 -07:00
Ralph Castain
0b3f4c55f8 Do not use "==" in configure "test" calls
Thanks to Kevin Buckley for pointing it out
2015-09-20 21:34:27 -07:00
Jeff Squyres
66dda00f06 fortran configiry: test for USE...ONLY support
As of v15.7, the PGI Fortran compiler does not properly support how
Open MPI uses the "USE ... ONLY" Fortran syntax to include modules
with conflicting symbol definitions (interestingly, pgfortran only has
a problem with this when compiling with -g).

In short, OMPI uses "USE :: module_aaa, ONLY: foo" and "USE ::
module_bbb, ONLY: bar" to use modules aaa and bbb, even though they
contain conflicting definitions for some symbols.  However, the use of
the ONLY clause should preclude the inclusion of the conflicting
symbols -- as the word implies, it should direct the compiler to
*only* use the symbols identified by the clause (i.e., foo and bar, in
this example).

This commit adds a configure test for this capability.  If the
compiler fails to build a simple test that mimics this behavior, then
disable the mpi_f08 bindings.

Fixes open-mpi/ompi#857
2015-09-02 15:55:24 -07:00
Nathan Hjelm
f451876058 Merge pull request #825 from hjelmn/white_space_purge
periodic trailing whitespace purge
2015-08-25 19:23:52 -06:00
Jeff Squyres
93708af013 ompi_setup_mpi_fortran.m4: only set BUILD_SIZEOF if happy=1
Only set OMPI_FORTRAN_BUILD_SIZEOF to 1 if $ompi_fortran_happy is also
1 (i.e., we're building the Fortran interface).  This prevents
building [p]size_f.f90 and trying to compile it if there is no Fortran
compiler, for example.
2015-08-25 07:12:18 -07:00
Nathan Hjelm
156ce6af21 periodic whitespace purge
Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2015-08-24 09:32:33 -06:00
Jeff Squyres
699ab67598 Merge pull request #719 from ggouaillardet/poc/c_fortran_alignment
fortran: (try to) align C objects used by Fortran
2015-08-19 08:55:10 -04:00
Nathan Hjelm
551c2ea480 opal/asm: remove alpha support
This commit removes alpha asm support. No current processor
manufacturer makes chips compatible with DEC alpha and no
participating organization has alpha processors. This makes it
difficult to support alpha via assembly.

This doesn't mean Open MPI will no longer build/work on alpha
processors. It should continue to work with gcc's builtin sync
atomics.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2015-08-18 09:11:38 -06:00
Gilles Gouaillardet
99730f798b fortran: (try to) align C objects used by Fortran
Fortran uses objects (ompi_f08_mpi_comm_world, mpi_fortran_bottom,, ...) that are defined in C.
Some compilers have different requirements on how these objects should be aligned.
Smaller alignment in C can lead to several confusing warnings from the linker, so try to
find the alignment expected by Fortran compiler, and inform the C compiler.
2015-08-18 14:01:20 +09:00
George Bosilca
277269b641 Have the __sync atomics the default. Remove spurious checking and
result messages
2015-08-17 18:08:25 -04:00
George Bosilca
5aadf39545 Clean-up the OS X selection logic. 2015-08-17 18:08:16 -04:00
George Bosilca
3eaefd790c Enable by default the _sync version of atomic operations on OS X. 2015-08-17 18:08:03 -04:00
Gilles Gouaillardet
6118236f1a Merge pull request #796 from ggouaillardet/topic/hcoll_config
configury: fix hcoll, fca and mxm detection and revamp yalla Makefile.am
Thanks to David Shrader and Ake Sandgren for bringing this issue to our attention
2015-08-14 08:55:46 +09:00
Gilles Gouaillardet
7b7842fd5a configury: fix description of the --with-knem option 2015-08-13 17:53:48 +09:00
Gilles Gouaillardet
288e13ba7c configury: fix --with-mxm
* search mxm libs in both DIR/lib and DIR/lib64
 * fix the description of the --with-mxm option
2015-08-13 11:09:26 +09:00
Gilles Gouaillardet
1a238d3a4f configury: fix fca detection
* do not add -I/.../include/fca -I /.../include/fca_core to CPPFLAGS
 * allow configure --with-fca
 * search fca libs in both DIR/lib and DIR/lib64
 * fix the description of the --with-fca option
2015-08-13 11:09:15 +09:00
Gilles Gouaillardet
df98a73131 configury: fix hcoll detection
* do not add -I/.../include/hcoll -I /.../include/hcoll/api to CPPFLAGS
 * allow configure --with-hcoll
 * search hcoll libs in both DIR/lib and DIR/lib64
 * fix the description of the --with-hcoll option
2015-08-13 11:08:56 +09:00
Jeff Squyres
6a7d5271c4 ompi_ext.m4: allow extensions to have config.h.in
Previously, extensions were required to have a config.h for their C
bindings.  This commit allows them to have a config.h.in, in case
their C bindings header file is generated.
2015-08-12 12:22:59 -07:00
Nysal Jan K.A
2d2ea63231 Fix PMI and PMI2 builds 2015-08-11 21:13:45 +05:30
Gilles Gouaillardet
9c77c6b66d fortran: fix f08 bindings
only define the unique fortran symbol depending on
 - CAPS
 - PLAIN
 - SINGLE_UNDERSCORE
 - DOUBLE_UNDERSCORE
and bind the f08 symbol to the uniquely defined C symbol.

Use real data structures to make the code simpler.
(perl script written by Jeff)
2015-07-27 16:28:57 +09:00
Gilles Gouaillardet
f7cf7d5070 configury: fix XRC detection on OFED < 3.12
since ibv_create_xrc_rcv_qp is now deprecated, and in order to
be "future-proof", we have to consider the case in which only XRC Domains are supported.
also, correctly handle distro that ship broken ibverbs devel headers

Thanks Paul Hargrove for the detailled report.
2015-07-13 10:43:22 +09:00
Gilles Gouaillardet
66ef1c3c55 configury: fix fortran binding checks for ompi extensions 2015-07-13 10:17:13 +09:00
Rolf vandeVaart
f1fff56d74 One word change from none to all - new default 2015-07-10 11:23:22 -04:00
Jeff Squyres
4341639a66 Revert "configury: fix (again) XRC detection on OFED < 3.12"
@ggouaillardet is likely offline for the weekend, but master is broken
on RHEL 6.5 systems that do not have MOFED installed.  So I'm taking
the liberty of revering this commit; I'm guessing Gilles will fixup
and re-commit next week.

This reverts commit 77f8282d51.
2015-07-10 06:45:33 -07:00
Gilles Gouaillardet
77f8282d51 configury: fix (again) XRC detection on OFED < 3.12
since ibv_create_xrc_rcv_qp is now deprecated, and in order to
be "future-proof", we have to consider the case in which only XRC Domains are supported.

Thanks Paul Hargrove for the detailled report.
2015-07-10 15:31:45 +09:00
Gilles Gouaillardet
9a49d42f81 configury: fix XRC detection on OFED < 3.12
Thanks Paul Hargrove for the report
2015-07-10 10:21:46 +09:00
Gilles Gouaillardet
8eede3c7f1 configury: fix a typo in XRC support detection
Thanks to Ben Menadue for the report
2015-07-09 13:37:49 +09:00
Gilles Gouaillardet
478120ecb4 configury: fix alignment check of bool when cross-compiling 2015-07-07 11:04:07 +09:00
rhc54
5e6670343e Merge pull request #673 from jsquyres/pr/mpi-extension-defaults
MPI extensions: build extensions by default
2015-06-25 12:38:26 -07:00
Jeff Squyres
fca193d316 MPI extensions: build extensions by default
* affinity: will build unless disabled.
* cr: will build if FT is enabled, unless it is disabled.  It will
  also complain/abort if you --with-mpi-ext=cr, but FT is disabled.
* example: will only build if --with-mpi-ext=example (and .ompi_ignore
  is removed)
2015-06-25 11:28:58 -07:00
rhc54
1a767ed47c Merge pull request #654 from rhc54/topic/config
Remove internal bool type definitions
2015-06-25 09:10:21 -07:00
Ralph Castain
536faf3f39 Add requested comment 2015-06-24 08:42:02 -07:00
Ralph Castain
57b7c44aec Cleanup the rest of the no-longer-required bool configury 2015-06-24 08:25:49 -07:00
Ralph Castain
869041f770 Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
Andrew Friedley
2c9be59b37 Add new PSM2 MTL.
This new MTL runs over PSM2 for Omni Path.  PSM2 is a descendant of PSM
with changes to support more ranks and some MPI-3 features like mprobe.

PSM2 will only support Omni Path networks; PSM only supports True Scale.
Likewise, the existing PSM MTL will continue to be maintained for True
Scale, while the PSM2 MTL is developed and maintained for Omni Path.
2015-06-22 07:55:46 -07:00
Jeff Squyres
0b343fa599 opal_check_libfabric.m4: add libfabric m4 macro
Similar to other m4 macros checking for the existence / usability of
external libraries.
2015-06-15 15:17:05 -07:00
Mike Dubman
be5601b5d0 build: fix mxm configure
configure w/ CPPFLAGS/LDFLAGS can add empty -L statement from mxm
Thanks to David Shrader <dshrader@lanl.gov> for patch
2015-05-27 09:59:42 +03:00