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

8364 Коммитов

Автор SHA1 Сообщение Дата
Jeff Squyres
efe28d62e9 Fix some compiler errors. I have *not* checked this for correctness;
but it does now compile.

This commit was SVN r12062.
2006-10-07 19:10:56 +00:00
Ralph Castain
889ddefe85 Remove release that caused totalview connection to bomb
This commit was SVN r12061.
2006-10-07 18:25:56 +00:00
Ralph Castain
ae79894bad Bring the map fixes into the main trunk. This should fix several problems, including the multiple app_context issue.
I have tested on rsh, slurm, bproc, and tm. Bproc continues to have a problem (will be asking for help there).

Gridengine compiles but I cannot test (believe it likely will run).

Poe and xgrid compile to the extent they can without the proper include files.

This commit was SVN r12059.
2006-10-07 15:45:24 +00:00
Jeff Squyres
5dbe5c7442 Arrgh -- remove last vestige of debugging gorp.
This commit was SVN r12056.
2006-10-07 11:17:09 +00:00
Ralph Castain
82a023c731 Fix a typo that caused a segfault if a caller requested that we abort an array of procs (i.e., MPI_Abort when it specifies the other procs to be aborted).
Should hopefully address the recent problem seen with the BLACS AUX test as discussed on the user mailing list.

This commit was SVN r12055.
2006-10-07 01:58:11 +00:00
Ralph Castain
ee0df85ece Add a stupid, useless const since someone put it in the odls.h file.
This commit was SVN r12054.
2006-10-07 01:42:23 +00:00
Brian Barrett
51b2a0fd3f A couple of changes to improve shared memory behavior when resources get
constrained:

  * Make sure we always have a number of eager fragments available
    that scales with the number of processes communicating with
    a given proc over shared memory
  * Use FREE_LIST_GET instead of FREE_LIST_WAIT to return an
    error to the PML when resource exhaustion occurs
  * Don't dereference the frag during alloc unless we're sure
    it's not NULL

Reviewed by: Galen

Refs trac:413

This commit was SVN r12053.

The following Trac tickets were found above:
  Ticket 413 --> https://svn.open-mpi.org/trac/ompi/ticket/413
2006-10-06 21:13:49 +00:00
Jeff Squyres
b73d9ba3ca Arrgh! Left a debugging thingy in there. This commit backs out a
little bit from the prior commit (r12051).

This commit was SVN r12052.

The following SVN revision numbers were found above:
  r12051 --> open-mpi/ompi@72e202a432
2006-10-06 19:28:40 +00:00
Jeff Squyres
72e202a432 Fix two problems:
* OFED bug 249 (http://openib.org/bugzilla/show_bug.cgi?id=249) where
   Suse systems automatically add "-D_FORTIFY_SOURCE=2" to the
   RPM_OPT_FLAGS, which works fine when you're compiling with gcc.
   But not so much when using other compilers (_FORTIFY source
   silently changes the names of functions like memcpy() in an attempt
   to protect against buffer overflows, and uses a gcc __builtin
   thingy that results in undefined symbols when you compile/link with
   other compilers, such as icc -- as of 6 Oct 2006).  So do some
   horrid huersitics to see if we're using gcc, and if so, sed out any
   FORTIFY_SOURCE stuff in RPM_OPT_FLAGS.
 * If we're building a single rpm, don't bother creating the
   runtime.files and devel.files files.  And if we are making multiple
   RPMs, then ensure to end the pipe chain with /bin/true so that if
   the user specified --enable-static --disable-shared and the egrep
   for *.so files fails, the return status from egrep (1) doesn't
   cause RPM to barf.  Specifically, do this so that /bin/true's
   return value of 0 is always what rpmbuild sees, regardless of the
   return status of egrep:
{{{
find $RPM_BUILD_ROOT -type f -o -type l | \
   sed -e "s@$RPM_BUILD_ROOT@@" | \
   egrep "lib.*\.a|lib.*\.la" > devel.files | /bin/true
}}}

This commit was SVN r12051.
2006-10-06 19:26:44 +00:00
George Bosilca
2411ad74e4 Fix the bug #315. If there are multiple threads waiting for a free_list item
then use broadcast in order to wake them up. If there is only one then use signal
(which is supposed to be faster) and of course if there are no threads
waiting then just continue.

This commit was SVN r12049.
2006-10-06 16:17:50 +00:00
George Bosilca
cda46efd2a Some missing DECLSPEC
This commit was SVN r12047.
2006-10-06 15:21:52 +00:00
Jeff Squyres
a6a5278c36 Update the spec file:
* Remove LANL section; they don't want it
 * Add some help for OFED building
 * Remove some outdated "rm -f" lines for executables that we no longer
ship

This commit was SVN r12046.
2006-10-06 15:13:14 +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
Jeff Squyres
72cf2fe813 Oops: --noprefix should not take an argument.
This commit was SVN r12043.
2006-10-06 13:02:56 +00:00
George Bosilca
017af37291 Keep only the useful _DECLSPEC and _DECLSPEC some globals.
This commit was SVN r12042.
2006-10-06 07:24:34 +00:00
George Bosilca
b7579b09c7 Correctly handle the ORTE_DECLSPEC attribute.
This commit was SVN r12041.
2006-10-06 07:08:17 +00:00
George Bosilca
422ce1d3f8 If we are in the ODLS framework then the types should be called odls not pls.
This commit was SVN r12040.
2006-10-06 07:05:58 +00:00
George Bosilca
7fed79434e Windows is now able to create local processes.
This commit was SVN r12039.
2006-10-06 07:04:43 +00:00
Jeff Squyres
cae4573304 Add some items that eagle eyed-Tim M noticed were missing from the
trunk (i.e., sync with NEWS on 1.1 branch).

This commit was SVN r12036.
2006-10-06 01:23:33 +00:00
Tim Mattox
b7f85f807c Removed reference to DR PML from the 1.1 section of NEWS, it wasn't in 1.1
This commit was SVN r12031.
2006-10-05 20:55:05 +00:00
Tim Mattox
a039aaff4e Removed duplicate NEWS entry in v1.1.2 section regarding Fortran LOGICALs.
This commit was SVN r12029.
2006-10-05 20:39:16 +00:00
Jeff Squyres
2b85844d8b - Sync with 1.1
- Remove heterogeneous comment from 1.3 and push down to 1.1.2
- Add man page comment

This commit was SVN r12018.
2006-10-05 17:00:09 +00:00
Jeff Squyres
77a5eb3b69 Fixes trac:236
Doing pointer math properly (e.g., incrementing by the right amount)
helps you not overflow buffers, cause random chaos, and contribute to
the heat death of the universe.  Sigh.

This commit was SVN r12015.

The following Trac tickets were found above:
  Ticket 236 --> https://svn.open-mpi.org/trac/ompi/ticket/236
2006-10-05 16:43:10 +00:00
George Bosilca
fa01b9b9aa Last step for the name reversion (from windows back to process).
This commit was SVN r12014.
2006-10-05 06:36:11 +00:00
George Bosilca
b7a793a6db Rename all the files in the process directory.
This commit was SVN r12013.
2006-10-05 06:34:30 +00:00
George Bosilca
fee0909815 Rename the Windows component.
This commit was SVN r12012.
2006-10-05 06:32:57 +00:00
George Bosilca
c79c436c8d Cleanups. Remove all __WINDOWS__ checks as this module will never
get compiled on Windows.

This commit was SVN r12011.
2006-10-05 06:17:30 +00:00
George Bosilca
f3f2463dc9 Do the correct cast.
This commit was SVN r12010.
2006-10-05 06:03:01 +00:00
George Bosilca
dbe7f8ac32 Always return bool.
This commit was SVN r12009.
2006-10-05 05:45:18 +00:00
George Bosilca
413e54638d The usual cast problem on Windows.
This commit was SVN r12008.
2006-10-05 05:43:46 +00:00
George Bosilca
5885696079 Activate the "secure" version of srand ...
This commit was SVN r12007.
2006-10-05 05:43:16 +00:00
George Bosilca
b2b2ade6c9 Remove the last underscore. Look like a typo ...
This commit was SVN r12006.
2006-10-05 05:41:57 +00:00
George Bosilca
f51e3ec338 Create the key on windows too even if the security is lower.
This commit was SVN r12005.
2006-10-05 05:39:49 +00:00
George Bosilca
c2d397ee7d Add the second part of the C++ protection and declare external functions
with the expected attribute.

This commit was SVN r12004.
2006-10-05 05:30:10 +00:00
George Bosilca
6a9f0b6ba9 Explicit cast to keep some compilers quiet.
This commit was SVN r12003.
2006-10-05 05:29:08 +00:00
George Bosilca
d1e884fbf5 Make sure we always return a bool (true/false).
This commit was SVN r12002.
2006-10-05 05:27:46 +00:00
George Bosilca
3a34f9340e If the enum is defined inside the struct it will has a scope. We don't
really need that.

This commit was SVN r12001.
2006-10-05 05:27:04 +00:00
George Bosilca
090b8a9098 opal_list_is_empty return true or false ...
This commit was SVN r12000.
2006-10-05 05:26:08 +00:00
George Bosilca
03083cc1f6 Don't release the values[0] before it get initialized.
This commit was SVN r11999.
2006-10-05 05:25:18 +00:00
George Bosilca
fd76e56279 One protection against C++ compilers is more than enough.
This commit was SVN r11998.
2006-10-05 05:24:43 +00:00
George Bosilca
ad5810e33f ORTE_DECLSPEC what needs to be ORTE_DECLSPES.
This commit was SVN r11997.
2006-10-05 05:22:22 +00:00
George Bosilca
d628a18411 Right now there is no support for TotalView on Windows. Therefore, we don't
really care how these functions and variables are declared.

This commit was SVN r11996.
2006-10-05 05:19:03 +00:00
George Bosilca
59275a0958 Protect against C++ compiler and add the OPAL_DECLSPEC to the
places where it is required.

This commit was SVN r11995.
2006-10-05 05:16:07 +00:00
George Bosilca
3945c50982 The real fix for the C++ headers. Defining these compatibility function
will keep the compiler happy in both [C or C++] mode.

This commit was SVN r11994.
2006-10-05 05:14:32 +00:00
George Bosilca
3997b404bf It's supposed to be a float ...
This commit was SVN r11993.
2006-10-05 05:12:57 +00:00
George Bosilca
3fc0e969b7 Cast in order to return the expected bool.
This commit was SVN r11992.
2006-10-05 05:11:05 +00:00
George Bosilca
b27f1814c6 If the function is expected to return a bool then let's return only
true or false.

This commit was SVN r11991.
2006-10-05 05:10:34 +00:00
George Bosilca
4689c56210 Always cast the return of malloc.
This commit was SVN r11990.
2006-10-05 05:07:43 +00:00
George Bosilca
5fb0c63959 Keep the ompi_config.h in the begining of the include list. This fixes
the #365. I found another way around on Windows.

This commit was SVN r11989.
2006-10-05 05:02:27 +00:00
George Bosilca
bf1d4ee259 Cast to the uint64_t before playing with the << operator in order to make sure we keep
all usefull informations.

This commit was SVN r11986.
2006-10-04 23:58:59 +00:00