1
1

25 Коммитов

Автор SHA1 Сообщение Дата
Jeff Squyres
3f5541349a Add UC copyright
This commit was SVN r5009.
2005-03-24 12:43:37 +00:00
Brian Barrett
3b9753079d * Add note explaining why you can't use OMPI_DEBUG_ZERO (which was my
first reaction when I saw the commit).  Also, use
  ifconf.ifc_len instead of ifc_len.  Shouldn't matter, but be careful.

This commit was SVN r4989.
2005-03-22 16:24:32 +00:00
Ralph Castain
abd1048646 Cleanup some of the test areas.
Add a memset to if.c so that purify and valgrind stop complaining about uninitialized memory.

This commit was SVN r4988.
2005-03-22 15:37:58 +00:00
Brian Barrett
8c5d0b94b9 * Test for the non-existance of the constant used in the ioctl instead of the
__APPLE__.  This should allow OMPI to compile under Cygwin

This commit was SVN r4692.
2005-03-07 16:00:00 +00:00
Brian Barrett
b9ccc45008 * Move comment in powerpc atomic to where it should actually be
* Remove old version of ifinit since no one has complained recently

This commit was SVN r4199.
2005-01-28 01:10:50 +00:00
Prabhanjan Kambadur
9ac9f15537 These are the changes after the review with Jeff. Mostly are fixes for OOB and TCP
This commit was SVN r4070.
2005-01-20 00:03:23 +00:00
Brian Barrett
43d22fce30 * Fix for ticket #1040. Make sure that we have enough space in the
buffer for the SIOCGIFCONF ioctl to complete successfully.  Also, use
  the sa_len member of if ifreq's ifr_addr member, if available, for
  computing offsets of the ifreq structures.

  Since this has the potential to break people, setting the env
  variable OMPI_orig_if will result in the old code being used.  This
  will be removed once the new code survives a couple days in the
  wild.

This commit was SVN r3845.
2004-12-17 16:27:37 +00:00
Jeff Squyres
616269a9be Add HLRS copyright
This commit was SVN r3665.
2004-11-28 20:09:25 +00:00
Jeff Squyres
e9ed717748 First cut at copyrights: IU, UTK, and some OSU. LANL and HLRS still
pending.

This commit was SVN r3655.
2004-11-22 01:38:40 +00:00
Edgar Gabriel
b3d5c0a04f applying a diff-file from Jeff with one minor correction. Major problem was that I dereferenced comm_null accidentally four times instead of ones comm_null, twice group_null and once the error handler of comm_parent, in case a parent communicator other then comm_null has been established.
This commit was SVN r3525.
2004-11-05 12:58:14 +00:00
Prabhanjan Kambadur
4c8c62204d some additional changes that were made to the code yesterday.
This commit was SVN r3467.
2004-11-02 13:14:34 +00:00
Brian Barrett
b22becea6d * fix portability stupidity in ifislocal()
* clarify comment for addrtoname

This commit was SVN r3455.
2004-11-01 14:18:30 +00:00
Brian Barrett
fc8a7868e7 * fix ompi_ifaddrtoname to return the correct error code (it was returning
OMPI_ERROR if it found something and OMPI_SUCCESS otherwise).  Also
  look for INADDR_NONE instead of INADDR_ANY as the return from inet_addr()
* add convinience function ompi_ifislocal to quickly test if a given
  hostname or IP address (in dotted-quad form) is a local address
* don't ssh to the local machine, but fork() / exec() the bootproxy directly
  if ompi_ifislocal returns true *AND* there is no username specified
  for the given host
* remove the llm hack to translate localhost -> local machine name

This commit was SVN r3450.
2004-10-31 19:01:53 +00:00
Jeff Squyres
1952fca73d According to LAM/MPI and FT-MPI and /usr/include/linux/if.h, you
should really be advancing by sizeof(struct ifreq) --
sizeof(ifr->ifr_name) + sizeof(struct sockaddr) may be smaller than
sizeof(struct ifreq).  More specifically, the second element of struct
ifreq may be a union, of which struct sockaddr is only one element
(and may not be the smallest).

This commit was SVN r3441.
2004-10-29 18:52:57 +00:00
Prabhanjan Kambadur
4257467fec this is the big windows commit. there are more things which have gone into this than i can remember. but basically, we are looking for
1. header file and source file protections using #ifdef WIN32
2. new files and directories to support windows functionality
3. appropritate linkage symbols added (OMPI_DECLSPEC) for windows
4. some functions are unimplemented on the windows side. this is mostly
because there might not be need to implement it in windows land. eg., forking
a daemon off
5. Introduced locking mechanisms for windows

This commit was SVN r3286.
2004-10-22 16:06:05 +00:00
Jeff Squyres
d324a7725c - Add #if protection around non-portable system .h files
- Add #include "ompi_config.h" to all .c files, and ensure that it's
  the first #included file
- remove a few useless #if HAVE_CONFIG_H checks

This commit was SVN r3229.
2004-10-20 01:03:09 +00:00
Brian Barrett
1b1702ce00 * changes to make the util code safe to build with a C++ compiler
This commit was SVN r3194.
2004-10-18 15:38:19 +00:00
Tim Woodall
16d250b376 - integration of gpr/ns/oob w/ mpirun2
This commit was SVN r2344.
2004-08-28 01:15:19 +00:00
Tim Woodall
c119199b2e skip sub-ifs unless primary isn't configured
This commit was SVN r1572.
2004-07-07 16:28:01 +00:00
Tim Woodall
192c44d54e fix problem iterating through interface list when multiple logical
interfaces resolve to same kernel if index

This commit was SVN r1569.
2004-07-07 14:01:55 +00:00
David Daniel
563ac2a338 First pass of lam -> ompi conversion
This commit was SVN r1191.
2004-06-07 15:33:53 +00:00
George Bosilca
be14710283 Remove all C++ variable definitions from the <blink>C</blink> code !!!
This commit was SVN r957.
2004-03-25 19:18:13 +00:00
Jeff Squyres
251f68b94f Re-separate out the always-installable headers from the
LAM-development headers.

This commit was SVN r925.
2004-03-18 21:35:28 +00:00
David Daniel
7f8c2c3714 Updating header file names after the great directory reorganization.
This commit was SVN r877.
2004-03-17 18:45:16 +00:00
Jeff Squyres
1b67211597 Massive directory reorganization :-)
This commit was SVN r872.
2004-03-17 17:42:19 +00:00