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

186 Коммитов

Автор SHA1 Сообщение Дата
Jeff Squyres
6f0b7d3cac A simpler way to do the same thing.
This commit was SVN r5063.
2005-03-28 15:42:02 +00:00
Jeff Squyres
c71d0d8bee Add a check for IFADDR_NONE (Solaris doesn't have it; the man page for
inet_addr() says that it returns -1 upon failure).

This commit was SVN r5058.
2005-03-28 11:55:57 +00:00
Jeff Squyres
b8f88e8c1c Fix some bugs in the version number scheme, and make the proces a bit
more obvious (and documented)
- VERSION now has lots of comments in it
- separate out whether we want the SVN r number in the version and
  what the SVN r number is
- clearly describe the process for building the full version number
  string 
- make ompi info have a separate line item specifically for the SVN r
  number, regardless of what the version number is
- update "make dist" process to substitute in the SVN r version

This commit was SVN r5022.
2005-03-25 03:19:46 +00:00
Jeff Squyres
3f5541349a Add UC copyright
This commit was SVN r5009.
2005-03-24 12:43:37 +00:00
Brian Barrett
4b6aecf82d * Fix up the test directory so everything uses Automake's "make check" to
build / run.  Only things that actually build / run right now are the
  asm and class tests.  The mca tests probably will with a static build
  but that hasn't been verified

This commit was SVN r4979.
2005-03-22 04:25:01 +00:00
Brian Barrett
c854ae0edb * more merges from the trunk, mainly to make "make dist" work correctly.
This commit was SVN r4944.
2005-03-19 22:04:32 +00:00
Brian Barrett
6822a519bb * results from initial merge of the tim branch into the trunk. Compiles and
ompi_info works, but that's all that has been tested.

This commit was SVN r4827.
2005-03-14 20:57:21 +00:00
Brian Barrett
927c5be6c8 NOTE: You need to re-autogen after this commit. Sorry :(
* SPARC Assembly fixes:
  - Use SPARC assembly type only when not able to use the SPARC v9
    instruction set (instead of previous whenever sizeof(void*) == 4
  - Use SPARCV9_32 (aka sparc v8plus) and SPARCV9_64 (aka sparc v9) when
    possible.  Already were doing so for the 64bit, but on 32bit we
    were falling back to SPARC.
  - Implemented SPARCV9_32 atomic operations
  - Emit warning if user is going to get SPARC atomic, as that probably
    isn't what the user wants for best performance.
* Started shell of MIPS assembly.  Does not work, but wanted something
  so that everyone would only have to re-autogen once today....

This commit was SVN r4465.
2005-02-18 20:10:29 +00:00
Brian Barrett
b7c2c47494 Solaris portability fixes, round 1:
- Use fcntl.h, not sys/fcntl.h (man pages on every platform I could find
    say fcntl.h and solaris/AIX don't provide sys/fcntl.h)
  - Make timeradd macro available on platforms where sys/time.h exists but
    timeradd macro doesn't (Solaris)
  - Include util/printf.h from ompi_config_bottom.h so that ompi_asprintf
    and friends are always available.

This commit was SVN r4441.
2005-02-16 15:38:37 +00:00
Brian Barrett
4265304230 * Clean up some minor build system ick in the atomic operations
* Make sure the update.sh scripts all use OMPI_WANT_SMP_LOCKS
* Add sparc (32bit) assembly
  - Memory barriers
  - spinlocks
  - emulate add/sub using the spinlock table with hashed lookups, as
    suggested by the linux kernel folk (better than the other option,
    requiring the counters only use 24 bits)

This commit was SVN r4429.
2005-02-14 18:04:23 +00:00
Jeff Squyres
e5ff6d7146 This patch looks for LIBMPI_* kinds of flags in the post_configure.sh
script in components and distributes them as appropriate throughout
the tree (previously, we only did WRAPPERS_* flags).  These flags are
*only* used when libmpi is being build statically (--disable-shared
--enable-static).

I also added another classification of flags -- LIBMPI_ALWAYS_* and
WRAPPERS_ALWAYS_* for flags that should always be added to the libmpi
/ wrapper linker lines, not just when compiling libmpi statically.

This commit was SVN r4322.
2005-02-08 05:06:15 +00:00
Craig E Rasmussen
ded699d4ba Added precision and range tests. Also some minor reconfiguration to
only run some Fortran 90 tests when the types have been found.

This commit was SVN r4293.
2005-02-05 23:54:41 +00:00
Jeff Squyres
20919b8ce5 - Remove debugging echo
- Fix up the checks for selected_[int|real]_kind so that we only check
  for their sizes/alignment if the compiler actually supports them

This commit was SVN r4279.
2005-02-04 13:00:00 +00:00
Brian Barrett
5a9718e582 * fix for bug 1116. Some versions of the test program really don't like
== as the test condition, greatly prefering = instead.

This commit was SVN r4254.
2005-01-30 19:35:02 +00:00
Brian Barrett
9f61d1d8a3 * Clean up some problems with the atomic operation interface discovered
during testing.  In particular, we can't have a cmpset macro that can
  deal with pointers without some really evil voodoo.  So have a
  different macro for pointers
* Add more detailed testing of the atomics using AM's test framework.
  More to come...

This commit was SVN r4191.
2005-01-27 21:08:35 +00:00
Brian Barrett
80967bec8d * fix make dist for the atomic code
This commit was SVN r4188.
2005-01-27 16:49:47 +00:00
Brian Barrett
9c1a277804 * Update build system to support non-GCC inline assembly, including detection
of assembler format
* Fix minor bugs in AMD64, PPC, and IA32 assembly for atomic operations
* Clean up the #defines to look for when examining level of atomic operation
  support

This commit was SVN r4183.
2005-01-27 01:39:55 +00:00
Rainer Keller
6ee5a29c2f Add a Stacktrace feature, which figures where/what signal has happened
after MPI-startup.
For this a new mpirun-parameter "mpi_signal" is added, one may specify a
comma-separated list of signals to grab, e.g. mpirun --mca mpi_signal 8,11
will check for SIGFPE and SIGSEGV.
It only finds the first fault (SA_ONESHOT), as after the return the same
fault will occur again.

As printout, the data provided by siginfo_t is printed to STDOUT (yes,
it calls printf ,-]).
Additionally, with glibc, it uses backtrace and backtrace_symbols to 
print the calling stack up to the function in which the signal was raised:

(Rank:0) Going to write to RD_ONLY mmaped shared mem
Signal:11 info.si_errno:0(Success) si_code:2(SEGV_ACCERR)
Failing at addr:0x4020c000
[0] func:/home/rusraink/ompi-gcc/lib/libmpi.so.0 [0x40121afe]
[1] func:./t0 [0x42029180]
[2] func:./t0(__libc_start_main+0x95) [0x42017589]
[3] func:./t0(__libc_start_main+0x49) [0x8048691]

This commit was SVN r4170.
2005-01-26 19:11:46 +00:00
Ralph Castain
cd00fed56b Bring the error manager over to the main branch so people can start to use it in their code. Please see mca/errmgr/errmgr.h for the documentation on this function - very little implemented at the moment. Only function so far is to output the error message, file, and line via the ompi_output function.
Note: in bringing this across, I have obeyed the mca-prefix-rule in defining functions and variables. However, I left the name of the component call as "orte_errmgr.xxx" so that any use of the code will directly "merge" with the new RTE branch without changes.

This commit was SVN r4099.
2005-01-21 17:49:14 +00:00
Craig E Rasmussen
2284867095 Added AC_DEFINE_UNQUOTED calls for Fortran types.
This commit was SVN r3978.
2005-01-12 22:22:14 +00:00
Craig E Rasmussen
055d884ecb Added F90 alignment tests (f90_get_alignment)
This commit was SVN r3966.
2005-01-12 18:23:26 +00:00
Craig E Rasmussen
019b769568 1. Added tests for Fortran 90 types and sizes.
2. Added creation of src/mpi/f90/fortran_sizes.h.

This commit was SVN r3925.
2005-01-07 21:21:46 +00:00
Tim Woodall
fb203852d3 I/O forwarding framework
This commit was SVN r3865.
2004-12-21 22:16:09 +00:00
Brian Barrett
bb7de89545 * Add configure tests for SA_RESTART signal constant and sa_len
* protect use of SA_RESTART in event library

This commit was SVN r3838.
2004-12-16 21:37:57 +00:00
Jeff Squyres
32d85dd7eb Properly add the soh framework in all the places it needs to be. Left
the src/mca/soh/base/*.c files out of the default build because
they're uncompilable right now -- don't want to step on any of Ralph's
local changes.

This commit was SVN r3837.
2004-12-16 18:52:33 +00:00
Ralph Castain
087f9a361b Since the &*(&(&* subversion won't let me commit the whole thing - getting the $#@$# "won't delete locally modified directory nonsense again - I've committed this separately. I'll have to blow away my existing tree and checkout another to verify things still work.
Grrrrrr...

This commit was SVN r3822.
2004-12-15 18:38:34 +00:00
Jeff Squyres
7abc1f0f3d Remove the outdated src/os tree -- all this atomic stuff is now in
src/include/sys (and has been for a long time).

This commit was SVN r3809.
2004-12-14 16:15:15 +00:00
Jeff Squyres
a120864786 Remove extraneous debugging echo statement
This commit was SVN r3783.
2004-12-11 01:42:56 +00:00
Jeff Squyres
c33dd84b51 - Fix some configure.ac tests for figuring out the back-end C type for
MPI_Offset
- Make the ROMIO IO component use MPI_Offset for the back-end type for
  ADIO_Offset
- Removed some extra verbage from configure warnings
- Add some logic to configure to deduce an MPI datatype that
  corresponds to MPI_Offset (because ROMIO needs it).  This is a bit
  of an abuse (i.e., ROMIO's configure should figure this out), but
  it's not too gratuitous because a) the ROMIO component is included
  in Open MPI, and b) other io components to be defined in the future
  could also use this information
- Rename MCA: MPI Component Architecture -> Modular Component
  Architecture

This commit was SVN r3742.
2004-12-07 22:40: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
Jeff Squyres
c0848cd26c As agreed, remove "test" from the distribution tarball
This commit was SVN r3653.
2004-11-21 23:15:57 +00:00
Craig E Rasmussen
1c579699b1 Added AC_SUBST variables OMPI_FORTRAN_IKINDS, OMPI_FORTRAN_RKINDS
and OMPI_FORTRAN_CKINDS.  These are used in shell scripts to
generate compiler dependent Fortran bindings.

This commit was SVN r3580.
2004-11-16 21:10:25 +00:00
Jeff Squyres
1a0a3428ea Check for __func__, per suggestion from Ranier (oops; thought I had
already committed this :D )

This commit was SVN r3442.
2004-10-29 19:14:11 +00:00
Prabhanjan Kambadur
64e278a92a sorry, forgot about this ... have to check for this. the alternate solution is to replace this with fcntl.h ... but since tim is not in the room, i thought i might just add protection instead of changing
This commit was SVN r3396.
2004-10-28 18:21:56 +00:00
Jeff Squyres
1c4aafba31 Replace hard-coded OMPI_FORTRAN_HANDLE_MAX with a real configure test
to determine min(INT_MAX, max fortran INTEGER value)

This commit was SVN r3305.
2004-10-23 21:08:12 +00:00
Jeff Squyres
eb4267d6d2 George pointed out last night that I didn't take into account the fact
that the C compiler may support bool with no help from <stdbool.h>.
So add another configure test and adjust ompi_config_bottom.h as
appropriate.  Since the #if logic in ompi_config_bottom.h got a little
complicated w.r.t. bool, I indented to make the conditionals clear.

This commit was SVN r3291.
2004-10-22 20:30:59 +00:00
Prabhanjan Kambadur
de10524563 adding sys/stat to the list of header files to be checked for
This commit was SVN r3265.
2004-10-21 15:56:12 +00:00
Jeff Squyres
8e5f35dca7 Can't believe we didn't have an endian test in configure before this...
This commit was SVN r3133.
2004-10-14 12:55:34 +00:00
Prabhanjan Kambadur
2982a7b120 checking in some extra files and mode_t to be checked for ... I understand that these are obvious to unix people, but there ae stange quiks when it comes to windows. for eg., mode_t is not defined even though the header file for it is present
This commit was SVN r3087.
2004-10-13 20:47:52 +00:00
Jeff Squyres
8961189cbf It's amazing how you can read the diff ahead of time and think "yes,
that's good.  Go ahead -- commit that."  But then as soon as you read
the diff on the mailing list, you realize how borked it was.  [sigh]
- add MPI_INTEGER16 at George's request
- don't forget to commit acinclude.m4
- correctly name the REAL checks (accidentally had 2 sets of INTEGER
  checks)

This commit was SVN r2936.
2004-10-05 19:38:56 +00:00
Jeff Squyres
df98ca0010 Add some checks for optional fortran datatypes, required by the ddt
engine

This commit was SVN r2934.
2004-10-05 19:31:18 +00:00
Brian Barrett
0fb5abc6ab * add a whole bunch of headers to the list of headers to check for. These
are all tests that will fail on Windows so we need to protect their
  inclusion in source code.

This commit was SVN r2878.
2004-09-29 19:42:16 +00:00
Brian Barrett
40c0b6b12d * code to deal with getting callbacks / waiting for SIGCHLD. These should
only be used if the RTE init functions have been called.  Not quite as
  flexible as the real waitpid() function (no -1 support), but all I need
  for the SSH / BProc / RMS pcms.  This code is not yet turned on by
  default (need to add the init / finalize calls to ompi_rte_init?? and
  ompi_rte_finalize()

This commit was SVN r2860.
2004-09-26 17:43:35 +00:00
Jeff Squyres
5de6a8c211 Fix minor logic error -- need to group the "or" together so that it
doesn't get grouped with the "and".  Precedence, schmecedence...

This commit was SVN r2677.
2004-09-15 09:15:50 +00:00
Jeff Squyres
0ed4c8f663 A break from writing: fix the bug that Brian hacked around for me.
Ensure that OMPI_F77_* are always defined, even if a) a f77 compiler
is not found, or b) the user disables the f77 MPI bindings.

This commit was SVN r2618.
2004-09-11 19:13:43 +00:00
Jeff Squyres
b72ecd12d5 Add src/tools/console/Makefile to configure.ac since it was just added
to src/tools/Makefile.am's SUBDIRS

This commit was SVN r2610.
2004-09-11 06:39:18 +00:00
Jeff Squyres
07f6565726 Make the check for lex really be a check for flex.
This commit was SVN r2520.
2004-09-05 17:45:59 +00:00
Jeff Squyres
094650dafb Add placeholder directory for text data files to come (need to have
this directory in a few uncommitted trees, so might as well commit
this empty directory now).

This commit was SVN r2391.
2004-08-30 10:44:30 +00:00
Jeff Squyres
9a96a9cb80 - Really integrate "svc" into the configure/build process.
- Fix a few comments in src/dynamic-mca/*/Makefile.am that still
  referred to a directory in LAM/MPI

This commit was SVN r2350.
2004-08-28 08:13:39 +00:00