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

6170 Коммитов

Автор SHA1 Сообщение Дата
Jeff Squyres
f96fa5ee2a Fixes trac:3146: fix faulty configure tests (that were introduced with the
new Fortran revamp a few months ago) that failed when you compiled
with "ifort -i8".

The secret: "test $foo -eq 0" fails when $foo is sufficiently large.
So instead, use "test "$foo" = "0"".  expr does work with large
integers, though, so one "test -lt" was replaced with expr.

This commit was SVN r26715.

The following Trac tickets were found above:
  Ticket 3146 --> https://svn.open-mpi.org/trac/ompi/ticket/3146
2012-07-02 20:33:11 +00:00
Brian Barrett
d56de80b5d * Properly initialize handle variable as a request (since the coll_libnbc_request contains everything an NBC_Handle used to contain). Not sure how this slipped through...
This commit was SVN r26710.
2012-07-02 16:39:42 +00:00
Jeff Squyres
bcca259302 Fix some Fortran typos.
This commit was SVN r26709.
2012-07-02 16:15:44 +00:00
Brian Barrett
7e67bfa175 Use OMPI's ops instead of the libnbc ops.
This commit was SVN r26708.
2012-07-02 15:47:22 +00:00
Pavel Shamis
f7664b3814 1. Adding 2 new components:
ofacm - generic connection manager for IB interconnects.
ofautils - IB common utilities and compatibility code

2. Updating OpenIB configure code

- ORNL & Mellanox Teams 

This commit was SVN r26707.
2012-07-02 15:20:12 +00:00
Yevgeny Kliteynik
0e28fa984b Remove dead code that was related to ticket #2971
This commit was SVN r26701.
2012-07-02 11:19:09 +00:00
Nathan Hjelm
a847df9ba5 ugni: fix eager get
This commit was SVN r26699.
2012-06-29 15:43:29 +00:00
Jeff Squyres
5d030278e1 Refs trac:3130: Per comment 8 on the ticket, this MX patch fixes the cases
where the MX BTL and MTL are stepping on each other regarding the
mpool.  Thanks to Yong Qin for assistance in tracking this down.

This commit was SVN r26698.

The following Trac tickets were found above:
  Ticket 3130 --> https://svn.open-mpi.org/trac/ompi/ticket/3130
2012-06-29 13:52:40 +00:00
Jeff Squyres
b936229b54 Refs trac:3130: fix the openib BTL to properly set the memalign malloc
hook early in the setup, but ''not'' during the component register
function.  And then properly unset it if was set.

This commit was SVN r26697.

The following Trac tickets were found above:
  Ticket 3130 --> https://svn.open-mpi.org/trac/ompi/ticket/3130
2012-06-29 13:51:36 +00:00
Jeff Squyres
f3a8722360 Fix comment.
This commit was SVN r26696.
2012-06-29 01:38:04 +00:00
Ralph Castain
e335de3564 Refactor ompi_info, splitting it into parts according to the layer involved. Thus, we call down to the opal layer to get those frameworks and components, and down to the orte layer to get those. Still some abstraction breaks, but they mostly involve renaming of OMPI_foo labels that have been around since before we split the build system by layer.
This commit was SVN r26695.
2012-06-28 18:23:34 +00:00
Brian Barrett
0b887ab5a1 * Remove unneeded prototype that was causing compile issues anyway
* Use proper tag space (the negatives below the blocking communicators)
  instead of the point-to-point space
* Use the PML interface instead of the MPI interface, since the MPI
  interface 1) shouldn't be used by components and 2) doesn't like
  negative tags

This commit was SVN r26693.
2012-06-28 16:52:03 +00:00
Edgar Gabriel
b0954a6a3e set the internal OMPIO file pointer to the end of the file if file has been
opened using the APPEND mode.

This commit was SVN r26692.
2012-06-28 15:15:47 +00:00
Edgar Gabriel
32b0dfed31 * set the status _ucount field correctly for individual read and write
operations
* removing a lingering reference to the ylib fcoll component, which will not
be part of the 1.7 branch.

This commit was SVN r26691.
2012-06-28 14:43:56 +00:00
Edgar Gabriel
be6ea52bb4 some further cleanup of resources in case of an error.
This commit was SVN r26690.
2012-06-28 13:58:23 +00:00
Ralph Castain
a1344bc5c0 Add missing header to tarball
This commit was SVN r26689.
2012-06-28 13:07:18 +00:00
Brian Barrett
32e70b691a Re-enable non-blocking collectives in libnbc after finding issue with the definition of
NBC_CACHE_SCHEDULE not being propogated to all uses.

This commit was SVN r26686.
2012-06-27 22:08:19 +00:00
Edgar Gabriel
b7a72feb1d minor code cleanup and make the MPI_MODE_DELETE_ON_CLOSE work
This commit was SVN r26685.
2012-06-27 20:54:58 +00:00
Brian Barrett
d85fdd2605 temporarily back out r26682 and r26683 until I can figure out why they cause crashes during shutdown
This commit was SVN r26684.

The following SVN revision numbers were found above:
  r26682 --> open-mpi/ompi@15a30af11f
  r26683 --> open-mpi/ompi@f6ea4b7234
2012-06-27 19:32:53 +00:00
Brian Barrett
f6ea4b7234 Remove now unneeded header file
This commit was SVN r26683.
2012-06-27 18:43:40 +00:00
Brian Barrett
15a30af11f Turn on all the non-blocking collectives provided by libnbc...
This commit was SVN r26682.
2012-06-27 18:32:57 +00:00
Jeff Squyres
9d87857c25 Warning squash: explicitly ignore the return value from asprintf.
This commit was SVN r26681.
2012-06-27 17:40:24 +00:00
Brian Barrett
3933d0a8f0 Ibarrier works! :)
This commit was SVN r26680.
2012-06-27 15:58:17 +00:00
Terry Dontje
2e014a5226 add mpif-all-common.h to the group of files to be copied as a part of a dist.
This commit was SVN r26679.
2012-06-27 15:16:44 +00:00
Ralph Castain
0dfe29b1a6 Roll in the rest of the modex change. Eliminate all non-modex API access of RTE info from the MPI layer - in some cases, the info was already present (either in the ompi_proc_t or in the orte_process_info struct) and no call was necessary. This removes all calls to orte_ess from the MPI layer. Calls to orte_grpcomm remain required.
Update all the orte ess components to remove their associated APIs for retrieving proc data. Update the grpcomm API to reflect transfer of set/get modex info to the db framework.

Note that this doesn't recreate the old GPR. This is strictly a local db storage that may (at some point) obtain any missing data from the local daemon as part of an async methodology. The framework allows us to experiment with such methods without perturbing the default one.

This commit was SVN r26678.
2012-06-27 14:53:55 +00:00
Josh Hursey
28681deffa Backout the ORCA commit. :(
There is a linking issue on Mac OSX that needs to be addressed before this is able to come back into the trunk.

This commit was SVN r26676.
2012-06-27 01:28:28 +00:00
Josh Hursey
32050f026f protect the ORTE_CHECK_PMI define in the OMPI layer for --no-orte builds
This commit was SVN r26674.
2012-06-27 00:28:37 +00:00
Josh Hursey
eac4913fc6 lorca to lopen-rca
This commit was SVN r26671.
2012-06-26 21:48:02 +00:00
Josh Hursey
542330e3a7 Commit of ORCA: Open MPI Runtime Collaborative Abstraction
This is a runtime interposition project that sits between the OMPI and ORTE layers in Open MPI.

The project is described on the wiki:
  https://svn.open-mpi.org/trac/ompi/wiki/Runtime_Interposition

And on this email thread:
  http://www.open-mpi.org/community/lists/devel/2012/06/11109.php

This commit was SVN r26670.
2012-06-26 21:42:16 +00:00
Jeff Squyres
d7787b625e Fix memchecker usage in these functions -- these variables are not
used.  They're just copy-n-paste errors from the MPI_Reduce_scatter
variants. 

This commit was SVN r26669.
2012-06-26 21:24:45 +00:00
Edgar Gabriel
288d044097 get rid of the fcache framework. It was not being used as originally intended.
This commit was SVN r26668.
2012-06-26 19:53:26 +00:00
Nathan Hjelm
086000ce8d remove mpool/rdma
This commit was SVN r26665.
2012-06-26 15:56:07 +00:00
Nathan Hjelm
37c624ee43 prepare to delete mpool/rdma
This commit was SVN r26664.
2012-06-26 15:55:23 +00:00
Jeff Squyres
ff5cb81faa Fix copy-n-paste error: the 2nd declarations of
PMPI_[Ir|R]educe_scatter should really have been for
PMPI_[Ir|R]educe_scatter_block.  

This commit was SVN r26663.
2012-06-26 14:05:33 +00:00
Jeff Squyres
d55e94678e Fix the names of the profiled versions of wtick/wtime so that the
Fortran compiler knows the return type of the functions.

This commit was SVN r26662.
2012-06-26 13:38:19 +00:00
Jeff Squyres
2ec29ba8d6 Add missing file from r26652.
This commit was SVN r26661.

The following SVN revision numbers were found above:
  r26652 --> open-mpi/ompi@1923f89170
2012-06-26 13:37:49 +00:00
Brian Barrett
7bdeafb772 Start bringing in libnbc. .ompi_ignored, as there's still a long way to go
This commit was SVN r26658.
2012-06-25 22:38:06 +00:00
Edgar Gabriel
6a2dd16ee3 cleaning up the usage of CFLAGS vs. CPPFLAGS. Thanks Jeff for helping with
that!

This commit was SVN r26655.
2012-06-25 20:32:58 +00:00
Edgar Gabriel
7a374c828a leave the wrapper flags as they are, not required to compile the components or
later for an application afterwards. Fixes the configure problem that we faced
on some lustre file systems. 

This commit was SVN r26653.
2012-06-25 20:01:06 +00:00
Jeff Squyres
1923f89170 Limit the types that we import when building the PMPI interfaces (we
already did this for the MPI interfaces).

This commit was SVN r26652.
2012-06-25 20:00:09 +00:00
Jeff Squyres
654259154d Ensure that [P]MPI_Iscan is compiled into the mpifh library on
weak-symbol-supporting systems.

This commit was SVN r26650.
2012-06-25 15:37:08 +00:00
Jeff Squyres
dd70f84e3d Fix some linker problems with MPI_[Ir|R]educe_scatter_block:
* Ensure the profiling version is linked in
 * Ensure that PMPI variants are prototyped in mpi.h
 * Ensure weak symbols are set correctly

This commit was SVN r26649.
2012-06-25 15:26:14 +00:00
Nathan Hjelm
2dbe630138 fix more udapl warnings/errors
This commit was SVN r26648.
2012-06-25 15:18:50 +00:00
Jeff Squyres
b979fe7baf Make a bunch of scripts be executable.
This commit was SVN r26642.
2012-06-22 22:02:45 +00:00
Brian Barrett
b9e8e4aeb9 * Initial merge of the non-blocking collectives interface. No implementation of
the back-end yet, coming real soon now, need to solve some tag issues first.

This commit was SVN r26641.
2012-06-22 20:54:12 +00:00
Jeff Squyres
148ae6d6e3 This commit unifies the configury of some verbs-lovin' components.
* Add new configure command line options and deprecate some old ones:
   * --with-verbs replaces --with-openib
   * --with-verbs-libdir replaces --with-openib-libdir
 * If you specify --with-openib[-libdir] without
   --with-verbs[-libdir], you'll get a "these options have been
   deprecated!" warning, but then they'll act just like
   --with-verbs[--libdir]. 

  '''Sidenote:''' Note that we are not renaming any components at this
  time, nor are we renaming the top-level OMPI_CHECK_OPENIB m4 macro
  (which is pretty strongly tied to the openib BTL and is bastaridzed
  by the ofud BTL).  Note that there will likely be more changes in
  this area coming soon (next week?) when some long-standing changes
  move to the SVN trunk: some openib BTL infrastructure will move to
  ompi/mca/common, and its configury gets split up / refactored.

We extend our philosophy of other --with-<foo> configure options of
--with-verbs to ''all'' verbs-lovin components:

 * If you specify --with-verbs, then all verbs-lovin' components must
   configure successfully (or abort).  This currently means: OOB ud,
   BTL ofud, BTL openib.
 * If you specify --with-verbs=DIR, then all verbs-lovin' component
   must configure successfully (or abort), and will use DIR to find
   verbs headers and libraries.
 * If you specify --without-verbs, then all verbs-lovin' components
   will be ignored.

This commit also fixes a problem where the --with-openib=DIR form
would not use DIR for ''all'' verbs-lovin' components (I think only
BTL openib and BTL ofud used that DIR).  Now all of them do, as does
hwloc (because hwloc has some !OpenFabrics helper functions that
require ibv types from verbs.h).

There's a little new m4 infrastructure worth mentioning:

 * If you create a new verbs-lovin' component (i.e., a component that
   need verbs), your configure.m4 should
   AC_REQUIRE([OPAL_CHECK_VERBS_DIR]). 
 * You can then use three global shell variables: $opal_want_verbs,
   $opal_verbs_dir, $opal_verbs_libdir, which will be set as follows:
   * opal_want_verbs will be "yes" and opal_verbs_dir and
     opal_verbs_libdir will both be set to directory values, '''OR'''
   * opal_want_verbs will be "no" and opal_verbs_dir and
     opal_verbs_libdir will both be set empty

This commit was SVN r26640.
2012-06-22 19:53:56 +00:00
Nathan Hjelm
6a0ccf41e6 one more file
This commit was SVN r26638.
2012-06-22 18:21:57 +00:00
Ralph Castain
e6f3586415 Remove the orte notifier framework, per discussion at the devel meeting and follow-up with Jeff (who took the action item)
This commit was SVN r26637.
2012-06-22 18:09:23 +00:00
Nathan Hjelm
03f00c42b8 fix udapl compile problems from r26626
This commit was SVN r26635.

The following SVN revision numbers were found above:
  r26626 --> open-mpi/ompi@249066e06d
2012-06-22 14:20:45 +00:00
Nathan Hjelm
77f7171186 remove hdr_segkey from OMPI_OSC_RDMA_BASE_HDR_NTOH and OMPI_OSC_RDMA_BASE_HDR_HTON
This commit was SVN r26634.
2012-06-22 14:15:26 +00:00
Nathan Hjelm
249066e06d Timeout! Per RFC update the BTL interface to hide segment keys. All BTLs (with the exception of wv), all relevant PMLs, and osc/rdma have been updated for the new interface.
This commit was SVN r26626.
2012-06-21 17:09:12 +00:00
Brian Barrett
9af72072a3 Use MKDIR_P instead of mkdir_p in Makefiles, as MKDIR_P is the only one
defined in recent versions of AC/AM.

This commit was SVN r26625.
2012-06-21 16:52:37 +00:00
Ralph Castain
1e1c755fbc Remove non-existant windows file
This commit was SVN r26624.
2012-06-21 01:37:36 +00:00
Nathan Hjelm
e3bc6c0f73 btl/ugni: use grdma mpool to take advantage of shared lru
This commit was SVN r26623.
2012-06-20 23:03:59 +00:00
Nathan Hjelm
3d86b5055e btl/ugni: don't call opal_convertor_pack if there is nothing to pack
This commit was SVN r26622.
2012-06-20 23:01:37 +00:00
Nathan Hjelm
f5fd87a446 mpool/grdma: temporarily remove support for remote (local) process eviction and remove ignore.
This commit was SVN r26621.
2012-06-20 23:00:25 +00:00
Terry Dontje
0343dfee77 Add library check for libosmcomp when openib dynamic SL is enabled.
This commit was SVN r26619.
2012-06-19 17:45:56 +00:00
Ralph Castain
0a713cd27e Add database framework to ORTE and refactor modex code to utilize it. Create the "hash" db component from the prior modex db code. Leave the other components ignored for now - will activate them later.
Modex is still a blocking operation at this point.

This commit was SVN r26618.
2012-06-19 13:38:42 +00:00
Yevgeny Kliteynik
df783c0472 Precise speed of FDR and EDR
This commit was SVN r26614.
2012-06-17 07:06:37 +00:00
Ralph Castain
9e0bb6ae28 Revert r26600 and r26601 for a couple of reasons:
1. they modified the OMPI-ORTE interface, which is something I promised to avoid doing unless absolutely necessary, and

2. the framework ident is already in the component name key provided to the modex db. What is missing is the project ident, but as Jeff and I discussed last week, we really need to add that field to the component struct anyway to avoid multi-project collisions on framework names. That will be done over the next couple of weeks as a separate effort.

This commit was SVN r26613.

The following SVN revision numbers were found above:
  r26600 --> open-mpi/ompi@5ba4deff07
  r26601 --> open-mpi/ompi@0e3094c318
2012-06-16 09:11:03 +00:00
Nathan Hjelm
fbd1636ea4 fix seg fault when size == 0
This commit was SVN r26612.
2012-06-15 16:58:23 +00:00
Rolf vandeVaart
d6881f3a4f Rename one function. Add some new functions that can support asynchronous CUDA copies.
This commit was SVN r26611.
2012-06-15 16:56:30 +00:00
Brian Barrett
defaefd59e Clean up resources from flowcontrol on shutdown
This commit was SVN r26605.
2012-06-14 22:38:35 +00:00
Brian Barrett
946ec4cd97 * Update usage of PtlHandleIsEqual to match new semantic
* Properly set message to MPI_MESSAGE_NULL in the right places
* Fix double free of buffer for non-contiguous blocking sends
* Remove useless debugging output

This commit was SVN r26604.
2012-06-14 22:24:23 +00:00
Nathan Hjelm
0d13cbf11c ob1: bug fix. put fallback on send never actually worked. fixed.
This commit was SVN r26602.
2012-06-14 17:29:58 +00:00
Ralph Castain
5ba4deff07 Extend the modex database to support multiple projects and frameworks that might have duplicate component names. No visible API change in the BTL's as it was executed solely in the ompi modex code.
This commit was SVN r26600.
2012-06-14 02:55:06 +00:00
Terry Dontje
634fc278d9 Fix issue with sctp config scripts not detecting netinet/in.h dependency. Also removing tabs from sctp m4 file
This commit was SVN r26599.
2012-06-13 10:38:28 +00:00
Nathan Hjelm
a809881f78 ob1: reset the converter after a failed sendi before trying send
This commit was SVN r26597.
2012-06-12 15:44:47 +00:00
Ralph Castain
269cb2b8d9 Some cleanup to remove calls to opal_progress when running with orte progress threads, and to ensure that all orte-related events are in the orte event base.
This commit was SVN r26591.
2012-06-11 19:59:53 +00:00
Brian Barrett
31279eb641 Fix segfault with long expected messages when using the rndv protocol. We were
freeing the ME before the get to grab the long part of the message.

This commit was SVN r26589.
2012-06-11 16:37:01 +00:00
Brian Barrett
7406ef1241 Make all the PMI components depend on the common pmi library and properly
install the common pmi library

This commit was SVN r26588.
2012-06-11 15:58:09 +00:00
Jeff Squyres
13707ec0af Remove this comment: it turns out that the benefit was to make
multiple SM ''modules'', not multiple SM ''mpools''.

This commit was SVN r26584.
2012-06-08 22:37:26 +00:00
Jeff Squyres
5451ee46bd Per r26575, the sync coll module is no longer necessary!
(the crowd goes wild)

This commit was SVN r26583.

The following SVN revision numbers were found above:
  r26575 --> open-mpi/ompi@59e529cf1d
2012-06-08 19:19:19 +00:00
Ralph Castain
1c246f28f3 Make the "mpi_preconnect_mpi" param invisible as it is only to be used for rare, poorly behaved applications
This commit was SVN r26581.
2012-06-08 00:38:38 +00:00
Nathan Hjelm
59e529cf1d ob1: as per developer discussion disable rdma retries. the failure path currently suffers from live-lock
This commit was SVN r26575.
2012-06-07 23:31:20 +00:00
Nathan Hjelm
4c6be00de2 fix erroneous commit in rdma mpool
This commit was SVN r26572.
2012-06-07 20:01:44 +00:00
Nathan Hjelm
ceee4bcb0d libevent2019: libevent_pthreads.la is never built. don't include it
This commit was SVN r26570.
2012-06-07 19:22:45 +00:00
Jeff Squyres
56a537a5f5 This component wasn't even in 1.5.0; no one has had a GM network in
forever.  There is no point in carrying this component forward.

This commit was SVN r26563.
2012-06-06 21:43:54 +00:00
Shiqing Fan
aa6cde9886 Change f77 to fortran for the rest of windows build files.
This commit was SVN r26558.
2012-06-06 14:09:51 +00:00
Mike Dubman
10831e111a detect num of local procs
This commit was SVN r26555.
2012-06-05 09:13:16 +00:00
Mike Dubman
e9c274f3b9 raise cm prio for mxm as well, somehow was removed from 1.7, exists in 1.6
This commit was SVN r26554.
2012-06-05 09:02:03 +00:00
Matthias Jurenz
ee735e5f9c Changes to VT:
- fixed build issue on Solaris 10 (reported in http://www.open-mpi.org/community/lists/users/2012/05/19396.php)

This commit was SVN r26553.
2012-06-05 07:54:58 +00:00
Yevgeny Kliteynik
1cbce83ece Fixed wording of MXM parameters as suggested By Jeff.
This commit was SVN r26545.
2012-06-03 21:48:42 +00:00
Yevgeny Kliteynik
f02bf707a4 Added MXM parameter "np" that controls the minimal number of processes that allow MXM to run
Default: 128

MXM advantages kick in with large number of processes.

This commit was SVN r26544.
2012-06-02 11:07:20 +00:00
Eugene Loh
e91d3a6f13 Fix test that checked whether C data type matched Fortran REAL*16.
The test was comparing 1.1L to Fortran's 1.1, which was sometimes
a single-precision/truncated value, even if stored in a REAL*16 word.

This commit was SVN r26543.
2012-06-01 23:33:00 +00:00
Jeff Squyres
8d161af059 Move hwloc_cpuset_t prettyprint routines down into the hwloc base:
* opal_hwloc_base_cset2str(): Make a human-readable string of a
   hwloc_cpuset_t (e.g., socket 2[core 3[hwt 1]])
 * opal_hwloc_base_cset2mapstr(): Make a map-like string of a
   hwloc_cpuset_t (e.g., [B./..])

This commit was SVN r26532.
2012-06-01 16:02:18 +00:00
Nathan Hjelm
71bffa5158 ugni: update to latest btl code. bug fixes and cleanup
This commit was SVN r26529.
2012-05-31 20:02:41 +00:00
Edgar Gabriel
3ccd286de1 silence a compiler warning for optimized builds.
This commit was SVN r26528.
2012-05-31 13:32:10 +00:00
Jeff Squyres
a5e46a83ad Fixes trac:3109: patch from Patrick LeDot/Bull -- fix MPI_COMPLEX8, 16,
and 32.

This commit was SVN r26527.

The following Trac tickets were found above:
  Ticket 3109 --> https://svn.open-mpi.org/trac/ompi/ticket/3109
2012-05-30 14:08:30 +00:00
Vishwanath Venkatesan
86a57c7b66 Initializing sorted_file_offsets to NULL
This commit was SVN r26526.
2012-05-30 06:56:40 +00:00
Jeff Squyres
99c5afb397 Remove clang compiler warnings.
This commit was SVN r26523.
2012-05-29 23:36:06 +00:00
Terry Dontje
951131b58d add exit code to mpijavac dependent on the result of javac command
This commit was SVN r26515.
2012-05-29 18:44:08 +00:00
Jeff Squyres
91bae49090 A bunch of fixes to the f08 bindings:
* Add in a bunch of missinc MPI_Op pre-defined constants
 * Fix a few parameter types
 * Ensure that MPI_Op handles have the same values in all interfaces
   (i.e., add them to the mpif-common.pl generator script)

This commit was SVN r26511.
2012-05-29 17:54:33 +00:00
Edgar Gabriel
d1e91e9372 make the file compile properly.
This commit was SVN r26497.
2012-05-26 01:06:36 +00:00
George Bosilca
3704bfccbe The sum of the local and remote recvcounts is identical (per MPI standard
requirement) so the recvcounts array is bounded by the number of
participants in the local group.

This commit was SVN r26496.
2012-05-25 04:27:19 +00:00
Terry Dontje
19992f80f0 use OMPI_ARRAY_LOGICAL_2_INT_CLEANUP instead of free
This commit was SVN r26494.
2012-05-24 21:06:03 +00:00
Brian Barrett
2effbb1ba6 fix copy/paste typo
This commit was SVN r26492.
2012-05-24 16:06:20 +00:00
Ralph Castain
c0304eb23a Fix copy/paste typo
This commit was SVN r26491.
2012-05-24 15:47:20 +00:00
George Bosilca
5ff74babc6 Correctly use remote size where necessary. Completements the
patches for ticket #3105.

This commit was SVN r26490.
2012-05-24 13:41:51 +00:00
Jeff Squyres
4bda5da63a Similar to r26488, also update the param error checking for
REDUCE_SCATTER, SCATTERV, and GATHERV.  Thanks to the mpi4py community
for reporting the issue.

This commit was SVN r26489.

The following SVN revision numbers were found above:
  r26488 --> open-mpi/ompi@42793aa10f
2012-05-24 13:26:44 +00:00
Jeff Squyres
42793aa10f As reported by the mpi4py community (Bennet Fauber, Lisandro Dalcin,
Jonathan Dursi), fix a bug in the parameter verification of
MPI_ALLGATHERV: ensure to use the ''remote'' group size when checking
the recvcounts array.

This commit was SVN r26488.
2012-05-24 10:25:21 +00:00
Ralph Castain
31beff6362 Oops - if we don't want the Java bindings, then we really shouldn't be building them :-/
Also ensure we don't try to build them if no Java support was found, and error out if the user requests the bindings and we didn't find Java support.

Add a configure flag to skip the Java tests and just force-set the Java support to "disabled"

This commit was SVN r26484.
2012-05-23 19:51:27 +00:00
Matthias Jurenz
54d67f3957 Changes to VT:
- corrected Fortran MPI lib. name for OMPI 1.7 (-lmpi_f77 -> -lmpi_mpifh)

This commit was SVN r26477.
2012-05-23 09:06:22 +00:00
Matthias Jurenz
bf7e00b787 - corrected underlying compiler command for mpifort-vt (@FC@ -> vtf90)
- removed useless mpi<f77|f90>-vt-wrapper-data.txt

This commit was SVN r26474.
2012-05-23 08:55:00 +00:00
Nathan Hjelm
cdc3c87ba6 move pmi init/finalize into a common component
This commit was SVN r26470.
2012-05-22 15:15:39 +00:00
George Bosilca
e890a8379b Various minor cleanups.
This commit was SVN r26461.
2012-05-21 13:15:24 +00:00
Brian Barrett
25693363e9 * Fix internal accounting error regarding number of available credits
* Use a single MD covering all of address space for put transfers, rather
 than a per-send MD.

This commit was SVN r26458.
2012-05-20 23:42:26 +00:00
Vishwanath Venkatesan
8d4bb65bd4 Modifying the explicit operations to make it absolute
This commit was SVN r26451.
2012-05-18 21:43:34 +00:00
Vishwanath Venkatesan
cbad31cc88 1. Freeing the displs array after allgatherv to avoid segmentation faults in dynamic segmentation
2. Checking for 0 bytes datatypes  and sending only when data available to avoid 0 byte messages being sent and received. 
3. Changing timing extraction to support calculating, min, max and avg communication costs + min and avg write costs

This commit was SVN r26450.
2012-05-18 21:39:58 +00:00
Rolf vandeVaart
f8ace21366 Rename a few things for clarity. Add a stream.
This commit was SVN r26447.
2012-05-17 18:10:59 +00:00
Jeff Squyres
5fb48bafda Fixes trac:3093: when cleaning up, only reset items in the
ompi_mpi_errcodes array to NULL if the index is not MPI_UNDEFINED.
Thanks to Alexey Bayduraev for the patch.

This commit was SVN r26446.

The following Trac tickets were found above:
  Ticket 3093 --> https://svn.open-mpi.org/trac/ompi/ticket/3093
2012-05-16 15:26:32 +00:00
Jeff Squyres
2cf8b874d5 Oops -- forgot to include file_get_position_shared in r26439.
This commit was SVN r26442.

The following SVN revision numbers were found above:
  r26439 --> open-mpi/ompi@d74795b299
2012-05-15 19:51:15 +00:00
Rolf vandeVaart
c228bd2311 Fix broken compile. Keep in sync with sm btl.
This commit was SVN r26440.
2012-05-15 15:32:33 +00:00
Jeff Squyres
d74795b299 Fix #3094: do the correct cast for the right integer size.
This commit was SVN r26439.
2012-05-15 15:15:33 +00:00
Yevgeny Kliteynik
d59b8d5dc4 Fixing malformed error message
This commit was SVN r26434.
2012-05-12 21:13:42 +00:00
Mike Dubman
98c2c749fb fix define name to BTL_OPENIB_MALLOC_HOOKS_ENABLED
Thanks to Ludovic.Hablot@ext.bull.net  for pointing this out

This commit was SVN r26432.
2012-05-11 18:30:45 +00:00
Brian Barrett
2e52374847 * Split send and receive eq sizes
* Need to look at slot count before flowcontrol for sending to prevent
  race in restart
* Need to free pending request fragments when done with the request
* A number of branch prediction optimizations for error conditions

This commit was SVN r26430.
2012-05-10 21:43:48 +00:00
Yevgeny Kliteynik
244d66d95b Fixed FDR link speed details, added EDR.
This commit was SVN r26423.
2012-05-10 13:44:18 +00:00
Nathan Hjelm
91d99c6fef ugni: reserve memory domain descriptors (MDDs) for mailbox registration
This commit was SVN r26419.
2012-05-10 00:24:42 +00:00
Jeff Squyres
de4bbacd13 It turns out that we can't always include the hwloc OpenFabrics verbs
helper file, even if we find that the system has <infiniband/verbs.h>.
The reason is because there are some inline functions in that verbs
helper file that invoke ibv_* functions.  Some linkers (e.g., Solaris
Studio Compilers) will instantiate those static inline functions --
even if we don't use them -- and therefore we need to be able to
resolve the ibv_* symbols at link time.

But since -libverbs is only specified in places where we use other
ibv_* functions (e.g., the OpenFabrics-based BTLs), that means that
linking random executables can/will fail (e.g., orterun).

So instead, introduce a new #define: OPAL_HWLOC_WANT_VERBS_HELPER.  If
this macro is set to 1 before including opal/mca/hwloc/hwloc.h, then
you'll also get the hwloc OpenFabrics verbs helper header file (*if*
hwloc found <infiniband/verbs.h> -- otherwise, it'll #error).

This commit was SVN r26417.
2012-05-09 20:18:31 +00:00
Jeff Squyres
50bac6d4d7 Oops! This is a stale file (i.e., old implementation that isn't used anymore).
This commit was SVN r26415.
2012-05-09 13:35:39 +00:00
Ralph Castain
fd796cce0a Add an allocator tool for finding HDFS file locations and obtaining allocations for those nodes (supports both Hadoop 1 and 2). Split the Java support into two parts: detection of Java support and request for Java bindings.
This commit was SVN r26414.
2012-05-09 01:13:49 +00:00
Mike Dubman
cd17fee9a8 performance fix: openib use memalign for malloc
This commit was SVN r26409.
2012-05-08 20:42:09 +00:00
Jeff Squyres
3928a1ea42 Add missing AC_MSG_CHECKING (i.e., we were seeing a result message
without a corresponding "checking" message)

This commit was SVN r26408.
2012-05-08 17:20:09 +00:00
Jeff Squyres
e35ca05917 * Update svn:ignore to ignore example program
* Add "example" executable to CLEANFILES

This commit was SVN r26407.
2012-05-08 14:59:14 +00:00
Nathan Hjelm
903f9fac09 ugni: fixed buffered sends and code cleanup
This commit was SVN r26401.
2012-05-07 17:23:06 +00:00
Nathan Hjelm
49eda71ca0 ugni: fix invalid parameter with opal_pointer_array_init
This commit was SVN r26400.
2012-05-07 17:22:55 +00:00
Nathan Hjelm
584c457352 ugni: update smsg defaults and add parameter to control local completion queue size
This commit was SVN r26399.
2012-05-07 17:22:49 +00:00
Nathan Hjelm
bfcf67391a ugni: set fragment id from opal_pointer_array_add
This commit was SVN r26398.
2012-05-07 17:22:42 +00:00
Nathan Hjelm
b3dc726e9d ugni: don't create completion queues until add_procs
This commit was SVN r26397.
2012-05-07 17:22:35 +00:00
Nathan Hjelm
0e48ea1f65 vader: remove #include of headers that no longer exist
This commit was SVN r26396.
2012-05-07 17:22:28 +00:00
Nathan Hjelm
a32d4c648d ob1: rewind convertor after failed send
This commit was SVN r26395.
2012-05-07 17:22:22 +00:00
Jeff Squyres
43f3332929 Add an OMPI_Affinity_str() example program.
This commit was SVN r26393.
2012-05-07 15:19:23 +00:00
Jeff Squyres
2ba10c37fe Per RFC, bring in the following changes:
* Remove paffinity, maffinity, and carto frameworks -- they've been
   wholly replaced by hwloc.
 * Move ompi_mpi_init() affinity-setting/checking code down to ORTE.
 * Update sm, smcuda, wv, and openib components to no longer use carto.
   Instead, use hwloc data.  There are still optimizations possible in
   the sm/smcuda BTLs (i.e., making multiple mpools).  Also, the old
   carto-based code found out how many NUMA nodes were ''available''
   -- not how many were used ''in this job''.  The new hwloc-using
   code computes the same value -- it was not updated to calculate how
   many NUMA nodes are used ''by this job.''
   * Note that I cannot compile the smcuda and wv BTLs -- I ''think''
     they're right, but they need to be verified by their owners.
 * The openib component now does a bunch of stuff to figure out where
   "near" OpenFabrics devices are.  '''THIS IS A CHANGE IN DEFAULT
   BEHAVIOR!!''' and still needs to be verified by OpenFabrics vendors
   (I do not have a NUMA machine with an OpenFabrics device that is a
   non-uniform distance from multiple different NUMA nodes).
 * Completely rewrite the OMPI_Affinity_str() routine from the
   "affinity" mpiext extension.  This extension now understands
   hyperthreads; the output format of it has changed a bit to reflect
   this new information.
 * Bunches of minor changes around the code base to update names/types
   from maffinity/paffinity-based names to hwloc-based names.
 * Add some helper functions into the hwloc base, mainly having to do
   with the fact that we have the hwloc data reporting ''all''
   topology information, but sometimes you really only want the
   (online | available) data.

This commit was SVN r26391.
2012-05-07 14:52:54 +00:00
Mike Dubman
1b475523de add support for FDR speed
This commit was SVN r26385.
2012-05-06 05:53:05 +00:00
Nathan Hjelm
b6ae288a59 fix segfault when pml direct enabled
This commit was SVN r26371.
2012-05-01 23:12:41 +00:00
Brian Barrett
0ae2277796 Add a backoff mechanism for re-establishing communication
This commit was SVN r26366.
2012-05-01 15:53:00 +00:00
Brian Barrett
74ade8b181 need to order the pending list before we restart
This commit was SVN r26365.
2012-04-30 23:06:00 +00:00
Brian Barrett
5dec52af8d remove some now unneeded debugging
This commit was SVN r26364.
2012-04-30 22:50:52 +00:00
Brian Barrett
c654ee6afc * Use triggered operations for restart barrier as well
This commit was SVN r26363.
2012-04-30 22:48:10 +00:00
Brian Barrett
91a9973bde * Make flow control on by default
* Move alarm code back into a triggered operation

This commit was SVN r26362.
2012-04-30 22:25:40 +00:00
Jeff Squyres
a712fc4649 More Fortran-oriented typos / fixes in the script wrapper compiler
This commit was SVN r26357.
2012-04-27 21:20:24 +00:00
Brian Barrett
e6a0a1cf8a * Make sure to release all resources on failed send
* Avoid triggered ops until we get everything debugged
* Simplify flowctl interface a bit

This commit was SVN r26356.
2012-04-27 21:11:01 +00:00
Jeff Squyres
fff1612c04 * Forgot to update ompi-fort.pc.in
* Remove unused f77 reference in the script wrapper compiler

This commit was SVN r26355.
2012-04-27 20:05:09 +00:00
Jeff Squyres
80fa7cba29 Update VT for the new Fortran wrapper compiler nomenclature
This commit was SVN r26354.
2012-04-27 19:51:18 +00:00
Jeff Squyres
5efdfdfa09 * Make mpif77 and mpif90 be sym links to mpifort, just to drive the
point home that they're deprecated
 * Similarly, make mpif77-wrapper-data.txt be a sym link to
   mpifirt-wrapper-data.txt (ditto with mpif90)
 * Make new mpif77.1 and mpif90.1 man pages that say that they're
   deprecated; use mpifort instead

This commit was SVN r26353.
2012-04-27 19:35:23 +00:00
Jeff Squyres
94de69bd0c The F77 and F90 macros are no longer needed
This commit was SVN r26348.
2012-04-27 01:11:26 +00:00
Jeff Squyres
245812c34b * s/f77/fortran/gi in a lot of places
* Remove unused #defines in mpi.h.in
 * Add OMPI_PARAM_CHECK in mpi.h.in (so that we can check for it in tests)
 * Clean up some comments in mpif-common.h

This commit was SVN r26347.
2012-04-27 01:09:37 +00:00
Nathan Hjelm
c36ab84116 ugni: missed a couple of lines in the last commit
This commit was SVN r26340.
2012-04-25 14:24:48 +00:00
Jeff Squyres
501a86afe1 No need to include the generated files in the tarball. Thanks to
Eugene for pointing this out.

This commit was SVN r26339.
2012-04-25 14:19:18 +00:00
Ralph Castain
8fbcf375da One more blasted missing file
This commit was SVN r26338.
2012-04-25 03:16:44 +00:00
Ralph Castain
ec42c6c510 add missing file to tarball
This commit was SVN r26337.
2012-04-25 02:19:00 +00:00
Jeff Squyres
877ed0b41e Only include the MPI_File functions if we did not --disable-mpi-io
This commit was SVN r26335.
2012-04-25 01:21:13 +00:00
Nathan Hjelm
a753fe91f7 fix merge
This commit was SVN r26332.
2012-04-24 21:16:51 +00:00
Nathan Hjelm
0eb18b9699 ob1: update copyrights
This commit was SVN r26331.
2012-04-24 20:19:15 +00:00
Nathan Hjelm
0a0e487d9c ob1: add emacs mode/indentation defaults
This commit was SVN r26330.
2012-04-24 20:19:06 +00:00
Nathan Hjelm
9a35f96bda ob1: add support for get fallback on put/send
This commit was SVN r26329.
2012-04-24 20:18:56 +00:00
Nathan Hjelm
93780c63be replace tabs w/ spaces
This commit was SVN r26328.
2012-04-24 20:18:45 +00:00
Nathan Hjelm
0f60858a01 ugni: improve handling of smsg completions
This commit was SVN r26327.
2012-04-24 20:18:35 +00:00
Ralph Castain
369b977e95 Include the mpif-common.pl program in the tarball so that autogen.pl can run against it - some ISVs need to be able to do so.
This commit was SVN r26326.
2012-04-24 19:49:35 +00:00
Jeff Squyres
634326ee87 Fix typos: add TKR versions of MPI_MRECV and MPI_IMRECV into the
Makefile.am so that their scripts get invoked and the wrappers get
compiled into the libmpi_usempi.la library.

This commit was SVN r26324.
2012-04-24 18:04:15 +00:00
Nathan Hjelm
e3b9040e69 vader: remove maffinity code
This commit was SVN r26321.
2012-04-24 15:38:03 +00:00
Jeff Squyres
67f9cf6952 Add missing MPI_MESSAGE_NO_PROC constant in mpif.h.
This commit was SVN r26319.
2012-04-23 21:28:50 +00:00
Nathan Hjelm
363bd184e7 ugni: re-disable uGNI for local procs
This commit was SVN r26318.
2012-04-23 21:12:12 +00:00
Nathan Hjelm
ca3ceb840c ugni: add mca parameter to control the number of smsg retries
This commit was SVN r26317.
2012-04-23 21:12:05 +00:00
Nathan Hjelm
95b12f140a ugni: cleanup frag setup code
This commit was SVN r26316.
2012-04-23 21:11:57 +00:00
Nathan Hjelm
37ca31b295 ugni: remove unused completion queue
This commit was SVN r26315.
2012-04-23 21:11:39 +00:00
Jeff Squyres
4b047c4257 Fix typos in the memchecker sections of MPI_IMRECV and MPI_MRECV, and
define the missing function memchecker_message().

Thanks to MTT for catching these errors.

This commit was SVN r26314.
2012-04-23 21:10:19 +00:00
Jeff Squyres
9986c29a4b Fix typoe to get the OMPI_Affinity_str.3in man page source is
distributed

This commit was SVN r26313.
2012-04-23 19:28:24 +00:00
Jeff Squyres
57f01592f0 It is not a configure error if the Fortran compiler does not support
optional arguments; it just means that we won't build the mpi_f08 bindings.

This commit was SVN r26312.
2012-04-23 19:18:43 +00:00
Jeff Squyres
f9c685bd5e Fix some fortran flags variable names, and fortran configury C test
problems (i.e., don't return a value from a void() function!).  Thanks
to Eugene for identifying these issues.  Hopefully this will fix up
the problems Oracle is having with compiling the new Fortran stuff.

This commit was SVN r26310.
2012-04-23 15:28:26 +00:00
Jeff Squyres
a0c3e38ded Ensure to compile the test as a Fortran program. Thanks to Eugene for
pointing out the issue.

This commit was SVN r26309.
2012-04-21 12:05:35 +00:00
Nathan Hjelm
1340f9c65a ugni update:
- Move endpoint code back up to BTL
 - Use opal_pointer_array_t for bounce buffer to identify local smsg completions.
 - Update and reenable sendi
 - Create a new endpoint for FMA/BTE transactions (keep local smsg/fma transactions seperate)
 - Move reverse get code into btl_ugni_put.c
 - Move eager get code into btl_ugni_get.c
 - Handle remote SMSG overruns correctly
 - Added support for inplace sends
 - etc

This commit was SVN r26307.
2012-04-19 21:51:55 +00:00
Nathan Hjelm
2b9827f45c ugni: restrict number of memory registrations per process
This commit was SVN r26306.
2012-04-19 21:51:44 +00:00
Nathan Hjelm
c9bf271b36 ugni: check for GNI_GetJobResInfo
This commit was SVN r26304.
2012-04-19 21:51:31 +00:00
Jeff Squyres
8111c5e41c Remove a few compiler warnings from the example
This commit was SVN r26303.
2012-04-19 20:02:51 +00:00
Jeff Squyres
ecd7108324 Fix problem of conflicting configure variables.
This commit was SVN r26302.
2012-04-19 13:20:08 +00:00
Jeff Squyres
5e0a154fa3 Fixes for old compilers:
* If the Fortran compiler doesn't support ISO_C_BINDINGS, fall back
   to an older (less precise) test for KIND values
 * If we're building the mpi module, don't assume that we're also
   building mpi_f08 module (i.e., don't add -lmpi_usempif08 to mpifort
   unless we're actually building the mpi_f08 module)

This commit was SVN r26294.
2012-04-19 00:47:54 +00:00
Jeff Squyres
c190f3e7ce Add a PDF of the C to Fortran type mapping, taken from the Fortran
spec document.

This commit was SVN r26292.
2012-04-18 22:50:35 +00:00
Ralph Castain
8e28f12d62 Fix the ancient-compiler problem
This commit was SVN r26291.
2012-04-18 20:34:45 +00:00
Jeff Squyres
b9640a582a Fix the case where there is no Fortran compiler found. Possibly fix
the case where we have a really ancient Fortran compiler that does not
support ISO_C_BINDING, but need to test to be sure that the new
configury works.

This commit was SVN r26290.
2012-04-18 19:29:07 +00:00
Jeff Squyres
f713045d07 Fix #if macro name
This commit was SVN r26285.
2012-04-18 16:18:40 +00:00
Jeff Squyres
253444c6d0 == Highlights ==
1. New mpifort wrapper compiler: you can utilize mpif.h, use mpi, and use mpi_f08 through this one wrapper compiler
 1. mpif77 and mpif90 still exist, but are sym links to mpifort and may be removed in a future release
 1. The mpi module has been re-implemented and is significantly "mo' bettah"
 1. The mpi_f08 module offers many, many improvements over mpif.h and the mpi module

This stuff is coming from a VERY long-lived mercurial branch (3 years!); it'll almost certainly take a few SVN commits and a bunch of testing before I get it correctly committed to the SVN trunk.

== More details ==

Craig Rasmussen and I have been working with the MPI-3 Fortran WG and Fortran J3 committees for a long, long time to make a prototype MPI-3 Fortran bindings implementation.  We think we're at a stable enough state to bring this stuff back to the trunk, with the goal of including it in OMPI v1.7.  

Special thanks go out to everyone who has been incredibly patient and helpful to us in this journey:

 * Rolf Rabenseifner/HLRS (mastermind/genius behind the entire MPI-3 Fortran effort)
 * The Fortran J3 committee
 * Tobias Burnus/gfortran
 * Tony !Goetz/Absoft
 * Terry !Donte/Oracle
 * ...and probably others whom I'm forgetting :-(

There's still opportunities for optimization in the mpi_f08 implementation, but by and large, it is as far along as it can be until Fortran compilers start implementing the new F08 dimension(..) syntax.

Note that gfortran is currently unsupported for the mpi_f08 module and the new mpi module.  gfortran users will a) fall back to the same mpi module implementation that is in OMPI v1.5.x, and b) not get the new mpi_f08 module.  The gfortran maintainers are actively working hard to add the necessary features to support both the new mpi_f08 module and the new mpi module implementations.  This will take some time.

As mentioned above, ompi/mpi/f77 and ompi/mpi/f90 no longer exist.  All the fortran bindings implementations have been collated under ompi/mpi/fortran; each implementation has its own subdirectory:

{{{
ompi/mpi/fortran/
  base/               - glue code
  mpif-h/             - what used to be ompi/mpi/f77
  use-mpi-tkr/        - what used to be ompi/mpi/f90
  use-mpi-ignore-tkr/ - new mpi module implementation
  use-mpi-f08/        - new mpi_f08 module implementation
}}}

There's also a prototype 6-function-MPI implementation under use-mpi-f08-desc that emulates the new F08 dimension(..) syntax that isn't fully available in Fortran compilers yet.  We did that to prove it to ourselves that it could be done once the compilers fully support it.  This directory/implementation will likely eventually replace the use-mpi-f08 version.

Other things that were done:

 * ompi_info grew a few new output fields to describe what level of Fortran support is included
 * Existing Fortran examples in examples/ were renamed; new mpi_f08 examples were added
 * The old Fortran MPI libraries were renamed:
   * libmpi_f77 -> libmpi_mpifh
   * libmpi_f90 -> libmpi_usempi
 * The configury for Fortran was consolidated and significantly slimmed down.  Note that the F77 env variable is now IGNORED for configure; you should only use FC. Example:
{{{
shell$ ./configure CC=icc CXX=icpc FC=ifort ...
}}}

All of this work was done in a Mercurial branch off the SVN trunk, and hosted at Bitbucket.  This branch has got to be one of OMPI's longest-running branches.  Its first commit was Tue Apr 07 23:01:46 2009 -0400 -- it's over 3 years old!  :-)  We think we've pulled in all relevant changes from the OMPI trunk (e.g., Fortran implementations of the new MPI-3 MPROBE stuff for mpif.h, use mpi, and use mpi_f08, and the recent Fujitsu Fortran patches).

I anticipate some instability when we bring this stuff into the trunk, simply because it touches a LOT of code in the MPI layer in the OMPI code base.  We'll try our best to make it as pain-free as possible, but please bear with us when it is committed.

This commit was SVN r26283.
2012-04-18 15:57:29 +00:00
Matthias Jurenz
411f9295d0 Changes to VT:
- compiler wrappers:
		- fixed uninstalling TAUINST.SPEC on MacOS (thanks to Jeff for the patch)

This commit was SVN r26280.
2012-04-18 11:59:28 +00:00
Brian Barrett
8a70747da2 Fix some naming that doesn't make a ton of sense
This commit was SVN r26277.
2012-04-18 01:05:18 +00:00
Brian Barrett
f4d4e87176 add some flow control debugging output
This commit was SVN r26276.
2012-04-17 23:14:05 +00:00
Brian Barrett
fe0dfc8e26 First take at flow control protocol
This commit was SVN r26274.
2012-04-17 21:46:21 +00:00
Brian Barrett
dde6f094eb In preperation for flow control changes coming, always utilize ACKs for
message completion.

This commit was SVN r26272.
2012-04-16 17:25:27 +00:00
Terry Dontje
81d7fcaf82 back out r26255 to avoid cross component linkage so Solaris can build a usable openib btl
This commit was SVN r26269.

The following SVN revision numbers were found above:
  r26255 --> open-mpi/ompi@fe25b8704b
2012-04-13 18:08:54 +00:00
Ralph Castain
9a58414005 Rats - remove debug
This commit was SVN r26264.
2012-04-10 21:51:54 +00:00
Ralph Castain
9cd4c06488 Get things to build and run when --disable-orte is specified
This commit was SVN r26263.
2012-04-10 21:50:01 +00:00
Nathan Hjelm
f88babfb92 ugni: minor updates
This commit was SVN r26262.
2012-04-10 19:56:19 +00:00
George Bosilca
c5e4b2ab44 Correctly moves the pointers around on big data.
This commit was SVN r26259.
2012-04-10 05:37:59 +00:00
Ralph Castain
5f5c23e3e5 Fix comm_join by ensuring the two processes figure out which will send_first and which will recv first.
This commit was SVN r26257.
2012-04-09 22:14:14 +00:00
Mike Dubman
34acf769d4 mtl_mxm: support canceling messages
This commit was SVN r26256.
2012-04-09 16:02:05 +00:00
Mike Dubman
fe25b8704b performance fix: set alignment for openib internal buffers
Thanks to Jeff/Pasha for valuable comments
Thanks to Valentin Petrov for implementation

This commit was SVN r26255.
2012-04-09 08:06:15 +00:00
George Bosilca
f09e3ce5a4 Spring cleanup. Nothing important.
This commit was SVN r26247.
2012-04-06 15:48:07 +00:00
George Bosilca
654c75ff24 As suggested on the mailing list a while back, switch the default alltoallv
algorithm to pairwise exchange instead of the default one. This might
improve the scheduling and relax the pressure on the network.

This commit was SVN r26246.
2012-04-06 15:47:29 +00:00
George Bosilca
abf60337de Don't forget to move the pointers after the copy (only affects large data
transfers).

This commit was SVN r26243.
2012-04-06 14:50:04 +00:00
Ralph Castain
bd8b4f7f1e Sorry for mid-day commit, but I had promised on the call to do this upon my return.
Roll in the ORTE state machine. Remove last traces of opal_sos. Remove UTK epoch code.

Please see the various emails about the state machine change for details. I'll send something out later with more info on the new arch.

This commit was SVN r26242.
2012-04-06 14:23:13 +00:00
Jeff Squyres
16263cde4b Remove a few more vestiages of C++ MPI extensions support
This commit was SVN r26240.
2012-04-05 21:17:56 +00:00
Josh Hursey
1941f6b3b1 Cleanup some compiler warnings when doing an optimized/non-debug build.
This commit was SVN r26236.
2012-04-04 20:40:16 +00:00
Josh Hursey
35bd7e638f Make sure we check the correct communicator object for errors.
This commit was SVN r26235.
2012-04-04 16:41:55 +00:00
Brian Barrett
d46d55ee9b If we're locking the local window, need to wait until the lock returns.
This commit was SVN r26234.
2012-04-04 16:27:24 +00:00
Josh Hursey
d1571b027a Fix a few error return paths
This commit was SVN r26233.
2012-04-04 15:11:03 +00:00
Nathan Hjelm
b0c3c18e02 Initial upload of grdma mpool
This commit was SVN r26232.
2012-04-03 23:03:03 +00:00
Terry Dontje
9831d2bf3f change sparc platforms to default OMPI_OPENIB_PAD_HDR to 1
This commit was SVN r26209.
2012-04-03 11:02:34 +00:00
Mike Dubman
ff1c84c53f revert previous commit
This commit was SVN r26206.
2012-03-29 14:07:13 +00:00
Mike Dubman
43a5775e8a performance fix: set alignment for openib internal buffers
This commit was SVN r26205.
2012-03-29 14:00:08 +00:00
Nathan Hjelm
d62c0f1872 ugni: handle smsg failure in mca_btl_ugni_ep_connect_finish
This commit was SVN r26202.
2012-03-28 05:40:16 +00:00
Brian Barrett
451af0e832 Ensure async progress for long unexpected messages by waiting for an
event on the ME.  The events we're likely to see are LINK (the ME was
added to the match list), PUT (weird to see first, but means that the ME
was linked to the match list and then matched), or PUT_OVERFLOW, meaning
the message was unexpected.

This commit was SVN r26199.
2012-03-26 22:54:35 +00:00
Brian Barrett
2a26d0f9a2 Forgot to add new file in the last commit.
Mark ME as invalid once we see a completion event, and look for events before
trying to unlink.

This commit was SVN r26198.
2012-03-26 22:39:05 +00:00
Brian Barrett
0e91084385 * Add type field to the request structure to deal with random user requests
(ie, cancel)
* Implement cancel for receives.  Sends are slightly more complicated...

This commit was SVN r26197.
2012-03-26 22:32:36 +00:00
Brian Barrett
61a090e0d1 Checking for NULL function pointers and direct-call semantics can't work
together, so implement all functions in the MTL interface for all
MTLs.  The only places NULL was still being set was for add_comm/del_comm,
and matched probe, both of which are straight forward to implement (or
return ERROR_NOT_IMPLEMENTED, since the PML can't emulate matched probe).

This commit was SVN r26194.
2012-03-26 19:27:03 +00:00
Brian Barrett
cdaf110c0f * Implement mtl_send in addition to mtl_sendi
This commit was SVN r26193.
2012-03-26 19:19:11 +00:00
Brian Barrett
27c8f71773 Start of the flow control implementation. #defined out for now.
This commit was SVN r26192.
2012-03-26 01:31:58 +00:00
Jeff Squyres
fa8980157a Fix typo.
This commit was SVN r26183.
2012-03-23 00:12:32 +00:00
Jeff Squyres
ee4ef7b503 Fix default Java build on Linux; make sure the Solaris hard-coded path doesn't interfere
This commit was SVN r26182.
2012-03-22 23:01:23 +00:00
Jeff Squyres
91f5707a9e Update the help message for --enable-mpi-interface-warning
This commit was SVN r26181.
2012-03-22 22:59:59 +00:00
Brian Barrett
cce936b94c * Implement matched probe for the CM PML. Required adding a peer field to
the ompi_message_t structure to properly initialize convertor (the peer
  is available in the request in OB1, and wasn't needed when I did the
  original implementation).
* Implement matched probe for the Portals4 MTL and add NULL function pointers
  for the other MTLs.
* Add add_comm and del_comm functions to portals4 MTL so that direct call
  almost works again.
* Add NEWS item that we've implemented matched probe

This commit was SVN r26180.
2012-03-22 22:55:59 +00:00
Brian Barrett
4d12616b64 Frank pointed out that PTL_OK is zero and PtlHandleIsEqual either returns
PTL_OK or PTL_FAIL and that I had these backwards.

This commit was SVN r26179.
2012-03-22 15:58:00 +00:00
Josh Hursey
5af13d0d86 Adjust patch in r26172 to only set the MPI_ERROR field in the status object returned from MPI_Waitall instead of using the internal req_status object to carry it around.
Note that the previous patch allowed the following test to -pass-:
  ompi-tests/mpich_tester/mpich_pt2pt/truncmult.c

This patch makes that test -fail- due to the assumption that MPI_Wait will update the status.MPI_ERROR field. In Open MPI we do not do this, so the MPI_ERROR field being inspected will remain set to MPI_ERR_PENDING. See comments in req_wait.c for why we do this.

If we change the test to not inspect the MPI_ERROR field after calling MPI_Wait successfully, then the test would pass correctly with this patch.

This change was made per discussion on the below email thread:
  http://www.open-mpi.org/community/lists/devel/2012/03/10753.php

This commit was SVN r26177.

The following SVN revision numbers were found above:
  r26172 --> open-mpi/ompi@03a33417d5
2012-03-22 14:09:19 +00:00
Brian Barrett
1c6b5a1358 * Set all appropriate flags for portal table entries
* split eq into send and receive eqs so that we can control the number
  of outstanding events in send eq and ensure we never lose an ack
* Shouldn't ever truncate on short unexpected receive bocks, so don't set
  the truncate bit
* Track active vs. waiting for free short unexpected receive blocks so
  to ensure an active short unexpected receive block is posted coming out
  of flow control.  Also allow creation of "temporary" blocks which should
  be released once FREE event is received.
* Slight reorganization of some code in preparation for more flow control
  work.

This commit was SVN r26174.
2012-03-21 22:20:55 +00:00
Josh Hursey
0fb6f1c7ac fix the return code, so we cleanup properly on errors
This commit was SVN r26173.
2012-03-21 17:53:34 +00:00
Josh Hursey
03a33417d5 Add support for MPI_ERR_PENDING - Per MPI 2.2 p 60
Tested with:
  ompi-tests/mpich_tester/mpich_pt2pt/truncmult.c

This commit was SVN r26172.
2012-03-21 17:46:15 +00:00
Josh Hursey
3324b9e451 Check the return code from the allreduce collectives. If they fail, so should the operation.
This commit was SVN r26170.
2012-03-21 13:46:26 +00:00
Mike Dubman
a45898ea9c fix support for fca 2.2, warning fixes on rhel 6.x
This commit was SVN r26166.
2012-03-20 10:00:52 +00:00
Matthias Jurenz
a40b6dcc42 Changes to VT:
- configure:
		- changed default CUPTI library path to $CUPTI-DIR/lib64
	- VT Libs:
		- corrected prototype of MPI_Get_address in Fortran MPI wrappers (the second parameter should be an MPI_Aint* instead of MPI_Fint*)
		- temporary removed MPI_<Comm|Type|Win>_<get|set>_attr and MPI_Attr_<get|put> from the Fortran MPI wrappers due to missing conversion of the attribute value parameter
	- Docu:
		- latex doc \usepackage[T1]{fontenc} so that _ can be searched and copied
		- smaller font in Environment Variables section
		- some improvements in CUDA section
		- removed GPU idle time as official feature for CUPTI tracing method

This commit was SVN r26161.
2012-03-19 08:51:05 +00:00
Eugene Loh
dffc1c5d43 The copyright notices that should have been in r26156.
This commit was SVN r26157.

The following SVN revision numbers were found above:
  r26156 --> open-mpi/ompi@e1f5c0125f
2012-03-16 04:59:58 +00:00
Eugene Loh
e1f5c0125f r26138 provided quick returns for count==0 for
[test|wait][all|any|some].  Here, set output values as well.
http://www.open-mpi.org/community/lists/users/2012/03/18790.php

This commit was SVN r26156.

The following SVN revision numbers were found above:
  r26138 --> open-mpi/ompi@1e92bc0fd1
2012-03-15 22:02:46 +00:00
Nathan Hjelm
135ac32b64 ugni: use hash table to keep track of smsg frag completion
This commit was SVN r26154.
2012-03-15 20:15:59 +00:00
Nathan Hjelm
fca42347e3 ugni: use hash table to keep track of smsg frag completion
This commit was SVN r26153.
2012-03-15 20:13:32 +00:00
Nathan Hjelm
deddf0b33e ugni: fix frag leak in sendi
This commit was SVN r26152.
2012-03-15 20:13:20 +00:00
Nathan Hjelm
99f05d56e3 ugni: updated parameters and code cleanup
This commit was SVN r26151.
2012-03-15 20:13:11 +00:00
Nathan Hjelm
921176745d vader: remove lock based fifos
This commit was SVN r26150.
2012-03-15 20:12:59 +00:00
Nathan Hjelm
4e01440b05 vader: clean frag alloc/return
This commit was SVN r26149.
2012-03-15 20:12:46 +00:00
Matthias Jurenz
61d2818831 Changes to VT:
- general:
		- added missing entry in ChangeLog
	- vtunify[-mpi]:
		- fixed possibly uninitialized global token for the predefined Node and "All" process groups

This commit was SVN r26147.
2012-03-15 10:58:12 +00:00
Terry Dontje
e73df369e4 Update bfo pml with code from ob1 to support mprobe, improbe, mrecv, imrecv and cuda.
This commit was SVN r26145.
2012-03-15 10:20:46 +00:00
Jeff Squyres
1e92bc0fd1 Per request from Jeremiah Willcock, support the array-based MPI_TEST
and MPI_WAIT functions with a count of 0 (i.e., just return SUCCESS
and don't do anything).

This commit was SVN r26138.
2012-03-14 14:36:04 +00:00
Matthias Jurenz
03ea0245f0 Changes to OTF:
- general:
		- corrected OTF version number
	- otfprofile:
		- removed leading '=' from CSV lines to make it loadable into spreadsheets (e.g. Open Office)
		- fixed process naming in CSV output of collective operation statistics
Changes to VT:
	- configure:
		- added *_FOR_BUILD variables to CrayXE's default configure options; required for cross-building
	- VT libs:
		- fixed GPU communication, due to new process ID splitting
		- fixed parsing of PAPI native events in VT_METRICS; use strtok_r instead of strtok which is successively called inPAPI_event_name_to_code
		- added VT_METRICS_SEP to definition comments (-> Vampir's trace info)
	- Docu:
		- fixed link to TAU Reference Guide

This commit was SVN r26137.
2012-03-14 12:36:28 +00:00
Christopher Yeoh
524de80eaa Adds support for Cross Memory Attach in the sm btl.
This feature can be enabled at compile time with --with-cma passed
to configure.

At runtime it is also necessary to add "--mca btl btl_sm_use_cma 1"
to the mpirun command.

If both CMA and KNEM are compiled in and enabled at runtime then 
KNEM will take precedence and CMA will disable itself

This commit was SVN r26134.
2012-03-14 06:29:09 +00:00
Terry Dontje
a0e41ca685 Add support for building JAVA API on Solaris.
This commit was SVN r26130.
2012-03-13 09:34:02 +00:00
Mike Dubman
bd7abd72a9 in mca_mtl_mxm, don't allow negative tags for MPI_ANY_TAG
This commit was SVN r26128.
2012-03-09 22:11:14 +00:00
Rolf vandeVaart
41870ce6ee Mostly fix some of the verbose output. Also fix issue
where memory handle was blocking other registration.

This commit was SVN r26124.
2012-03-09 21:28:56 +00:00
Josh Hursey
b36b6639b2 forgot the Copyright update
This commit was SVN r26123.
2012-03-09 14:43:00 +00:00
Josh Hursey
ae9f424bd6 Per George's suggestion - reuse ompi_group_compare in the ompi_comm_compare operation to reuse the comparison code.
This commit was SVN r26122.
2012-03-09 14:39:09 +00:00
George Bosilca
de1078a71b Thanks to Alex Margolin for pointing out this relique.
This commit was SVN r26121.
2012-03-09 14:01:45 +00:00
Josh Hursey
4630c4060c Abstract MPI_Group_compare to an OMPI function for internal use (point the MPI interface to the internal function).
Fix a typo in group_init.c

This commit was SVN r26118.
2012-03-08 21:57:45 +00:00
Jeff Squyres
359c575345 Fix a few missed cases with MPROBE and friends.
This commit was SVN r26116.
2012-03-08 19:43:08 +00:00
Jeff Squyres
91b80630aa Update MPROBE, IMPROBE, MRECV, IMRECV with the behavior described in
MPI-3 ticket 328:
https://svn.mpi-forum.org/trac/mpi-forum-web/ticket/328.  Add
MPI_MESSAGE_NO_PROC constant.

This commit was SVN r26115.
2012-03-08 13:27:01 +00:00
Matthias Jurenz
164ee92f22 === VT upgrade to version 5.12.2 ===
Changes to OTF:
	- general:
		- updated copyright information (2011->2012)
	- otfmerge-mpi:
		- use the MPI-2 versions of MPI_Address and MPI_Type_struct
	- otfdump:
		- don't abort when reading events fails - the input tracefile might only have statistics

Changes to VT:
	- general:
		- updated version number to 5.12.2openmpi
		- updated copyright information (2011->2012)
	- configure:
		- added configure switches to enable/disable CUPTI and CUDA wrapping
		- fixed detection of C++ runtime libraries for Cray and PGI v11.x compilers
		- fixed detection of Cray compiler's OpenMP flag
		- fixed detection of MPI_IN_PLACE
		- disable support for RTLD_DEFAULT on CrayX? platforms; it's provided by dlfcn.h but not working
		- added '-force_flat_namespace' to linker flags of compiler wrappers on MacOS (causes that OpenMPI's libmpi_f77 calls the VT MPI wrapper functions - not the original ones)
		- default configure options on Cray platforms: use compiler option '--target=$XTPE_COMPILE_TARGET' only if the environment variable is set
	- VT libs:
		- added support for CUDA tracing via CUPTI callbacks and activities (runtime and driver API, kernels, memory copies, GPU idle time and GPU memory usage)
		- added support for cudaMemcpyDefault and synchronous peer-to-peer memory copies in CUDA library wrapper
		- fixed a bug in CUDA runtime wrapper initialization and thread creation
		- fixed a build bug occurred if CUDA and CUPTI found, but support for library tracing is disabled
		- use stack-allocated char-array when composing vtunify command; on some platforms system() results in exit code 127 when using a dynamically allocated char-array
		- fixed bug in async. counter plugin
		- fixed handling of empty MPI groups (MPI_GROUP_EMPTY)
		- fixed handling of MPI groups implicitly generated by MPI_Win_create
		- fixed conversion from MPI_Fint-arrays to MPI_Aint-arrays in Fortran MPI wrappers
		- fixed order of OpenMP threads based on its id (omp_get_thread_num)
		- fixed parsing of filter file to consider non-rank-specific filter rules appearing after a rank selection for disabling
		- fixed handling of 'errno' in LIBC[-I/O] wrappers for statically linked applications (set application's errno to the errno defined in the external LIBC which is used for calling the real functions)
		- suppress warnings about usage of deprecated MPI functions (OMPI_WANT_MPI_INTERFACE_WARNING=0)
	- vtunify[-mpi]:
		- fixed potential memory corruption during enqueuing recv. messages for p2p message matching
	- vtunify-mpi:
		- use the MPI-2 versions of MPI_Address and MPI_Type_struct
		- removed unused MPI wrappers
		- fixed assertion in p2p message matching which occurred when processing local traces with disabled ranks
	- vtdyn:
		- load user-specified shared libraries (-s SHLIB) into the mutatee before starting the instrumentation; adds support for instrumenting shared libraries which are loaded during runtime
	- compiler wrappers:
		- fixed detection of MPI library linked in the path form (e.g. libmpi.a instead of -lmpi)
		- fixed corrupt library order when using vtnvcc for linking MPI/CUDA mixed program
	- OPARI:
		- fixed Fortran parsing for detecting end of block DO loops

This commit was SVN r26114.
2012-03-08 13:01:30 +00:00
Pavel Shamis
102da281c4 OPENIB BTL - use orte_show_help instead of BTL_ERROR print in case ibv_reg_mr failed.
This commit was SVN r26111.
2012-03-08 09:04:03 +00:00
Mike Dubman
4e7e7d7c3f print error which is ignored on upper layer
This commit was SVN r26106.
2012-03-06 14:25:56 +00:00
George Bosilca
a78a7bd8e8 The tuned collectives can now deal with more than 2Gb of data.
This commit was SVN r26103.
2012-03-05 22:23:44 +00:00
George Bosilca
762b3e13a9 Use the correct name for the datatype destruction function.
This commit was SVN r26100.
2012-03-05 15:54:53 +00:00
George Bosilca
64a2979dc3 Always return something.
This commit was SVN r26099.
2012-03-05 15:54:15 +00:00
George Bosilca
7d523a8852 Avoid calling the bcast with counts larger than INT_MAX.
This commit was SVN r26098.
2012-03-05 14:30:30 +00:00
George Bosilca
e8c358c188 Allow Open MPI to deal with size_t internally.
This commit was SVN r26097.
2012-03-05 14:10:26 +00:00
George Bosilca
af9b6f6161 Minor beautification.
This commit was SVN r26095.
2012-03-05 13:23:54 +00:00
Abhishek Kulkarni
08ca0f80bc Fix a C/R bug where the restart hung due to
dangling fds in the openib btl.

This commit was SVN r26094.
2012-03-04 06:57:33 +00:00
George Bosilca
f83670211e Allow the user to define dynamic rules for messages larger than 2GB.
This commit was SVN r26084.
2012-03-02 21:16:23 +00:00
George Bosilca
8791ade293 Help he selection of the right algorithm for large data (> 2Gb). Thanks
to Fujitsu for the patch.

This commit was SVN r26080.
2012-03-02 19:12:22 +00:00
Terry Dontje
3e70cad203 Correct a few alignment problems to address the issue brought up in ticket #2964
This commit was SVN r26078.
2012-03-01 17:29:40 +00:00
Nathan Hjelm
f1525bdbff ob1: fix two fragment leaks
- MAJOR! get src descriptor leaks if mca_bml_base_send fails
 - minor. descriptor leaked in mca_pml_send_request_start_copy if the btl returns OMPI_ERR_RESOURCE_BUSY.

This commit was SVN r26077.
2012-03-01 15:53:39 +00:00
Matthias Jurenz
b4523496c8 Changes to VT: Fixed compiler warning about unused variable when compiling on MacOS
This commit was SVN r26076.
2012-03-01 12:17:27 +00:00
Mike Dubman
540b3c0c25 update mxm mtl to changes in mxm api
This commit was SVN r26073.
2012-02-29 22:02:34 +00:00
Jeff Squyres
97b3603036 A bunch of fixes and improvements to Open MPI's various command line tools.
* fixed some bugs where "unknown" tokens were allowed on the command
   line (which should really only be used for ortertun).
 * if an unknown token is encountered, print a short error to stderr
   and quit with a nonzero exit status
 * if we don't find the right number of parameters to an option, print
   a short error to stderr and quit with a nonzero exit status
 * when --help is given, print the help message to stdout (not stderr)
   and quit with a zero exit status
 * added --showme:help option to the wrapper compilers
 * updated docs in opal/util/cmd_line.h
 * other small/miscellaneous CLI parsing bugs in various tools

I won't bore you with what we did before.  :-)  Here's some examples
of what the new behavior looks like:

{{{
% ompi_info --bogus
ompi_info: Error: unknown option "--bogus"
Type 'ompi_info --help' for usage.
% ompi_info --param bogus
ompi_info: Error: option "--param" did not have enough parameters (2)
Type 'ompi_info --help' for usage.
%
}}}

This commit was SVN r26072.
2012-02-29 17:52:38 +00:00
Nathan Hjelm
a7209e309a ugni: opps, sendi was missing from Makefile.am
This commit was SVN r26067.
2012-02-28 16:10:35 +00:00
Shiqing Fan
fec1099509 fix two typecasts.
This commit was SVN r26066.
2012-02-28 15:28:57 +00:00
Edgar Gabriel
636cf786be local_heap_sort should really be a static function.
This commit was SVN r26065.
2012-02-28 14:42:56 +00:00
Matthias Jurenz
9c822b065f Even more changes belonging to r26051
This commit was SVN r26063.

The following SVN revision numbers were found above:
  r26051 --> open-mpi/ompi@f245ed965a
2012-02-27 15:53:14 +00:00
Edgar Gabriel
025c14a19a fix to the lustre configure logic.
This commit was SVN r26057.
2012-02-27 14:37:26 +00:00
Vishwanath Venkatesan
7c9c3ede61 Modified implementation for the static segmentation read algorithm with improved
performance and bug fixes.

This commit was SVN r26056.
2012-02-24 20:55:33 +00:00
Vishwanath Venkatesan
d5a9223a9a Removed a variable which was allocated but never used.
This commit was SVN r26055.
2012-02-24 20:48:52 +00:00
Vishwanath Venkatesan
326bc69df4 Modified implementation for static file write all algorithm which fixes all the previous
bugs and provides improved performance.

This commit was SVN r26054.
2012-02-24 20:47:09 +00:00
Jeff Squyres
027226ee19 ''Really'' fix Fortran attribute copy callbacks. Put the original
logic back (that was replaced by r25965 and r26000) and fix the one
place that missed OMPI_LOGICAL_2_INT.  This missing OMPI_LOGICAL_2_INT
was the real problem.

This commit was SVN r26053.

The following SVN revision numbers were found above:
  r25965 --> open-mpi/ompi@b10ebf4b2d
  r26000 --> open-mpi/ompi@90811cb50c
2012-02-24 16:42:30 +00:00
Matthias Jurenz
b785c9efe9 Missing change belonging to r26051
This commit was SVN r26052.

The following SVN revision numbers were found above:
  r26051 --> open-mpi/ompi@f245ed965a
2012-02-24 16:24:22 +00:00
Matthias Jurenz
f245ed965a Changes to OTF:
- otfmerge-mpi:
		- use the MPI-2 versions of MPI_Address and MPI_Type_struct

Changes to VT:
	- VT libs:
		- suppress warnings about usage of deprecated MPI functions (OMPI_WANT_MPI_INTERFACE_WARNING=0)
	- vtunify-mpi:
		- use the MPI-2 versions of MPI_Address and MPI_Type_struct
		- removed unused MPI wrappers

This commit was SVN r26051.
2012-02-24 15:48:51 +00:00
Jeff Squyres
11b50156c3 Remove extraneous spaces from the ugni help output.
This commit was SVN r26047.
2012-02-24 13:54:19 +00:00
Matthias Jurenz
99a3951c48 Changes to VT:
- fixed platform detection on BlueGene when configuring for the frontend

This commit was SVN r26042.
2012-02-24 10:10:50 +00:00
Rolf vandeVaart
b0a84b0a7d New btl that extends sm btl to support GPU transfers within a node.
Uses new CUDA IPC support.  Also, a few minor changes in PML to take
advantage of it.

This code has no effect unless user asks for it explicitly via 
configure arguments.  Otherwise, it is either #ifdef'ed out or
not compiled.

This commit was SVN r26039.
2012-02-24 02:13:33 +00:00
Brian Barrett
aff49e98b4 Don't remove mpijavac.1 during distclean
This commit was SVN r26038.
2012-02-23 22:57:51 +00:00
Nathan Hjelm
8217c46666 ompi_free_list: allocate payload if payload size > 0 in the fl_mpool = NULL case
This commit was SVN r26027.
2012-02-23 16:47:28 +00:00
Nathan Hjelm
9843cd0466 ugni: missed one more merge typo
This commit was SVN r26026.
2012-02-23 16:39:15 +00:00
Nathan Hjelm
d7cd95c802 vader: fix typo
This commit was SVN r26025.
2012-02-23 16:29:45 +00:00
Nathan Hjelm
c83fe003a0 ugni: fix branch merge typo
This commit was SVN r26024.
2012-02-23 16:16:21 +00:00
Matthias Jurenz
3aafb6ed89 Append VampirTrace specific CXXFLAGS (possibly given by --with-contrib-vt-flags) to CXXFLAGS. They could contain flags which are essential for the success of the STL configure test (e.g. -library=stlport4).
This commit was SVN r26017.
2012-02-23 12:46:45 +00:00
Matthias Jurenz
e59c5bb7bc Changes to VT:
- fixed compiler warnings if using non-GNU compiler, respectively if _FORTIFY_SOURCE is 0 or not defined

This commit was SVN r26016.
2012-02-23 09:05:10 +00:00
Rolf vandeVaart
c7a0ce2755 Two new mpools. They are not used now (and by default, not compiled)
but they will be soon.  Provide support for GPU buffer transfers within a node.

This commit was SVN r26008.
2012-02-22 23:32:36 +00:00
Ralph Castain
da5f290cef During this initial deployment, output a more definitive error message when libs cannot load
This commit was SVN r26005.
2012-02-22 21:59:31 +00:00
Ralph Castain
9fccc86f6c Only emit the java bindings warning if we actually are building them
This commit was SVN r26004.
2012-02-22 21:56:47 +00:00
Nathan Hjelm
dc94b6a3fb vader: minor fast box optimization
This commit was SVN r26002.
2012-02-22 20:53:49 +00:00
Jeff Squyres
90811cb50c Some updates based on Craig's review of #3023. Be a little more
defensive about the check of the flag value for the C-based keyvals.
We would never have had a problem because of the specific input data,
but being defensive is good (and it makes the code a little less
subtle / easier to read).

Also add in more comments about exactly what is going on, since this
is complicated stuff.  :-)

This commit was SVN r26000.
2012-02-22 20:32:23 +00:00
Nathan Hjelm
4c7b7c675a vader: minor code cleanup. move xpmem_create to component_init
This commit was SVN r25999.
2012-02-22 18:32:40 +00:00
Jeff Squyres
d595ec2ef2 Remove the use of all deprecated functions so that we don't induce
warnings about using deprecated functions in our C++ inline functions.

This commit was SVN r25994.
2012-02-21 21:52:23 +00:00
Mike Dubman
81bd5eee8d in mxm, use sender_len field and not actual_len when returning result from probe
This commit was SVN r25993.
2012-02-21 19:55:16 +00:00
Jeff Squyres
b6a90434e4 Fix some include file header ordering issues for some BSDs, suggested
by Paul Hargrove.

This commit was SVN r25984.
2012-02-21 13:32:14 +00:00
Ralph Castain
0ad3f14281 Uninstall the java wrapper compiler
This commit was SVN r25979.
2012-02-21 02:54:01 +00:00
Jeff Squyres
5656efe85d Don't distribute these files; they're generated.
This commit was SVN r25977.
2012-02-21 00:31:04 +00:00
Ralph Castain
ae1f248a9a Ensure the man page gets into the tarball
This commit was SVN r25975.
2012-02-20 23:40:36 +00:00
Jeff Squyres
7fb1144d27 Add missing AC_CONFIG_FILES
This commit was SVN r25974.
2012-02-20 22:59:03 +00:00
Ralph Castain
47c64ec837 Roll in Java bindings per telecon discussion. Man pages still under revision
This commit was SVN r25973.
2012-02-20 22:12:43 +00:00
Jeff Squyres
a8f409caf9 Enable MPI deprecated API function warnings by default
This commit was SVN r25969.
2012-02-20 20:30:43 +00:00
Jeff Squyres
6a109c8e15 Ensure that we have aio.h before trying to compile this component.
This commit was SVN r25966.
2012-02-20 15:53:20 +00:00
Jeff Squyres
b10ebf4b2d Wow. This bug has existed for '''YEARS''' (probably ever since Open
MPI started!).

The FLAG argument to fortran attribute copy functions is a LOGICAL,
meaning that it can only return .TRUE. or .FALSE.  The corresponding C
argument is an int, and the MPI spec says that it must return 1 or 0.
However, in Fortran, .TRUE. is not always necessarily == 1.  So we
need to expand the test to see if it's a Fortran callback.  If so,
check for the Fortran .TRUE. value (not 1).  If it's a C callback,
then check for 1.

This commit was SVN r25965.
2012-02-20 14:39:15 +00:00
Matthias Jurenz
c888ceaa55 Changes to VT:
- vtunify[-mpi]:
		- fixed compile error with Clang++ v2.9 and v3.0

This commit was SVN r25962.
2012-02-20 09:36:09 +00:00
Ralph Castain
534d70025f Cleanup the detection of process binding during mpi_init. There are several cases that need to be checked:
1. no binding support - indicated by a negative return code from get_cpubind

2. binding supported, but not bound - the bitset returned by get_cpubind is the same as the available cpuset

3. binding supported and bound - bitset from get_cpubind is a subset of available cpuset

4. only one cpu is available - in this case, get_cpubind matches the available cpuset, but we are effectively bound

This commit was SVN r25957.
2012-02-17 21:18:53 +00:00
Jeff Squyres
108799ea0e Fixes trac:2933: a bunch of C++ API corrections from Fujitsu. Custom
patch from the ticket, released under the BSD license.

This commit was SVN r25949.

The following Trac tickets were found above:
  Ticket 2933 --> https://svn.open-mpi.org/trac/ompi/ticket/2933
2012-02-17 11:42:51 +00:00
George Bosilca
bd9402fd8d Fix call to error_cb.
This commit was SVN r25946.
2012-02-17 03:18:51 +00:00
Jeff Squyres
4c0d24ff9a Improve the help messages for tcp_btl_if_[in|ex]clude
This commit was SVN r25940.
2012-02-16 15:59:18 +00:00
Nathan Hjelm
1ee6d5d21a ugni: fix typos in mca_btl_ugni_put
This commit was SVN r25937.
2012-02-15 23:26:03 +00:00
Jeff Squyres
0c6f4fbce5 Only access the status and message if the flag is true.
This commit was SVN r25936.
2012-02-15 20:16:51 +00:00
Jeff Squyres
2b1320e065 Oops -- need to "rm -f" to ensure that rm won't error out if nothing
is removed.

This commit was SVN r25935.
2012-02-15 20:06:59 +00:00
Jeff Squyres
54cf60eb4b $(RM) is not a standard macro. Just use "rm" -- every platform has it.
This commit was SVN r25934.
2012-02-15 19:51:59 +00:00
Jeff Squyres
1cab7579d4 Do not use $(RM); BSD-flavored "make"s don't understand it. Instead,
just use "rm" -- everyone has that.  Thanks to Paul Hargrove for
identifying the issue.

This commit was SVN r25910.
2012-02-13 22:13:38 +00:00
Mike Dubman
6ec768f0c6 fix #2971
This commit was SVN r25908.
2012-02-12 09:28:42 +00:00
Nathan Hjelm
8c9dc990a9 ugni: fixed typo
This commit was SVN r25899.
2012-02-10 01:27:31 +00:00
Nathan Hjelm
994127cb6b ugni: move mca_btl_ugni_smsg_mbox_t back to btl_ugni_endpoint.h
This commit was SVN r25898.
2012-02-10 01:11:54 +00:00
Nathan Hjelm
0ccfd3e6db ugni btl update. changes:
- re-enable sendi
 - move smsg common code into btl_ugni_smsg.h
 - added new parameters for smsg/eager frags
 - use get for frags larger than the smsg_limit
 - bug fixes
 - code cleanup

This commit was SVN r25897.
2012-02-10 00:47:29 +00:00
Ralph Castain
30ab3b2332 Ensure we don't segfault if comm_spawn_multiple fails as it returns a NULL pointer to the new communicator when that happens. Thanks to Yuki MATSUMOTO of Fujitsu for the patch.
cmr:v1.6

This commit was SVN r25886.
2012-02-09 15:59:49 +00:00
Jeff Squyres
990107e494 Must initialize message->m_f_to_c_index to MPI_UNDEFINED, or calling
MPI_Message_c2f will do Bad Things.

This commit was SVN r25884.
2012-02-08 22:36:28 +00:00
Mike Dubman
b18a1611c3 - if everything is ok set return value to OMPI_SUCCESS in mtl/mxm
This commit was SVN r25879.
2012-02-08 14:19:58 +00:00
Christopher Yeoh
bc26adcc32 Fixes trac:2998
Adds a lock to protect the sm pending_sends list from concurrent access
Fixes bug where btl_sm_process_pending_sends would return an item to
the free list and then continue to use it for a little while

cmr:v1.6

This commit was SVN r25878.

The following Trac tickets were found above:
  Ticket 2998 --> https://svn.open-mpi.org/trac/ompi/ticket/2998
2012-02-08 01:32:36 +00:00
Jeff Squyres
982158b513 Add F90 binding for MPI_Comm_split_type
This commit was SVN r25877.
2012-02-07 17:40:49 +00:00
Jeff Squyres
f545e4c2b2 Make these scripts be executable
This commit was SVN r25873.
2012-02-07 16:27:01 +00:00
Jeff Squyres
631967759f Fix argument type.
This commit was SVN r25872.
2012-02-07 15:59:43 +00:00
Jeff Squyres
eb35cae681 Make the new Mprobe and friends functions be compiled in Fortran.
This commit was SVN r25871.
2012-02-07 15:58:58 +00:00
Jeff Squyres
092448f19e Doh! Waiting for the test compile to finish ''before'' committing
reduces the potential for silly typos like this.  :-(

This commit was SVN r25870.
2012-02-07 15:27:50 +00:00
Jeff Squyres
3c3994ede9 Ensure PMPI_Message_c2f and PMPI_Message_f2c are compiled.
This commit was SVN r25869.
2012-02-07 15:22:19 +00:00
Brian Barrett
25d48e22fa Implementation of the MPI-3 Matched Probe functionality. Currently only
implemented in the OB1 PML, will return NOT_SUPPORTED in other PMLs.

This commit was SVN r25865.
2012-02-06 17:35:21 +00:00
Jeff Squyres
4eb22530ea Missed this in last night's checkin: without it, Fortran
MPI_GET_LIBRARY_VERSION will cause compiler breakage on platforms
without weak symbols.

This commit was SVN r25863.
2012-02-03 15:59:55 +00:00
Jeff Squyres
feb8eb8a90 Add the new MPI-3 function MPI_GET_LIBRARY_VERSION.
This commit was SVN r25860.
2012-02-02 23:57:09 +00:00
Jeff Squyres
e7f0d2e091 We've been 2.1 compliant for quite a while now. :-)
This commit was SVN r25859.
2012-02-02 22:47:45 +00:00
Mike Dubman
6188ab7317 * ep init refactoring
* split ep_info into fragments to fit PMI limit

This commit was SVN r25857.
2012-02-02 15:00:47 +00:00
Vishwanath Venkatesan
15ebe838e9 Modified implementation of two_phase read all similar to the changes for the write all
incorporating romio style partitioning.

This commit was SVN r25853.
2012-02-01 18:30:13 +00:00
Vishwanath Venkatesan
158374bdd0 Dynamic file write all algorithm optimized by using derived datatype for receiving actual data
thereby avoiding the merging step in the fbtl.

This commit was SVN r25852.
2012-02-01 18:20:44 +00:00
Vishwanath Venkatesan
b9026ccbd0 Fix for two-phase generating flattened datatype using decoded iovec for
handling non-contiguous memory and contiguous file cases.

This commit was SVN r25850.
2012-02-01 17:23:51 +00:00
Jeff Squyres
4f35b62154 Components should not be linking to top-level libraries -- and
definitely should not be linking to more than libmpi.la!  (remember
that libmpi.la now wholly contains libopen-rte.la, which wholly
contains libopen-pal.la).

This commit was SVN r25843.
2012-01-31 20:43:27 +00:00
Matthias Jurenz
f2362262a9 Pass STL configure test on every valid C++ compiler (see #2982)
This commit was SVN r25833.
2012-01-31 15:39:11 +00:00
Matthias Jurenz
10697ec859 Fixed some of Jeff's suggestions to #2982
This commit was SVN r25817.
2012-01-30 15:36:01 +00:00
Mike Dubman
92873872f5 revert r25813
This commit was SVN r25816.

The following SVN revision numbers were found above:
  r25813 --> open-mpi/ompi@8ed781d7e9
2012-01-30 13:22:38 +00:00
Matthias Jurenz
d154e81668 If configure of a contributed component fails, abort if it's requested via command line switch
This commit was SVN r25814.
2012-01-30 12:09:06 +00:00
Mike Dubman
8ed781d7e9 add mca param to enable/disable mxm
This commit was SVN r25813.
2012-01-30 11:14:20 +00:00
Mike Dubman
9f0ca9dfc0 fix: extract source from imm request fields instead from depricated api
This commit was SVN r25812.
2012-01-30 10:37:37 +00:00
Jeff Squyres
8e31f29f07 Fixes trac:2967: pretty much copy the text from MPI-2.2 in the description
of the group argument to MPI_COMM_CREATE.

cmr:v1.5:reviewer=jjhursey
cmr:v1.4.5:reviewer=jjhursey

This commit was SVN r25810.

The following Trac tickets were found above:
  Ticket 2967 --> https://svn.open-mpi.org/trac/ompi/ticket/2967
2012-01-28 12:53:00 +00:00
Ralph Castain
a0edae52f2 Ensure the wrapper flags get entered in the right order, with -lpmi coming before the alps util libs
This commit was SVN r25809.
2012-01-27 20:56:21 +00:00
Matthias Jurenz
d2e180ffa0 Added field for VampirTrace support indicating whether it's enabled or not
This commit was SVN r25805.
2012-01-27 14:11:33 +00:00
Matthias Jurenz
085e3dc470 Added configure test for suitable C++ STL from Oracle Studio compiler.
VampirTrace needs the STLport library due to missing standard functionality in the default C++ STL (libCstd).

This commit was SVN r25804.
2012-01-27 13:11:09 +00:00
Nathan Hjelm
97dad0ac49 ugni: don't release eager fragments until we get local smsg completion
This commit was SVN r25796.
2012-01-27 00:32:43 +00:00
Nathan Hjelm
669f0afd14 ugni: poll smsg mailbox until it is empty
This commit was SVN r25794.
2012-01-26 20:50:09 +00:00