Ralph Castain
b8ffa302da
Separate abnormal job termination from abnormal orted termination so we can continue to use xcast for orted cmds, but can know to turn off reading of stdin as the job is being terminated.
...
This commit was SVN r20650.
2009-02-27 10:16:25 +00:00
Ralph Castain
4f75f6e443
Fix a bug where we were not stopping the read event on stdin if the write to stdin of the target process was backing up.
...
Ensure we stop reading stdin if we are abnormally terminating - no point in doing so since the job is being terminated.
This commit was SVN r20649.
2009-02-27 09:31:34 +00:00
George Bosilca
e181ba50c9
Stop valgrind from complaining about few uninitialized bytes on the PML
...
headers. This feature is enabled only in debug mode when the heterogeneous
support is enabled.
This commit was SVN r20648.
2009-02-27 05:24:06 +00:00
Rainer Keller
1745895d09
- Sorry to come back to this, but revert r20643...
...
Headers should be included in the .c directly.
This commit was SVN r20645.
The following SVN revision numbers were found above:
r20643 --> open-mpi/ompi@e46c512ee7
2009-02-26 22:01:01 +00:00
Eugene Loh
ffb35a1b6c
Exposed mca_btl_sm_sendi() to the PML so that it will be used. Reviewed the code.
...
Added a few comments and changed the return code after the FIFO write to be SUCCESS,
even if the FIFO write indicated an error. Such an error would only mean that the
FIFO was full, but the FIFO-write operation would still be queued. Therefore, the
PML should think of this as successful.
This commit was SVN r20644.
2009-02-26 18:10:50 +00:00
Josh Hursey
e46c512ee7
Fix a couple of missing headers resulting from recent cleanup
...
This commit was SVN r20643.
2009-02-26 16:56:56 +00:00
Shiqing Fan
4d3f801dbd
Try to find the installed flex on current windows system first, if it's not there, just use the one comes along with the source.
...
This commit was SVN r20642.
2009-02-26 13:03:53 +00:00
Rainer Keller
4c0e8e1e69
- Header orte/mca/oob/base/base.h is probably the wrong one to include
...
anyhow -- if oob functionality is neededm then orte/mca/oob/oob.h
Nevertheless compiles fine with -Wimplicit-function-declaration
This commit was SVN r20641.
2009-02-26 04:20:03 +00:00
Rainer Keller
04567d3af0
- Header orte/mca/errmgr/errmgr.h is not needed.
...
Once again compiles fine with -Wimplicit-function-declaration
This commit was SVN r20640.
2009-02-26 04:05:30 +00:00
Rainer Keller
96e1b9b747
- Header orte/mca/rml/rml.h is not needed if no occurence of orte_rml
...
or ORTE_RML.
As the others compiles fine with -Wimplicit-function-declaration
This commit was SVN r20639.
2009-02-26 03:52:31 +00:00
Rainer Keller
bcac113b13
- Header orte/mca/ess/ess.h not being used
...
This commit was SVN r20638.
2009-02-26 03:28:59 +00:00
Rainer Keller
224d89a353
- There sure is no local stdio.h header file.
...
Take the system header file...
This commit was SVN r20637.
2009-02-26 02:17:29 +00:00
Rainer Keller
b9f9cd8174
- Missed an occurence of ompi/info/info.h
...
This commit was SVN r20636.
2009-02-26 02:15:40 +00:00
Rainer Keller
985648086d
- Header ompi/info/info.h is not needed here.
...
This commit was SVN r20635.
2009-02-26 02:00:39 +00:00
Shiqing Fan
2326f14be5
Remove the unnecessary PROJECT command, I somehow misunderstood how it should be used on Windows....
...
This commit was SVN r20634.
2009-02-25 16:07:43 +00:00
Shiqing Fan
aa2804de75
Refresh mpi.h.cmake according to the changes to mpi.h.in.
...
Add a few compiler flags which were missing.
This commit was SVN r20633.
2009-02-25 12:51:29 +00:00
Ralph Castain
f3ffe48edd
Remove debug output
...
This commit was SVN r20632.
2009-02-25 04:01:09 +00:00
Rainer Keller
b356e90fa1
- Get rid of include orte/util/proc_info.h, if not needed
...
Only proc_info.h-internal include file is opal/dss/dss_types.h
- In one case (orte/util/hnp_contact.c) had to add proc_info.h again.
- Local compilation (Linux/x86_64) w/ -Wimplicit-function-declaration
works fine, no errors.
Again, let's have MTT the last word.
This commit was SVN r20631.
2009-02-25 03:38:00 +00:00
Ralph Castain
85a9a2e6d8
Ensure that signals are de-trapped before exiting to stop the $#@@#$ event library from "asserting"
...
This commit was SVN r20630.
2009-02-25 03:10:21 +00:00
Ralph Castain
dcff523244
Fix a race condition that causes corruption of a buffer in mpirun while trying to process launch_local_proc cmds.
...
Cleanup the pidmap handling by changing from value to pointer arrays.
This commit was SVN r20629.
2009-02-25 02:43:22 +00:00
Terry Dontje
0178b6c45f
Added padding to predefined handle structures to maintain library version to
...
version compatibility.
This commit was SVN r20627.
2009-02-24 17:17:33 +00:00
Shiqing Fan
2148220ce4
Update the share libs dependency for windows build.
...
This commit was SVN r20625.
2009-02-23 17:49:46 +00:00
Shiqing Fan
65eac713bc
Cast the pointer to the correct type, i.e. IOVBASE_TYPE.
...
This commit was SVN r20624.
2009-02-23 17:31:53 +00:00
Shiqing Fan
252c8d1873
Add missing brackets, apparently a bug for shared build on windows.
...
This commit was SVN r20623.
2009-02-23 17:28:39 +00:00
Shiqing Fan
3656a38a03
Fix a few type casts for windows.
...
This commit was SVN r20622.
2009-02-23 14:09:07 +00:00
Matthias Jurenz
a1608ecd60
bugfix: added configure check for header file 'asm/intrinsics.h' and definition of '_IA64_REG_AR_ITC' which required to use the ITC timer on IA64/Linux
...
This commit was SVN r20621.
2009-02-23 12:41:22 +00:00
Josh Hursey
cde4ab5c32
Forgot another btl_base_close per r20617
...
Things should be working fine now with openib.
This commit was SVN r20618.
The following SVN revision numbers were found above:
r20617 --> open-mpi/ompi@d460264c79
2009-02-22 15:24:38 +00:00
Josh Hursey
d460264c79
Fix C/R support in response to r20586. This commit changed the way that bml/r2 finalized, so the C/R support needed to be updated otherwise the BTLs were not properly handled on restart.
...
This commit was SVN r20617.
The following SVN revision numbers were found above:
r2 --> open-mpi/ompi@58fdc18855
r20586 --> open-mpi/ompi@14a83a6bbc
2009-02-21 13:42:17 +00:00
Jeff Squyres
f1a6d170dc
Revert part of r20537: per lengtyh discussion on the phone and the
...
devel list, it ''is'' within in the spirit of MPI to allow
MPI_REQUEST_NULL to be passed to MPI_REQUEST_GET_STATUS. I filed a
ticket proposal with MPI-2.2 to make this officially accepted:
https://svn.mpi-forum.org/trac/mpi-forum-web/ticket/137
Plus, r20537 didn't revert out all of the machinery for allowing
MPI_REQUEST_NULL or inactive requests, anyway. So this commit simply
removes the parameter check that was added in r20537, and we're back
to where we were before this whole conversation. :-)
This commit was SVN r20616.
The following SVN revision numbers were found above:
r20537 --> open-mpi/ompi@38aab37bb3
2009-02-20 19:57:46 +00:00
Jeff Squyres
7e210fdaf8
Return MPI_ERR_COMM and MPI_ERR_WIN, respectively, for
...
MPI_COMM|WIN_SET|GET_ERRHANDLER if a bad MPI handle is passed. Thanks
to Lisandro Dalcín for reporting the issue.
This commit was SVN r20615.
2009-02-20 19:53:48 +00:00
Eugene Loh
463f11f993
Improve shared-memory allocation:
...
* compute mmap-file size more wisely and pass requested size to allocator
* change MCA parameters:
- get rid of mpool_sm_per_peer_size
- get rid of mpool_sm_max_size
- set default mpool_sm_min_size to 0
* no longer pad sm allocations to page boundaries
* have sm_btl_first_time_init check return codes on free-list creations
Have mca_btl_sm_prepare_src() check to see if it can allocate an EAGER fragment
rather than a MAX fragment if the smaller size works.
Remove ompi/class/ompi_[circular_buffer_]fifo.h and references thereto.
Remove opal/util/pow2.[c|h] and references thereto.
This commit was SVN r20614.
2009-02-20 19:51:57 +00:00
Ralph Castain
47f875bca1
Update the slave platform file to support cross-compiling of C and C++ programs - more work to do for Fortran
...
This commit was SVN r20613.
2009-02-20 15:54:54 +00:00
Jeff Squyres
1a7556d2c9
Refs trac:1805: temporarily disable some assert()s in event_base_free().
...
This commit was SVN r20609.
The following Trac tickets were found above:
Ticket 1805 --> https://svn.open-mpi.org/trac/ompi/ticket/1805
2009-02-20 15:03:36 +00:00
Ralph Castain
1e5aa40e3f
Ensure that this component is not selected by tools, or anything other than an MPI proc
...
This commit was SVN r20608.
2009-02-20 15:01:58 +00:00
Rainer Keller
02599446d0
- Occurences of ORTE_PROC_MY_NAME require orte/runtime/orte_globals.h
...
This commit was SVN r20607.
2009-02-20 03:16:13 +00:00
Rainer Keller
32b7189995
- Make usage of BTL_OUTPUT
...
This commit was SVN r20606.
2009-02-20 03:05:14 +00:00
Jeff Squyres
28f1c995ae
Add a decrement to the loop, lest it loop forever.
...
This commit was SVN r20605.
2009-02-20 02:58:52 +00:00
Ralph Castain
5dc4a2b1e0
Add missing include file
...
This commit was SVN r20603.
2009-02-19 21:40:31 +00:00
Ralph Castain
bb72154b2a
Enable build of the new direct routed module
...
This commit was SVN r20602.
2009-02-19 21:40:15 +00:00
Ralph Castain
ca97f315fe
Enable direct launch of applications under SLURM. Compute all required nidmap and mpidmap info based on publicly available SLURM environmental variables so that no linkage to SLURM libraries is required.
...
Note: this requires that nodes not be shared by jobs/users. SLURM developers are working on an enhancement to remove this constraint.
Note 2: yes, the direct routed module returned! However, it is vastly different than the old one and has zero support for such things as comm_spawn. It is solely to support non-daemon, direct-launch environments.
This commit was SVN r20601.
2009-02-19 21:39:54 +00:00
Ralph Castain
76fc406b08
Modify envars passed to support new proc_info and hier expectations
...
This commit was SVN r20600.
2009-02-19 21:36:30 +00:00
Ralph Castain
8359477387
Modify the base collective algorithms to take an array of arbitrary vpids instead of assuming everything is ordered in a particular way. Modify the hier grpcomm module to support arbitrary mappings
...
This commit was SVN r20599.
2009-02-19 21:35:20 +00:00
Ralph Castain
6151f7b60c
Enable static ports for application procs during self-bootstrap for non-daemon environments by letting them select what port to use based on node rank and attempting to connect to the peer on that port
...
Note that this assumes non-shared nodes...but only takes affect if there is no prior knowledge of how to talk to the specified peer. Thus, all daemon-based environments are unaffected.
This commit was SVN r20598.
2009-02-19 21:33:46 +00:00
Ralph Castain
9c2c17beb0
Split out the nidmap init function that adds entries for the local node and proc so these can be separate functions
...
This commit was SVN r20597.
2009-02-19 21:28:58 +00:00
Ralph Castain
2759b8e5e5
Add a central capability to parse regular expressions for node and ppn info - constructing the regex to come soon.
...
This commit was SVN r20596.
2009-02-19 20:46:36 +00:00
Ralph Castain
6db641c86d
Pass the number of nodes in a job to the process
...
This commit was SVN r20595.
2009-02-19 20:45:07 +00:00
Jeff Squyres
ed22f9744e
Bring in PLPA v1.3rc3 (add a missing comma, which should fix compiling
...
issues at Sun).
Sorry for the middle of the day configure change, but this should fix
a compile break at Sun...
This commit was SVN r20594.
2009-02-19 17:42:43 +00:00
George Bosilca
97a2296fdd
Correct the GET protocol. Thanks to Mike Dubman for finding the problem and
...
testing my patch.
This commit was SVN r20591.
2009-02-19 16:00:15 +00:00
Ralph Castain
40c6cabcf9
Final step in converting to hard copies of platform files
...
This commit was SVN r20590.
2009-02-19 15:03:28 +00:00
Ralph Castain
51b2f68184
Step two of replacing symbolic links with hard copies
...
This commit was SVN r20589.
2009-02-19 15:02:17 +00:00