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

4436 Коммитов

Автор SHA1 Сообщение Дата
Brian Barrett
5f4a433086 * remove unused file
This commit was SVN r5428.
2005-04-19 03:43:42 +00:00
Jeff Squyres
f2806bdb03 Change a bunch of error handlers to invoke on a relevant communicator,
not MPI_COMM_WORLD

This commit was SVN r5427.
2005-04-19 00:45:29 +00:00
Prabhanjan Kambadur
213da2abd0 - This version canhandle command line parsing
- If -d is specified, it assumes that the next parameter is 
      a valid subdirectory path.
    - If -f is specified, then it generates the statistic for tehse
      files. Each -f is pared with one file only. So multiple files require 
      multiple -f's
    - -p "%" can be given to spew out the files which have a coverage
      below this percentage

This commit was SVN r5426.
2005-04-19 00:35:59 +00:00
Jeff Squyres
c094c02310 Allow orte_ symbols in components
This commit was SVN r5425.
2005-04-18 21:23:15 +00:00
Josh Hursey
02fcede066 Fixed some includes.
Comment out pipes stuff for windows. need to come back and fix this properly in the future.
-his line, and those below, will be ignored--

M    iof_base_setup.c

This commit was SVN r5424.
2005-04-18 21:17:56 +00:00
Tim Woodall
f4c25492f3 - correct thread locking
- allocate enough memory to hold fifo array

This commit was SVN r5423.
2005-04-18 21:13:30 +00:00
Brian Barrett
cd76153a74 * dumb bug fixes
This commit was SVN r5422.
2005-04-18 19:52:39 +00:00
Jeff Squyres
d4deac7e10 Fix a mistaken test / assignment
This commit was SVN r5421.
2005-04-18 19:33:50 +00:00
Brian Barrett
63bd314a0b * Update ASM tests to do more thread testing (which should help find bugs)
* Update cmpset test to call memory barrier when needed before checking the
  results
* remove unneeded sync from cmpset_32 on Power PC

This commit was SVN r5420.
2005-04-18 19:33:23 +00:00
Edgar Gabriel
0a77b54535 fix two bugs for dynamic process management, which makes the ibm spawn test pass:
- argv[0] should be the name of the executable for the spawned processes.
 - if we free a dynamic communicator (instead of disconnecting),
   the counter for dynamic communicators has to be decreased as well,
   else we core in finalize. 

This commit was SVN r5419.
2005-04-18 18:57:24 +00:00
Prabhanjan Kambadur
c53e92c482 - This version reports all the files which are below a certain percentage as specified by -p %. If this is not specified, it defaults to 0%
- Added some minor changes to make sure that files are not reported more than once
- Print average coverage statistics
- TODO
    - Add support to get statistics for a particular file

This commit was SVN r5418.
2005-04-18 17:35:00 +00:00
Prabhanjan Kambadur
2d518033fc eliminating duplicate copies from the report
This commit was SVN r5417.
2005-04-18 17:14:29 +00:00
Prabhanjan Kambadur
ddead64bcf 1. Moving WRAPPER_*_FLAGS initialization to configure.ac instead of
having it in config/ompi_setup_cxx.m4
2. Adding --enable-coverage option. This will add teh flags -ftest-coverage
   and -fprofile-arcs to the flags. Also, one needs to compile with 
   debug and static only to enable code coverage
3. Adding the coverage flag options to WRAPPER_*_FLAGS so that mpicc and co.,
   will add these to teh executables when they are compiled

This commit was SVN r5416.
2005-04-18 16:38:27 +00:00
Prabhanjan Kambadur
884a04923e This is the perl script which parses the output of gcov.
Currently, the fllowing have been implemented:
    - the directory/ies are specified in a file "dir_list"
    - gcov is run on all the files which were touched
    - 4 files are generated as output
        - touched_files (those files which generated .da files)
        - untouched_files (those which did nto generate .da files)
        - coverage_stats.txt (index, filename, dirname, %coverage)
        - zero_coverage.txt (same as above, but for those with 0% coverage)
    - Currently, the statistics are generated only for *.c and *.cc files.
      gcov does infact generate the numbers for header files as and when 
      they are used. So, for every inclusion of a header file, a seperate
      .da for that header file is created. To get the numbers out for 
      the header files, we need to aggregate all the stats for the header 
      files manually. This is yet to be done

Things to do;
    - Generate the statistics for the header files
    - Command line parsing instead of reading from "dir_list"
    - Input a % and list all the files which were covered less
      than that percentage

This commit was SVN r5415.
2005-04-18 16:34:27 +00:00
Jeff Squyres
6fbf9c29f2 Fix minor typos
This commit was SVN r5414.
2005-04-18 14:21:29 +00:00
Jeff Squyres
9e4dadafdd Allow the polling library to have epoll_ prefixes, but file a bug
about this for the future.

This commit was SVN r5413.
2005-04-18 14:06:01 +00:00
Brian Barrett
d474b2c3fc AIX sed passes unmatched lines through unchanged, so first find the
lines we want

This commit was SVN r5411.
2005-04-17 22:14:13 +00:00
Brian Barrett
5b12a357c7 * make the PTY setup code conform to the prefix rules. Duh.
This commit was SVN r5410.
2005-04-17 17:50:39 +00:00
Jeff Squyres
41db769781 Add a whole bunch of missing <util/output.h> files
This commit was SVN r5408.
2005-04-16 14:14:51 +00:00
Jeff Squyres
ab16fadb0f Be specific in error messages about f90 setup
This commit was SVN r5407.
2005-04-16 00:53:22 +00:00
Jeff Squyres
3ea253bbb2 Updates to orterun:
- Print error messages with the basename(argv[0]) rather than
  hard-coded argv[0] so that you can see an error message beginning
  with "mpirun" when you run mpirun, etc.
- For all processes that died due to a signal:
  - If the signal was not SIGKILL, display the first N of them (where
    N defaults to 1)
  - If more than N processes died due to a non-SIGKILL signal, print
    "And X more processes aborted..." kind of message
  - Add --aborted command line parameter to change the default value
    of N
  - Also print out the total number of processes that died due to
    SIGKILL, with a disclaimer that it's impossible to know if we
    killed them or someone else killed them

This commit was SVN r5406.
2005-04-15 21:52:58 +00:00
George Bosilca
ac987a5533 Remove some compilation warnings.
This commit was SVN r5405.
2005-04-15 21:36:32 +00:00
Jeff Squyres
7ad0d67a9d After consultation with Tim: when we set the ABORTED state for a proc,
also increase the count on TERMINATED so that orterun can know when
*all* processes have died.

This commit was SVN r5404.
2005-04-15 21:35:17 +00:00
Jeff Squyres
f9ef7d4657 Make the pls's clean up the session directory of each process that dies.
This commit was SVN r5403.
2005-04-15 21:34:07 +00:00
Brian Barrett
3a55cffdcd * add missing files from pty commit
This commit was SVN r5402.
2005-04-15 21:23:25 +00:00
George Bosilca
c6e97182cf Dont go back from the progress if there are still events.
This commit was SVN r5401.
2005-04-15 21:22:46 +00:00
Brian Barrett
e3587652b7 * Add support for using ptys for stdout when doing I/O forwarding. This is
enough to make use applications be line buffered instead of block buffered,
  which makes output come much faster :)

This commit was SVN r5400.
2005-04-15 21:18:20 +00:00
George Bosilca
fe70c2ceed Correctly compute the displacement in the stack.
This commit was SVN r5399.
2005-04-15 20:48:51 +00:00
George Bosilca
d7a66701a5 As this function can be used with datatype without an optimized representation compute the count by
taking in account the size of he predefined datatype.

This commit was SVN r5398.
2005-04-15 20:47:56 +00:00
Graham Fagg
8be3558757 missed const include
This commit was SVN r5394.
2005-04-15 17:40:41 +00:00
Tim Woodall
a8e13d9636 correct return value
This commit was SVN r5393.
2005-04-15 17:19:01 +00:00
Tim Woodall
a831729d6f split close into finalize/close so that rmgr can finalize all
sub-components prior to entering close. moved pls logic to
wait on children from close to finalize.

This commit was SVN r5392.
2005-04-15 17:04:57 +00:00
Jeff Squyres
1581a8feb4 If MPI_INIT hasn't been called or MPI_FINALIZE has been called, then
just abort().

This commit was SVN r5391.
2005-04-15 16:38:44 +00:00
Edgar Gabriel
78c00921f6 saving the current status before leaving to the airport
This commit was SVN r5390.
2005-04-15 16:20:30 +00:00
George Bosilca
7fd378f5d2 If everything went just fine return OMPI_SUCCESS.
This commit was SVN r5389.
2005-04-15 16:16:44 +00:00
George Bosilca
1ae368311a Do not allow the PML to cache the GM requests by now. I'll work on that later.
This commit was SVN r5388.
2005-04-15 16:13:43 +00:00
George Bosilca
478f7a226d Just indentation :)
This commit was SVN r5387.
2005-04-15 16:12:30 +00:00
George Bosilca
f70f4871ae If they try to create a struct with ZERO members just return an empty datatype.
This commit was SVN r5386.
2005-04-15 16:11:43 +00:00
George Bosilca
1f79196d78 NULL pointers are accepted if there is no associated data to retrieve.
This commit was SVN r5385.
2005-04-15 16:01:39 +00:00
George Bosilca
64e06bae52 Do not allow to stop the counting in the middle of a basic datatype.
This commit was SVN r5384.
2005-04-15 16:00:35 +00:00
George Bosilca
c3866709fa MPI_BOTTOM is a correct argument for pack/unpack at least for the part that have a datatype attached.
This commit was SVN r5383.
2005-04-15 15:58:59 +00:00
Edgar Gabriel
b1df79aedb these functions always have to return MPI_SUCCESS and not the error code passed to them.
This commit was SVN r5382.
2005-04-15 15:30:57 +00:00
George Bosilca
1010fd3690 For contifuous datatype the true_lb should be taken in account in order to receive the data in the
correct memory location.

This commit was SVN r5381.
2005-04-15 15:21:54 +00:00
Edgar Gabriel
c59b09a6a7 minor fix in graph_map and cart_map: in case the communicator passed to the functions
does not have a topo-modules assigned (yet), we return as newrank their rank in the original commmunicator. This is the solution suggested by the MPI spec.

This commit was SVN r5380.
2005-04-15 15:15:29 +00:00
Edgar Gabriel
b28ca88025 remove a stupid free() statement
This commit was SVN r5378.
2005-04-15 14:34:40 +00:00
Tim Woodall
70210a961e dont try to free the send request if it completes while in the
scheduler - defer this until the scheduler completes

This commit was SVN r5377.
2005-04-15 13:57:12 +00:00
Josh Hursey
e264707c64 final commit for environ changes for windows build...
This commit was SVN r5376.
2005-04-15 13:46:08 +00:00
Tim Woodall
020ecd2360 allow max_slots == slots
This commit was SVN r5375.
2005-04-15 13:42:14 +00:00
Tim Woodall
744e924d76 fix typo
This commit was SVN r5374.
2005-04-15 13:36:41 +00:00
Jeff Squyres
61f55f1011 Fix the problem with the nightly unit tests -- do *not* override
OMPI_ENABLE_DEBUG because that changes the size of struct's (e.g.,
ompi_object) in the unit tests as compared to what may have been
compiled in the library.

This commit was SVN r5373.
2005-04-15 13:32:18 +00:00