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

168 Коммитов

Автор SHA1 Сообщение Дата
George Bosilca
fc9ae0e835 Allow the DLL to correctly retrieve the pnding requests from MPI applications.
This commit was SVN r19244.
2008-08-11 23:40:09 +00:00
Jeff Squyres
4bdc093746 Fixes trac:1361: mainly add new internal MCA parameter that orterun will
set when it launches under debuggers using the --debug option.

This commit was SVN r19116.

The following Trac tickets were found above:
  Ticket 1361 --> https://svn.open-mpi.org/trac/ompi/ticket/1361
2008-07-31 22:11:46 +00:00
Jeff Squyres
fd64e35f02 Fix a typo in the filename
This commit was SVN r18914.
2008-07-15 11:49:40 +00:00
Jeff Squyres
7897db314e Add in the use of MPIR_being_debugged for DDT.
This commit was SVN r18796.
2008-07-03 12:27:35 +00:00
Pak Lui
119df10349 Fix the debugging messages
This commit was SVN r18686.
2008-06-19 18:54:20 +00:00
Pak Lui
a924b4a7f4 Define the symbols to allow parallel debuggers to dlopen
the shared object when it is compiled with the Sun Studio C compiler.
Depends on where the extern variables that are included in the headers were 
initialized, there can be instances wheter there is no storage allocated 
for the variables and therefore the symbols may or may not be defined 
when the debugger tries to dlopen this message queue dll.

This commit was SVN r18685.
2008-06-19 18:49:25 +00:00
Jeff Squyres
da6aa57efb Change up the logic a bit to handle the Red Storm case a bit better
(still need the real yod environment variable name), and add in some
lengthy comments explaining the two different methods of debugger
attach that we're using.

MPI handle debugging doesn't seem to be working at the moment; still
checking into it...

This commit was SVN r18672.
2008-06-18 21:33:08 +00:00
Ralph Castain
282a220e7e Update the debugger interface per email thread with Jeff and Brian. Handoff to them for final test and validation
This commit was SVN r18670.
2008-06-18 15:28:46 +00:00
Ralph Castain
0532d799d6 Complete implementation of the --without-rte-support configure option. Working with Brian, this has been tested on RedStorm.
Some minor changes to help facilitate debugger support so that both mpirun and yod can operate with it. Still to be completed.

This commit was SVN r18664.
2008-06-18 03:15:56 +00:00
Jeff Squyres
d0cfca5990 Documentation describing how TV (and others like it) attach to MPI
processes.  Originally downloaded from
http://www-unix.mcs.anl.gov/mpi/mpi-debug/mpich-attach.txt -- cached
here in case that file ever disappears someday.

This commit was SVN r18663.
2008-06-17 21:19:34 +00:00
Jeff Squyres
1e00d26c61 Minor word smything
This commit was SVN r18660.
2008-06-16 19:56:13 +00:00
Ralph Castain
c13cadc3c7 Refs trac:1255
This commit repairs the debugger initialization procedure. I am not closing the ticket, however, pending Jeff's review of how it interfaces to the ompi_debugger code he implemented. There were duplicate symbols being created in that code, but not used anywhere. I replaced them with the ORTE-created symbols instead. However, since they aren't used anywhere, I have no way of checking to ensure I didn't break something.

So the ticket can be checked by Jeff when he returns from vacation... :-)

This commit was SVN r18625.

The following Trac tickets were found above:
  Ticket 1255 --> https://svn.open-mpi.org/trac/ompi/ticket/1255
2008-06-09 20:34:14 +00:00
George Bosilca
a01f3f762c Check if extra is NULL or not ...
This commit was SVN r17967.
2008-03-25 22:43:46 +00:00
Jeff Squyres
597266fdec Present state of MPI debugger work:
* New/improved bootstrapping technique for DLLs 
 * First cut of the MPI handle debugging interface. It is still
   evolving, but the interface is getting more stable.
 * Some minor bugs were fixed in the unity topo component (brought to
   light because of the new MPI handle debugging stuff).

Fixes trac:1209.

This commit was SVN r17730.

The following Trac tickets were found above:
  Ticket 1209 --> https://svn.open-mpi.org/trac/ompi/ticket/1209
2008-03-05 12:22:34 +00:00
George Bosilca
906e8bf1d1 Replace the ompi_pointer_array with opal_pointer_array. The next step
(sometimes after the merge with the ORTE branch), the opal_pointer_array
will became the only pointer_array implementation (the orte_pointer_array
will be removed).

This commit was SVN r17007.
2007-12-21 06:02:00 +00:00
Jeff Squyres
213b5d5c6e Per long threads on the mailing list and much confusion discussion
about linkers, have all OPAL, ORTE, and OMPI components '''not'' link
against the OPAL, ORTE, or OMPI libraries.

See ttp://www.open-mpi.org/community/lists/users/2007/10/4220.php for
details (or https://svn.open-mpi.org/trac/ompi/wiki/Linkers for a
better-formatted version of the same info).

This commit was SVN r16968.
2007-12-15 13:32:02 +00:00
George Bosilca
e724ca0a1f Remodel the ompi_free_list a little. The free_list_memory is in
fact a free_list_item so instead of having a struct, use typedef
to make them equivalent. Modify the parallel debuggers support
in order to allow them access to the internal types even when
we have an optimized build.

This commit was SVN r16567.
2007-10-25 16:47:54 +00:00
George Bosilca
df80d21e04 Get rid of the recv_context field. Instead we can rely on the unique_id,
which is shared between the DLL and the parallel debugger.

This commit was SVN r16492.
2007-10-17 22:07:38 +00:00
Pak Lui
97e692d85a mqs_communicator type should not be changed as it serves as the interface
between Totalview and DLL.

This commit was SVN r16200.
2007-09-24 19:02:56 +00:00
George Bosilca
8bdd14ba40 Remove unique_id which wasn't used anymore. Instead use the recv_context which
is set to the cid of the communicator (unique id for each communicator).
Make sure each communicator have a group attached to it. The MPI_COMM_NULL
should have the MPI_GROUP_NULL as a group, in all circumstances.

This commit was SVN r16177.
2007-09-21 14:30:40 +00:00
Pak Lui
54c87daaed Fix a SEGV when the user updates the message queue graph after the user
executable has called MPI_Finalize(). It happens when removing the group
from each of the communicators, that MPI_COMM_NULL doesn't have a group. 
Also fix the code from skipping over every other communicator when
freeing the groups.

This commit was SVN r16166.
2007-09-20 18:58:16 +00:00
George Bosilca
2b7ed6262b Update the communicator lowest_free when we rebuild the communicator list.
This commit was SVN r16102.
2007-09-12 16:41:14 +00:00
Pak Lui
e3fdfdbd9c Fix some typos here and there.
This commit was SVN r16058.
2007-09-06 14:56:08 +00:00
Tim Prins
f677ef5c12 Fix build failure on BigRed
This commit was SVN r16054.
2007-09-06 12:10:11 +00:00
Pak Lui
3d7b5b306f Fix a problem with OPAL_ALIGN that causes the upper bytes to get chopped
off and bogus addresses to show up for the requests, which in turns causes
message queues not showing up when debugging a 64 bit app on a 32 bit 
tvd and dll on only Solaris SPARC.

This commit was SVN r16052.
2007-09-05 23:52:36 +00:00
Pak Lui
99ae2c1c44 Nothing relevent (yet). Just making debugging more enjoyable.
This commit was SVN r16051.
2007-09-05 23:21:58 +00:00
Pak Lui
bc34a46969 * complete the fix started in r15915, that is, to prevent negative tags
from showing up in the message queue graph. Tags are now casted to int
  before the negative checks, since tags by the spec are stored as 
  mqs_tword_t, an unsigned long long.

This commit was SVN r16027.

The following SVN revision numbers were found above:
  r15915 --> open-mpi/ompi@b9ea4c92e7
2007-08-31 03:02:24 +00:00
Pak Lui
75c7d4e03b Temporary workaround for making Totalview be able to get those opal
symbols and load into the library when compiled with a Sun Studio C compiler

This commit was SVN r15970.
2007-08-27 19:04:56 +00:00
George Bosilca
475073c684 Be as user friendly as possible and provide more information. Now we make the
difference between the user specified length, and the one available from
Open MPI (this allow to se the truncated receives). Moreover, if the
data-type used is named we now print the count as well as the name of
the used data-type.

This commit was SVN r15962.
2007-08-26 23:07:14 +00:00
George Bosilca
a6723b34ea Cleanup the code. Remove all debugging messages.
This commit was SVN r15955.
2007-08-24 02:58:09 +00:00
George Bosilca
daaf5a9bf1 Correct the assert macro.
This commit was SVN r15953.
2007-08-23 19:48:04 +00:00
George Bosilca
db19f927e8 A lot of cleanups. Verbose is enabled right now as we're tracking down
an issue with the ompi_communicator_t structure.

This commit was SVN r15951.
2007-08-23 16:40:07 +00:00
George Bosilca
b5af2ba6f2 Correctly retrieve the MPI_SOURCE field for receives.
This commit was SVN r15944.
2007-08-22 22:35:30 +00:00
George Bosilca
7e8bd529dc A better management of the receive requests. If the request was matched
then we can report the real source (in both local and global rank) as
well as the real amount of data transfered.

This commit was SVN r15929.
2007-08-19 20:16:48 +00:00
George Bosilca
7ef49614fc Correctly read a bool from the application memory. Report back if the
receive request was matched or not.

This commit was SVN r15928.
2007-08-19 20:05:09 +00:00
George Bosilca
5ac19c62a1 Translate between global and local ranks. A global rank is the rank
of the process in the MPI_COMM_WORLD, while a local rank is the rank
of the process in the communicator where the request was posted. In
order to get the message graph nicely, each request has to have the
global rank set correctly.

This commit was SVN r15926.
2007-08-19 19:50:26 +00:00
George Bosilca
b9ea4c92e7 Don't show the requests having a negative tag (they are internal
requests for Open MPI). Add a variable to allow Open MPI developers
to see all internal messages.

This commit was SVN r15915.
2007-08-17 18:59:57 +00:00
George Bosilca
b1082c95ff Remove all output. This final commit should solve all [hopefully]
problems with the integration with parallel debuggers.

This commit was SVN r15898.
2007-08-17 02:35:14 +00:00
George Bosilca
4dacd163cc Don't grab the information from the MPI_Status for the send requests.
This commit was SVN r15897.
2007-08-17 02:31:50 +00:00
George Bosilca
2086b7b445 Optimize the group creation. Don't create a new group if there is
already one containing the same nodes (useful for MPI_Comm_dup).

This commit was SVN r15896.
2007-08-17 02:19:34 +00:00
George Bosilca
7efffdb1da Be smart about parsing the communicators list. Based on the values of
lowest_free and number_free detect if the communicator list has changed.
If not, there is no reason to rebuild it, just use the old one.

This commit was SVN r15895.
2007-08-16 22:51:55 +00:00
George Bosilca
9cce0eb4bc Deal with int/size_t differences. This introduce some small problems
with the reported length of the receive requests, but I'll fix
it soon.

This commit was SVN r15893.
2007-08-16 21:02:24 +00:00
George Bosilca
51e726ee8c Remove some old [and unused] code.
This commit was SVN r15887.
2007-08-16 17:06:17 +00:00
George Bosilca
1ae49b7143 Don't use a fprintf. Instead a plain print will do the job.
This commit was SVN r15883.
2007-08-16 14:55:44 +00:00
Jeff Squyres
4b7a6cd922 Fix the following compile error:
{{{
ompi/debuggers/ompi_dll.c:102: error: initializer element is not
constant
}}}

The fix is stupid and I suspect that we'll want to ''not'' print out
all this debugging information all the time.  But I'll leave that to
George to fix...  :-)

This commit was SVN r15880.
2007-08-16 11:51:06 +00:00
George Bosilca
33a73a88c6 Add a lot more information about the requests (pending, matched,
completed). Correctly detect the tag is a receive was matched.

This commit was SVN r15879.
2007-08-16 07:11:56 +00:00
George Bosilca
de4813359a The message queue is now back online. It heavely depend on the
opal_list_t, ompi_free_list_t so every time there is a modification
in one of these files (such as changing the way we allocate the
elements in the free list) the debugger interface have to
reflect these changes.

This commit was SVN r15876.
2007-08-16 04:33:04 +00:00
Shiqing Fan
f84e919dc2 - one more to fix.
This commit was SVN r15814.
2007-08-09 13:53:10 +00:00
Shiqing Fan
7dc5dbd8ea - fix a few function export declarations.
This commit was SVN r15813.
2007-08-09 13:52:23 +00:00
George Bosilca
78e2d3523b Remove some old and unused code. Update some of the comments.
This commit was SVN r15761.
2007-08-04 00:34:42 +00:00
George Bosilca
1772229535 Make the error messages a bit more clear (i.e. don't merge the send and receive
queues).

This commit was SVN r15141.
2007-06-19 22:34:20 +00:00
George Bosilca
bd5be6ed79 Decrease the dependencies on the rest of the Open MPI code base.
This commit was SVN r14756.
2007-05-24 16:59:00 +00:00
Sven Stork
d0c936ca85 - export required symbols or library is useless
This commit was SVN r14595.
2007-05-07 13:59:37 +00:00
Rainer Keller
125ba1acfa - Reduce the amount of warnings with -Wshadow -- mainly due to
usage of index and abs in inline-fcts in header files.

This commit was SVN r13217.
2007-01-19 19:48:06 +00:00
George Bosilca
c75cfd3efc Remove all warnings from the TotalView interface.
This commit was SVN r12091.
2006-10-11 17:29:29 +00:00
George Bosilca
8e246ce9db Add th headers to the make dist.
This commit was SVN r12045.
2006-10-06 14:52:44 +00:00
George Bosilca
4d18d208d4 Getting closer to a full Total View support.
This commit was SVN r11974.
2006-10-04 20:01:33 +00:00
George Bosilca
ff7e670c6a Sends and receives are now fully implemented. Correctly handle the reference counts
on groups. Correct the rearrangement of the communicators. Other minors improvements.

This commit was SVN r11722.
2006-09-20 07:51:30 +00:00
George Bosilca
b49ff3a3b7 We are now able to provide full information about the requests. And we can
parse all requests (sends or receives), and show them based on the communicator.

This commit was SVN r11702.
2006-09-19 06:31:42 +00:00
George Bosilca
139a9df741 Next step forward. Now we have the send and receive queue as well. There
is still a small problem with the groups but it clearly getting better ...

This commit was SVN r11701.
2006-09-19 02:07:06 +00:00
George Bosilca
67336f90b0 First cut for the Total View support for communicators, groups and requests. Not yet
included on the conpilation step.

This commit was SVN r11690.
2006-09-18 17:32:04 +00:00
George Bosilca
36be7bf204 Unix friendly EOL.
This commit was SVN r11457.
2006-08-28 04:09:43 +00:00
George Bosilca
208fa725c3 Add OMPI_DECLSPEC before all exported functions.
This commit was SVN r8611.
2005-12-31 12:18:15 +00:00
George Bosilca
734c936205 As we use usleep we have to include unistd.h. So let's protect it.
This commit was SVN r8443.
2005-12-10 22:36:40 +00:00
George Bosilca
53235eb34d The Windows protection is called __WINDOWS__ (and it's a mix between WIN32 and _WIN32).
This commit was SVN r8440.
2005-12-10 22:10:39 +00:00
Jeff Squyres
42ec26e640 Update the copyright notices for IU and UTK.
This commit was SVN r7999.
2005-11-05 19:57:48 +00:00
Jeff Squyres
4c59058053 - Add some logic to configure to make a version of CFLAGS that doesn't
include any optimization flags
- Use these flags to always compile ompi/debuggers/* and orterun so
  that parallel debuggers (such as Totalview) can always see the
  debugging symbols (see comments in ompi/debuggers/Makefile.am and
  orte/tools/orterun/Makefile.am)
- Remove some obsolete LAM-named variables from configure.ac

This commit was SVN r7125.
2005-09-01 10:37:20 +00:00
David Daniel
227947fc51 Moving MPI-side TotalView support into a separate directory
ompi/debuggers/

so that compilation options can be more easily controlled.

This commit was SVN r7113.
2005-08-31 20:35:15 +00:00