George Bosilca
b359d84661
Use the correct prefix.
...
This commit was SVN r18048.
2008-03-31 21:42:59 +00:00
George Bosilca
be2454e0c5
Default the temporary directory to /tmp if no special environment
...
variables are set.
This commit was SVN r18046.
2008-03-31 20:15:49 +00:00
George Bosilca
ee784b601e
For consistency reasons always use opal_home_directory and
...
opal_tmp_directory.
This commit was SVN r18043.
2008-03-31 18:13:41 +00:00
George Bosilca
028c7391d3
Coverty fix: Replace strcpy by strncpy.
...
This commit was SVN r17961.
2008-03-25 22:39:24 +00:00
George Bosilca
3997639ec6
Hide what should be hidden, and expose the others. Plus some indentation.
...
This commit was SVN r17856.
2008-03-18 03:00:08 +00:00
George Bosilca
210631962c
Add two convenience functions in order to make sure we get these
...
environment variables in a consistent manner. These functions
retrieve the user and the temporary directories (based on the
system).
This commit was SVN r17815.
2008-03-13 17:56:44 +00:00
Rainer Keller
32dcd9e551
- Adding #include <stdbool.h> with protection in r17488 and r17504
...
seemed to be the right thing(tm), but broke the Sun Studio C++
compiler under Linux (ticket 747).
This patch should allow inclusion into C and C++ from other header
files without problems.
This commit was SVN r17792.
The following SVN revision numbers were found above:
r17488 --> open-mpi/ompi@d53131f261
r17504 --> open-mpi/ompi@b22e8e7567
2008-03-08 12:53:10 +00:00
Ralph Castain
d70e2e8c2b
Merge the ORTE devel branch into the main trunk. Details of what this means will be circulated separately.
...
Remains to be tested to ensure everything came over cleanly, so please continue to withhold commits a little longer
This commit was SVN r17632.
2008-02-28 01:57:57 +00:00
Rainer Keller
d53131f261
- Need stdbool.h if included in userland; additionally protect stdbool / stdarg.h
...
This commit was SVN r17488.
2008-02-18 08:11:57 +00:00
Adrian Knoth
601fb4389d
Cosmetics for r17150. Closes trac:1201
...
This commit was SVN r17151.
The following SVN revision numbers were found above:
r17150 --> open-mpi/ompi@4b50f02126
The following Trac tickets were found above:
Ticket 1201 --> https://svn.open-mpi.org/trac/ompi/ticket/1201
2008-01-17 12:29:12 +00:00
Adrian Knoth
4b50f02126
Only free res iff it's been allocated before. Re #1201
...
This patch fixes the segfault, so closing the ticket might be possible.
It's a very conservative patch. Perhaps the freeaddrinfo spec says that
it will never allocate res in case of errors, but for now, I neither
have the spec nor the will to rely on it.
This commit was SVN r17150.
2008-01-17 10:01:52 +00:00
Jeff Squyres
00131df353
Fix typo in incorrect variable name; only noticed now because someone
...
actually compiled on a system without syslog support (Brian B.). :-)
This commit was SVN r16863.
2007-12-06 11:36:44 +00:00
Torsten Hoefler
e985812e1f
fixing a comment to be more detailed about opal_output_open
...
functionality ...
This commit was SVN r16370.
2007-10-06 17:33:57 +00:00
Tim Prins
e25bb7f187
Some platforms (such as FreeBSD) need libutil.h included for openpty.
...
Thanks to Karol Mroz for pointing this out.
This commit was SVN r16163.
2007-09-19 21:59:22 +00:00
George Bosilca
d1364c53de
Don't allocate the temporary buffer on the stack. It get way too much
...
space.
This commit was SVN r16127.
2007-09-14 02:09:38 +00:00
George Bosilca
2c8c75ef94
Coverty blame list:
...
- Remove memory leaks
- uninitialized return
This commit was SVN r16126.
2007-09-14 02:08:37 +00:00
George Bosilca
921d79c2b8
Remove few memory leaks. Close the files where we're done with them.
...
This commit was SVN r16125.
2007-09-14 02:06:26 +00:00
Shiqing Fan
a389e61330
- Add some type casts, required by MS compiler.
...
This commit was SVN r16085.
2007-09-11 09:32:11 +00:00
Sven Stork
3a640603a4
- remove wrong va_end
...
This commit was SVN r15789.
2007-08-07 13:32:05 +00:00
Sven Stork
5e257fadbd
- add missing va_end
...
This commit was SVN r15788.
2007-08-07 12:25:20 +00:00
George Bosilca
31dfa5592e
Few clean-ups, few indentations. Nothing really important.
...
This commit was SVN r15767.
2007-08-04 00:44:23 +00:00
George Bosilca
e2f6d69669
Only use one va_list, as it seems that only one is allowed.
...
This commit was SVN r15765.
2007-08-04 00:41:26 +00:00
Josh Hursey
6248b2bb51
Whoops. Make sure to include the opal_output header.
...
This commit was SVN r15755.
2007-08-03 19:20:23 +00:00
Josh Hursey
dc9644a2c2
Add a bit of error output so the user can figure out what
...
went wrong when we cannot create a directory.
This commit was SVN r15754.
2007-08-03 19:08:48 +00:00
Brian Barrett
951755f9fb
no need to call gethostname twice to determine if a process is local
...
This commit was SVN r15742.
2007-08-02 16:25:25 +00:00
Gleb Natapov
072ebf0fb3
Add new opal_argv_split_with_empty() function. opal_argv_split() function
...
doesn't include empty string in the argv array if there are two delimiters
in a row in an input string.
This commit was SVN r15718.
2007-08-01 12:08:11 +00:00
Sven Stork
4c5836c2ee
- add missing va_end found by coverity
...
This commit was SVN r15689.
2007-07-30 16:08:18 +00:00
George Bosilca
8350ba19db
Add protections against the shlwapi.h header file.
...
This commit was SVN r15597.
2007-07-25 03:49:31 +00:00
Adrian Knoth
e6345aeac6
Fixes for building on kFreeBSD. Re #1105
...
This commit was SVN r15592.
2007-07-24 23:19:45 +00:00
Brian Barrett
c3be7376c5
* Mark some of the structures passed into the if and net code as const when
...
they actually are const.
* Remove some dead code from the no IP support case
* Add doxygen comment for opal_net_get_port()
This commit was SVN r15547.
2007-07-22 19:19:01 +00:00
Brian Barrett
39a6057fc6
A number of improvements / changes to the RML/OOB layers:
...
* General TCP cleanup for OPAL / ORTE
* Simplifying the OOB by moving much of the logic into the RML
* Allowing the OOB RML component to do routing of messages
* Adding a component framework for handling routing tables
* Moving the xcast functionality from the OOB base to its own framework
Includes merge from tmp/bwb-oob-rml-merge revisions:
r15506, r15507, r15508, r15510, r15511, r15512, r15513
This commit was SVN r15528.
The following SVN revisions from the original message are invalid or
inconsistent and therefore were not cross-referenced:
r15506
r15507
r15508
r15510
r15511
r15512
r15513
2007-07-20 01:34:02 +00:00
Jeff Squyres
7ae4a22ed5
Wow. How did that one get through?
...
This commit was SVN r15514.
2007-07-19 17:18:10 +00:00
Jeff Squyres
7c52a0ce17
Help track down when NULL is passed to %s for OPAL replacements of
...
asprintf and friends. This is not a failsafe; there are many cases
where this check will not be used. But at least it's something...
This commit was SVN r15500.
2007-07-19 12:28:43 +00:00
Brian Barrett
5c1c3cdf1c
remove debugging output
...
This commit was SVN r15497.
2007-07-18 21:57:58 +00:00
Brian Barrett
916397f358
Use thread specific data and static buffers for the return type of
...
opal_net_get_hostname() rather than malloc, because no one was freeing
the buffer and the common use case was for printfs, where calling
free is a pain.
This commit was SVN r15494.
2007-07-18 20:25:01 +00:00
Brian Barrett
1d02b9e7b5
Fix a bunch of issues exposed by Ken Cain in getting Open MPI to work with
...
VxWorks. Still some issues remaining, I'm sure.
Refs trac:1010
This commit was SVN r15320.
The following Trac tickets were found above:
Ticket 1010 --> https://svn.open-mpi.org/trac/ompi/ticket/1010
2007-07-10 03:46:57 +00:00
George Bosilca
1701013dd0
The real Windows solution. This generate one more dependence when
...
building on Windows (to the shlwapi.lib).
This commit was SVN r15267.
2007-07-02 18:11:14 +00:00
George Bosilca
610d7a0d2c
A Windows specific solution around the real path function.
...
This commit was SVN r15263.
2007-07-02 14:55:10 +00:00
Adrian Knoth
83c7aab185
Removed annoying debug output
...
This commit was SVN r15262.
2007-07-02 13:17:27 +00:00
George Bosilca
0bf7463c6f
This one was nice ... and it didn't even trigger a compile warning.
...
Update the copyright.
This commit was SVN r15256.
2007-07-01 17:59:46 +00:00
George Bosilca
b9251eb442
On Windows accept networked path (i.e. starting with \\). Add a new function
...
opal_find_absolute_path which take as argument a executable name and return
the absolute path if possible.
This commit was SVN r15255.
2007-07-01 17:53:19 +00:00
George Bosilca
003d1b8665
On windows make sure we add the initial path separator only if we are
...
creating a relative path. Use BEGIN_C_DECLS and END_C_DECLS on some
header files.
This commit was SVN r15254.
2007-07-01 17:51:34 +00:00
Brian Barrett
04c0fcccf0
fix silly warning with the Sun compilers
...
This commit was SVN r15224.
2007-06-27 15:47:47 +00:00
Jeff Squyres
022bd30558
Back out r15158 because it apparently breaks with recent versions of
...
flex (which, incidentally, emit ''more'' warnings than earlier
versions). Grumble.
This commit was SVN r15166.
The following SVN revision numbers were found above:
r15158 --> open-mpi/ompi@57d09c10f7
2007-06-21 21:14:10 +00:00
Jeff Squyres
57d09c10f7
Avoid some compiler warnings that come up ''every day'' in MTT (and
...
have been for eons): make a symbol be used in a dumb but harmless way.
This commit was SVN r15158.
2007-06-21 15:42:06 +00:00
Shiqing Fan
66d9f8e516
Add braces.
...
This commit was SVN r15155.
2007-06-21 07:53:47 +00:00
Shiqing Fan
228d2b4996
Check if it's valid event handle. This will get rid of run time exception.
...
This commit was SVN r15154.
2007-06-21 07:49:11 +00:00
George Bosilca
c70566dfe7
Remove unused variables.
...
This commit was SVN r15029.
2007-06-12 22:50:43 +00:00
Tim Prins
f3e13f7231
Need one additional space for the case that the path is relative
...
This commit was SVN r14870.
2007-06-05 14:50:15 +00:00
Brian Barrett
508da4e959
OS X apparently really doesn't like shared libraries with unresolvable
...
symbols in them and environ is defined only in the final application
(probably in crt1.o). Apple provides a function for getting at the
environment, so use that instead if it's available.
This commit was SVN r14857.
2007-06-05 03:03:59 +00:00