1
1

4371 Коммитов

Автор SHA1 Сообщение Дата
Brian Barrett
591b8eebda * Default to only progressing the event library every 100 calls to
ompi_progress, unless someone is actually using it (MPI-2 dynamic,
  TCP PTL).  This is only for end of MPI_Init to start of MPI_Finalize. 
  All other times, the event library will be progressed every call
  into ompi_progress().

This commit was SVN r5479.
2005-04-21 14:58:25 +00:00
Prabhanjan Kambadur
ea0e1de399 Adding a dumb but essential check to see if any file was touched
This commit was SVN r5478.
2005-04-21 05:18:12 +00:00
Prabhanjan Kambadur
ed60597034 Making a minor change which goes a long way. This was a typo :)
This commit was SVN r5477.
2005-04-21 05:15:56 +00:00
Tim Woodall
ee52046876 make sure setup is complete before waiting on child
This commit was SVN r5476.
2005-04-20 15:59:22 +00:00
Tim Woodall
d885155bae comments
This commit was SVN r5475.
2005-04-20 15:57:06 +00:00
Tim Woodall
3a5b6b654e - dont register for sigchild callbacks until setup is complete
- flush io output on sigchild

This commit was SVN r5474.
2005-04-20 15:44:57 +00:00
Tim Woodall
99ca522d39 debug option to not execute ompid - just print out command line - to enable
debug of the deamon

This commit was SVN r5473.
2005-04-20 15:43:55 +00:00
Tim Woodall
cf7a1c7631 resolve a couple of locking/progress issues
This commit was SVN r5472.
2005-04-20 15:43:00 +00:00
Tim Woodall
7713012d92 change file name so that it's not removed on cleanup
This commit was SVN r5471.
2005-04-20 15:42:20 +00:00
Tim Woodall
cc6eae3eb9 resolve locking issue
This commit was SVN r5470.
2005-04-20 15:41:59 +00:00
Tim Woodall
445d20ccab remove unlock - this is done externally
This commit was SVN r5469.
2005-04-20 14:19:14 +00:00
Jeff Squyres
e541350b9a Oops -- meant to *delete* the CCASFLAGS, not comment them out...
This commit was SVN r5468.
2005-04-20 14:18:09 +00:00
Jeff Squyres
266344210f Rename src/util/libutil.la -> src/util/libompiutil.la because Libtool
was getting confused with the recent addition of "-lutil" to get the
system-level libutil (i.e., Libtool was confusing the two and doing
Bad Things).

This commit was SVN r5467.
2005-04-20 14:14:07 +00:00
Jeff Squyres
6bbdf75df0 Plug a few memory leaks in order to test new libtool improvements from
Ralf W (core libtool developer).  There are still a few more to plug
in ompi_info (mainly concerned with shutting down OMPI/ORTE
subsystems), but they can wait...

This commit was SVN r5466.
2005-04-20 13:16:32 +00:00
Jeff Squyres
191f8b2781 Move the declaration up into the C_DECLS protected area (needed for
ompi_info). 

This commit was SVN r5465.
2005-04-20 13:15:41 +00:00
Brian Barrett
776d3c02c9 * mention to the friendly compiler that we are going to stomp on ebx and it
should probably deal with that fact already.

This commit was SVN r5463.
2005-04-20 03:30:12 +00:00
Brian Barrett
8b69a532b7 * the next (and hopefullly last!) ompi_config_bottom.h fixup for Windows.
Last night's fix completely disregarded building the DSO components,
  which need to have the dllimport flag set for all the libmpi stuff, and
  need to export their component structures.  Unfortunately needed to
  add another #define to deal with the components for windows, but
  it required the least amount of work for all the non-Windows people.

This commit was SVN r5461.
2005-04-20 01:30:06 +00:00
Tim Woodall
469672a361 build array of progress functions for only those ptls used
This commit was SVN r5459.
2005-04-19 22:46:11 +00:00
Tim Woodall
6a3099a1d0 correction
This commit was SVN r5458.
2005-04-19 22:01:18 +00:00
Tim Woodall
5d26f93149 redefine the macros to be empty if threading is not enabled
This commit was SVN r5457.
2005-04-19 20:50:44 +00:00
Josh Hursey
0c3bfad751 back out windows changes
This commit was SVN r5451.
2005-04-19 16:01:42 +00:00
George Bosilca
29ab011aba Check with the standard and correct the behaviour of this function.
This commit was SVN r5450.
2005-04-19 15:32:30 +00:00
Josh Hursey
24e3ae8b94 Remove extraneous DECLSPEC on enum.
This commit was SVN r5442.
2005-04-19 14:33:02 +00:00
Josh Hursey
c5338de1ac Add a couple of file for the Windows build.
This commit was SVN r5441.
2005-04-19 14:20:00 +00:00
Jeff Squyres
ab95c2836e Allow epoll*, not just epoll_*
This commit was SVN r5439.
2005-04-19 12:09:13 +00:00
Thara Angskun
6569d5d569 check for POE support
This commit was SVN r5438.
2005-04-19 06:39:27 +00:00
George Bosilca
ad861063c8 I was thinking that void* is the most generic type of object pointer. And I was wrong as the type void* is
signed.

This commit was SVN r5437.
2005-04-19 06:03:53 +00:00
George Bosilca
3e54fd5fc5 Explicit cast to avoid compiler warnings.
This commit was SVN r5436.
2005-04-19 05:54:49 +00:00
George Bosilca
fa24b8332f By default data_map should be set to false.
This commit was SVN r5435.
2005-04-19 05:45:25 +00:00
George Bosilca
6a5130e2c8 Give a value to the jobid variable.
This commit was SVN r5434.
2005-04-19 05:44:53 +00:00
Josh Hursey
d1b12501fb usleep is not defined in Windows land.
sleep is the equlivant command where:
sleep(10) sleeps for 10 milliseconds.

This commit was SVN r5433.
2005-04-19 04:38:48 +00:00
Josh Hursey
fbf1ec6f2e Inching towards a compiling Windows build.
Some cleanup changes...

This commit was SVN r5432.
2005-04-19 04:24:13 +00:00
Josh Hursey
14ada6ff91 Fixed up for Windows build...
This commit was SVN r5431.
2005-04-19 04:21:50 +00:00
Brian Barrett
0964152893 clean up the OMPI_BUILDING #define. Rather than being defined to 1 if
we are part of the source tree and not defined otherwise, we are going
with an always defined if ompi_config.h is included policy.  If
ompi_config.h is included before mpi.h or before OMPI_BUILDING is set,
it will set OMPI_BUILDING to 1 and enable all the internal code that
is in ompi_config_bottom.h.  Otherwise, it will only include the
system configuration data (enough for defining the C and C++ interfaces
to MPI, but not perturbing the user environment).

This should fix the problems with bool and the like that the Eclipse
folks were seeing.  It also cleans up some build system hacks that
we had along the way.

Also, don't use int64_t as the default size of MPI_Offset, because it
requires us including stdint.h in mpi.h, which is something we really
shouldn't be doing.

And finally, fix a ROMIO Makefile that didn't set -DOMPI_BUILDING=1,
as ROMIO includes mpi.h, but not ompi_config.h

This commit was SVN r5430.
2005-04-19 03:51:20 +00:00
Josh Hursey
80af0b41c7 Fix include...
This commit was SVN r5429.
2005-04-19 03:46:27 +00:00
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