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

233 Коммитов

Автор SHA1 Сообщение Дата
Jeff Squyres
9e9647ae99 Make lam_abort() take printf-style arguments
This commit was SVN r484.
2004-01-19 17:46:34 +00:00
Jeff Squyres
5820008c17 Fix compiler warning
This commit was SVN r483.
2004-01-19 17:46:08 +00:00
Prabhanjan Kambadur
7e11f35290 changing variables named NEW to FRESH. This causes problems in C++ compilers
This commit was SVN r473.
2004-01-19 03:04:07 +00:00
Jeff Squyres
d285f46b6b Convert list to use bool in debugging
This commit was SVN r462.
2004-01-17 22:58:12 +00:00
Tim Woodall
ad40b3dd23 added DELETE macro
This commit was SVN r449.
2004-01-16 18:28:23 +00:00
Jeff Squyres
d0f63d308a Added lam_output_reopen()
This commit was SVN r446.
2004-01-16 01:33:43 +00:00
Jeff Squyres
a3316f2712 - Use "const" for regular strings in judicious places
- Use LAM_MALLOC and LAM_FREE
- Use NULL instead of 0

This commit was SVN r445.
2004-01-16 01:33:12 +00:00
Tim Woodall
db71723f4a added NEW macro
This commit was SVN r440.
2004-01-16 00:32:41 +00:00
Tim Woodall
67be30928a cleanup - fixed compile errors - sorry!!
This commit was SVN r420.
2004-01-15 17:43:54 +00:00
Jeff Squyres
603e7fb0ee Add new directories
This commit was SVN r418.
2004-01-15 06:12:34 +00:00
Jeff Squyres
456337ed57 Second cut of bug 663: split lam_init() into two functions -- lam_init()
and lam_rte_init().  The former is for all LAM processes (including,
for example, LAM wrapper compilers); the latter is only for those who
need to join the LAM RTE.

This commit was SVN r408.
2004-01-15 05:02:41 +00:00
Jeff Squyres
bf4ae8b8a6 First cut of lam_init(), lam_finalize(), and lam_abort()
This commit was SVN r407.
2004-01-15 04:47:20 +00:00
Tim Woodall
deb6aa4f8d - changed reactor interface to support passing user data on registration
- changed kernel i/f functions to return sockaddr

This commit was SVN r388.
2004-01-15 00:57:33 +00:00
Jeff Squyres
e3973285fd Move malloc.h from src/lam/util to src/lam/mem
This commit was SVN r382.
2004-01-14 23:24:15 +00:00
Tim Woodall
216932931b routines to query interface list from the kernel
This commit was SVN r377.
2004-01-14 18:24:30 +00:00
Jeff Squyres
eda594df84 First cut at thread support / eliminate warnings due to lack of
LAM_HAVE_THREADS

This commit was SVN r364.
2004-01-14 07:06:57 +00:00
Jeff Squyres
3e6822b8ac - Use better multiple-inclusion header file protection names
- Use doxygen-friendly names

This commit was SVN r363.
2004-01-14 07:06:00 +00:00
Jeff Squyres
b1e1a7ea37 - Convert existing lam_err (and friends) code to use lam_output()
- Note in several places that we need to implement lam_exit()

This commit was SVN r361.
2004-01-14 06:43:23 +00:00
Jeff Squyres
1140112b9b First cut of the output streams
This commit was SVN r360.
2004-01-14 06:42:24 +00:00
Tim Woodall
ea09ce2240 fixed typo
This commit was SVN r350.
2004-01-14 04:10:19 +00:00
Tim Woodall
1373c847e0 added THREAD_SCOPED_LOCK macro to hold lock while invoking specified action
This commit was SVN r349.
2004-01-14 04:00:15 +00:00
Jeff Squyres
a5b8536e10 Add the @file so that doxygen picks it up
This commit was SVN r343.
2004-01-14 02:30:05 +00:00
Rich Graham
fcd7ffb54f add "specific" matching logic for fragment matching. Add a return
value for lam_list_remove_item().

This commit was SVN r342.
2004-01-14 01:02:18 +00:00
Jeff Squyres
b7903bcedc Added doxygen comments.
This commit was SVN r339.
2004-01-13 23:32:19 +00:00
Rich Graham
8f7df50dfd continuing to check in matching code - wild matcing is all checked in.
Adding support function (lam_list_remove_item) to lam_list_t, and the
macro LAM_ANY_TAG, which is #defined to MPI_ANY_TAG to avoid a
translation step.

This commit was SVN r338.
2004-01-13 23:26:14 +00:00
Jeff Squyres
175c1553b0 Minor style changes
This commit was SVN r336.
2004-01-13 22:21:30 +00:00
Jeff Squyres
dfb0f9c1c1 Moved a bunch of header files from src/include/lam to here.
This commit was SVN r332.
2004-01-13 22:13:44 +00:00
Brian Barrett
938a848170 * make file compile
This commit was SVN r322.
2004-01-13 04:36:00 +00:00
Jeff Squyres
3b67c0d8db Fix a few things uncovered by unit testing
This commit was SVN r321.
2004-01-13 02:58:37 +00:00
Tim Woodall
4327aa2178 changed mtx to mutex
This commit was SVN r318.
2004-01-13 02:34:20 +00:00
Tim Woodall
5bfddeed7e rename mtx to mutex
This commit was SVN r317.
2004-01-13 02:31:38 +00:00
Rich Graham
223b49aee5 changing list so to imbed a lam_list_item_t as the head and tail in the
list, rather than pointer to these - simpler and faster logic, but more
memory usage.

This commit was SVN r315.
2004-01-13 01:34:06 +00:00
Tim Woodall
f5039f70e1 added request allocator to ptl
This commit was SVN r314.
2004-01-13 01:27:44 +00:00
Tim Woodall
f3cf971f1d updated pml/ptl interface
This commit was SVN r312.
2004-01-13 00:36:37 +00:00
Tim Woodall
a7d3a9752d more name tweaking
This commit was SVN r301.
2004-01-12 18:17:29 +00:00
Rich Graham
889bf52ba4 add support for fragment matching in the teg pml.
This commit was SVN r290.
2004-01-12 03:13:53 +00:00
Prabhanjan Kambadur
f68f52fdda preventing C++ name mangling
This commit was SVN r289.
2004-01-12 02:07:42 +00:00
Prabhanjan Kambadur
f23946eee8 Spelling error correction
This commit was SVN r280.
2004-01-12 00:09:51 +00:00
Jeff Squyres
3977a5ceca - Fix some compiler errors -- likely cut-n-paste things from C++
- Use doxygen-friendly names

This commit was SVN r265.
2004-01-11 21:21:39 +00:00
Jeff Squyres
82cc88d52e Use the public symbol lam_seg_list_cls
This commit was SVN r260.
2004-01-11 08:21:33 +00:00
Jeff Squyres
0f5f293162 Add a lam_array_item_t object, analogous to the lam_list_item_t.
This commit was SVN r256.
2004-01-11 04:41:59 +00:00
Jeff Squyres
8a87890e49 - Use doxygen-friendly names
- Make public variables start with "lam_"

This commit was SVN r253.
2004-01-11 04:38:58 +00:00
Jeff Squyres
80aa9bc6aa Add new return code: LAM_ERR_IN_ERRNO
This commit was SVN r252.
2004-01-11 04:37:47 +00:00
Jeff Squyres
0df6bf703a Change the interface to lam_few() -- add a "int *status" argument to pass
back the status from the child process.  The return type is now an int
indicating whether the few was successful or not; if it wasn't, the
exact error will be in errno.

This commit was SVN r251.
2004-01-11 04:37:28 +00:00
Jeff Squyres
b3bc80c5c5 Use doxygen-friendly names
This commit was SVN r250.
2004-01-11 04:36:02 +00:00
Jeff Squyres
b65605a627 Fix compiler warning
This commit was SVN r249.
2004-01-11 00:50:59 +00:00
Jeff Squyres
9d68cf2299 Removed unused functions -- looks like they were replaced with inline
functions in list.h

This commit was SVN r248.
2004-01-11 00:50:48 +00:00
Brian Barrett
527ee858c4 * remove static inline in atomic.h so that the compiler stops complaining
about undefined static functions.  Someone needs to look at this and
  fix it.
* Fixed missing header files in oob_cofs test

This commit was SVN r247.
2004-01-11 00:24:22 +00:00
Brian Barrett
1cbeb5370c * Include the OS-specific atomic.h
This commit was SVN r244.
2004-01-11 00:16:28 +00:00
Brian Barrett
6f7811f9d5 * Fix a number of compiler errors that crop up with undefined function
errors
* Add some basic unit test gorp for COFS OOB module

This commit was SVN r234.
2004-01-11 00:02:06 +00:00
Jeff Squyres
2b77e55d5b Make inlines be static
This commit was SVN r231.
2004-01-10 22:52:54 +00:00
Rich Graham
a6ba6797ab Added global LAM bool variable (lam_uses_threads) to indicate level
of thread support expected in current job, an inlined macro to access this
parameter, and macros to support locking/unlocking (THREAD_X and X).

This commit was SVN r229.
2004-01-10 22:22:50 +00:00
Jeff Squyres
2813374b04 Put the constant before the ==
This commit was SVN r228.
2004-01-10 22:08:05 +00:00
Jeff Squyres
b1e7f11a55 Add cmd_line.[ch]
This commit was SVN r225.
2004-01-10 21:30:53 +00:00
Jeff Squyres
813b1812f0 Updates for lam_cmd_line_t
This commit was SVN r224.
2004-01-10 21:30:26 +00:00
Prabhanjan Kambadur
3dc60f27a2 Adding lam_few(), A function which forks, exec's and waits
This commit was SVN r223.
2004-01-10 21:18:25 +00:00
Prabhanjan Kambadur
ba4bdca6dd Forgot to include path.h
This commit was SVN r222.
2004-01-10 18:47:20 +00:00
Brian Barrett
0cc9045e79 * Move the parallel job handle type into lam/types.h and use in both the
pcm and oob module type

This commit was SVN r221.
2004-01-10 18:34:07 +00:00
Jeff Squyres
718118cf33 Updates
This commit was SVN r218.
2004-01-10 18:19:55 +00:00
Brian Barrett
73da7e3041 * add constants.h to suck in LAM_ERROR
This commit was SVN r217.
2004-01-10 18:14:48 +00:00
Jeff Squyres
b7885a282b Closer to finalized version of the interface
This commit was SVN r208.
2004-01-10 17:21:33 +00:00
Brian Barrett
aa111c1464 * Remove libruntime.la, as it no longer exists
This commit was SVN r205.
2004-01-10 17:12:06 +00:00
Jeff Squyres
6e7e3d1f87 Make the names friendly to doxygen
This commit was SVN r204.
2004-01-10 17:10:29 +00:00
Jeff Squyres
2bfdc3d7ca Add C++ protection
This commit was SVN r202.
2004-01-10 14:59:06 +00:00
Brian Barrett
0d6e729e0b * Remove the lam/runtime code, moving instead to singleton mca modules
directly
* Update pcm, oob, and registry mca module headers to match changes Jeff
  and I talked about tonight to do checkpoint/restart and all that

This commit was SVN r197.
2004-01-10 08:09:54 +00:00
Brian Barrett
a72a7f1d26 * First take at the RTE interface. Obviously doesn't work, but at least
can generate some doxygen API documentation

This commit was SVN r193.
2004-01-10 00:55:24 +00:00
Jeff Squyres
9b2bf109c1 Rename lam_dbl* to lam_list*
This commit was SVN r187.
2004-01-09 22:48:57 +00:00
Jeff Squyres
770d49570b Moving all the header files. :-)
This commit was SVN r185.
2004-01-09 22:09:51 +00:00
Prabhanjan Kambadur
3b2c1b6dd7 Fixing STRDIR in path.c and prototyping errors
This commit was SVN r177.
2004-01-09 18:47:52 +00:00
Jeff Squyres
67a26a1d65 Oops -- didn't mean to commit all the OPT* stuff.
This commit was SVN r175.
2004-01-09 18:39:35 +00:00
Rob Awles
03e38978c6 corrected darwin include line from powerpc/atomic.h to ppc_32/atomic.h.
This commit was SVN r172.
2004-01-09 17:59:09 +00:00
Jeff Squyres
44be11bc97 Fix minor typo
This commit was SVN r165.
2004-01-09 08:37:35 +00:00
Prabhanjan Kambadur
115a9f26b2 retab for proper formatting
This commit was SVN r155.
2004-01-09 08:07:28 +00:00
Prabhanjan Kambadur
8f608e2b3b path and environment manupilation functions
This commit was SVN r154.
2004-01-09 08:03:27 +00:00
Jeff Squyres
d4a330af51 Add @file so that Doxygen picks it up
This commit was SVN r152.
2004-01-09 06:32:56 +00:00
Jeff Squyres
ced0904978 Skeleton command line parsing interface file -- much work still to be done,
but wanted to make the type lam_cmd_line_t available

This commit was SVN r139.
2004-01-09 03:24:54 +00:00
Jeff Squyres
baab309402 Per bug 652: conditionally install LAM developent header files
This commit was SVN r134.
2004-01-08 21:43:53 +00:00
David Daniel
1419aaa9e9 More copyright cleanup
This commit was SVN r129.
2004-01-08 21:19:31 +00:00
Jeff Squyres
990ac839f6 A few changes to make it compile.
This commit was SVN r128.
2004-01-08 20:22:26 +00:00
Jeff Squyres
241a3aed98 Use new LAM_ENABLE_MEM_PROFILE macro (triggered by --enable-mem-profile).
This commit was SVN r125.
2004-01-08 18:54:44 +00:00
Jeff Squyres
77f8f6642c Finish support for --enable-single-lib (where you get a single libmpi
installed instead of liblam and libmpi).

This commit was SVN r123.
2004-01-08 15:51:54 +00:00
Jeff Squyres
772b2157bb - Add stuff for compile-time debuging switch (which is, I think, what Rob
wanted...?)
- Added "#if ROB_HASNT_FINISHED_YET" sections around code that doesn't
  compile (will easily show up when --enable-debug) so that these files
  can compile and generate a valid liblam

This commit was SVN r122.
2004-01-08 15:50:34 +00:00
Jeff Squyres
84d5606627 Change lib_LTLIBRARIES -> noinst_LTLIBRARIES so that the convenience
libraries don't get installed

This commit was SVN r121.
2004-01-08 15:49:20 +00:00
David Daniel
fb846e6c0b Replacing C++-style comments with C-style comments.
This commit was SVN r97.
2004-01-07 21:01:40 +00:00
Jeff Squyres
9515a7f2f0 s/*bool_t/bool/
This commit was SVN r96.
2004-01-07 20:57:06 +00:00
Jeff Squyres
c639648fb1 Fix include file issues
This commit was SVN r95.
2004-01-07 20:58:45 +00:00
Jeff Squyres
09a643212c Silence some compiler warnings
This commit was SVN r94.
2004-01-07 20:55:00 +00:00
Jeff Squyres
f30c4087aa - s/LAM_TRUE/true/
- s/LAM_FALSE/false/

This commit was SVN r93.
2004-01-07 20:50:56 +00:00
Jeff Squyres
4bbf27828f Silence compiler warnings.
This commit was SVN r90.
2004-01-07 19:31:55 +00:00
Jeff Squyres
005a85fc20 Fix typo
This commit was SVN r89.
2004-01-07 19:31:03 +00:00
Jeff Squyres
2f321d9146 Effectively comment out the sources because they don't compile yet; Rob
is working on it.

This commit was SVN r88.
2004-01-07 19:30:33 +00:00
Jeff Squyres
a071a3381d Move the ctnetwork directory to src/lam/ctnetwork
This commit was SVN r87.
2004-01-07 18:58:24 +00:00
Jeff Squyres
70aff4627f Some changes -- need more (Still doesn't compile yet :-)
This commit was SVN r86.
2004-01-07 18:55:17 +00:00
David Daniel
a5dd02a740 removing LANL copyright stuff
This commit was SVN r85.
2004-01-07 18:39:35 +00:00
Rob Awles
bf0a2c451b Committing changes so that we can get directories moved and headers changed appropriately.
This commit was SVN r84.
2004-01-07 17:50:41 +00:00
Rob Awles
c54f86cbe1 Latest updates before ctnetwork directory is moved.
This commit was SVN r83.
2004-01-07 17:06:53 +00:00
Jeff Squyres
7279053b2d Add portable [non-optimized] strncpy() for platforms that have broken
implementation (performance is not the issue here -- correct functionality is).

This commit was SVN r81.
2004-01-07 15:21:25 +00:00
Jeff Squyres
b197b94e13 First cut of .cvsignore and Makefile.am
This commit was SVN r79.
2004-01-07 15:06:41 +00:00
Jeff Squyres
9ebd59f944 Add lots of missing source files
This commit was SVN r77.
2004-01-07 15:02:21 +00:00
Jeff Squyres
507e535a3f First cut of Makefile.am's and .cvsignore files
This commit was SVN r76.
2004-01-07 15:01:45 +00:00
Jeff Squyres
db5368d20a - Added $HEADER$ (to be filled in later)
- Fixed include file issues

This commit was SVN r75.
2004-01-07 15:01:03 +00:00
Jeff Squyres
3e648f827f - Add $HEADER$
- Fix some include file issues

This commit was SVN r74.
2004-01-07 15:00:27 +00:00
Jeff Squyres
4c28f281e9 - Add $HEADER$ (to be filled in later)
- s/bool_t/lam_bool_t/

This commit was SVN r73.
2004-01-07 14:59:19 +00:00
Jeff Squyres
f9eae136e5 - Add $HEADER$ (to be filled in later)
- Add lots of missing source files

This commit was SVN r72.
2004-01-07 14:58:33 +00:00
Jeff Squyres
1a2fd1a392 lam_config.h should be included as-is (no relative path) due to VPATH builds
This commit was SVN r71.
2004-01-07 14:58:00 +00:00
Jeff Squyres
67d1c9ac1c - Remove $Id$
- Don't need to make LIBADD libs relative to $(top_builddir)

This commit was SVN r65.
2004-01-07 14:48:27 +00:00
Jeff Squyres
10c35c5104 Remove $Id$
This commit was SVN r64.
2004-01-07 14:47:31 +00:00
Jeff Squyres
500c0679ce Oops -- missed a lam_free
This commit was SVN r61.
2004-01-07 08:43:42 +00:00
Jeff Squyres
1c79cd9289 - s/lam_malloc/LAM_MALLOC/
- s/lam_free/LAM_FREE/

This commit was SVN r59.
2004-01-07 08:35:58 +00:00
Jeff Squyres
658d98d1f7 Add prototypes to silence compiler warnings
This commit was SVN r58.
2004-01-07 08:35:32 +00:00
Jeff Squyres
004b37b114 Add argv.h with prototypes for all lam_argv_* functions
This commit was SVN r57.
2004-01-07 08:35:06 +00:00
Jeff Squyres
d38887b58b Add $HEADER$
This commit was SVN r56.
2004-01-07 08:32:53 +00:00
Brian Barrett
5cdfc4f412 - remove uint reference since it isn't available everywhere. Made size_t
since we are using the variables for length of strings.

This commit was SVN r52.
2004-01-07 08:22:37 +00:00
Jeff Squyres
aaf1b07008 - Add $HEADER$
- Fix include file names
- s/bool_t/lam_bool_t/

This commit was SVN r49.
2004-01-07 08:07:38 +00:00
Jeff Squyres
89ebc00200 - Add $HEADER$
- s/bool_t/lam_bool_t/
- s/FALSE/LAM_FALSE/
- s/TRUE/LAM_TRUE/

This commit was SVN r48.
2004-01-07 08:05:17 +00:00
Jeff Squyres
0b74ad7405 - doxygen-ized the important functions
- made the macros uppercase
- made the functions not have leading "_"'s

This commit was SVN r47.
2004-01-07 08:04:07 +00:00
Jeff Squyres
6d3d8f9d4e Add new NULL-terminated argv array handling interface
This commit was SVN r46.
2004-01-07 08:03:19 +00:00
Jeff Squyres
86e23abf04 - Added $HEADER$
- Added argv.c

This commit was SVN r45.
2004-01-07 08:03:01 +00:00
Jeff Squyres
00cf1e2d91 - Added $HEADER$
- Fixed include filenames

This commit was SVN r44.
2004-01-07 08:02:26 +00:00
Jeff Squyres
6c4dd3b135 - Add $HEADER$
- Fix include filenames

This commit was SVN r43.
2004-01-07 08:00:40 +00:00
Jeff Squyres
2c5f85cda8 - s/lam_free/LAM_FREE/
- s/lam_malloc/LAM_MALLOC/
- Add $HEADER$

This commit was SVN r42.
2004-01-07 07:59:49 +00:00
Jeff Squyres
efa753d7b2 - Add $HEADER$
- Fix include file names

This commit was SVN r41.
2004-01-07 07:58:33 +00:00
Jeff Squyres
b22c2a5e10 - Add $HEADER$
- Fix up include filenames

This commit was SVN r40.
2004-01-07 07:57:00 +00:00
Jeff Squyres
399a86eabf - Added $HEADER$
- Renamed from "base" to "lfc"
- Added AM_CPPFLAGS to find header files

This commit was SVN r39.
2004-01-07 07:54:53 +00:00
Jeff Squyres
e0c269cf71 - Added $HEADER$
- Renamed "base" subdir/convenience library to "lfc"

This commit was SVN r38.
2004-01-07 07:54:15 +00:00
Jeff Squyres
f14226057a Add/update .cvsignore files
This commit was SVN r17.
2003-12-28 15:38:13 +00:00
Rob Awles
f8ed5be4bf Added channel and controller classes. Added more function prototypes.
This commit was SVN r13.
2003-12-23 18:21:32 +00:00
Rob Awles
e5929aeb8e Started porting ctnetwork classes.
This commit was SVN r12.
2003-12-22 20:46:53 +00:00
Rob Awles
04594d3217 Added header for system-dependent macros.
This commit was SVN r11.
2003-12-22 19:58:23 +00:00
Rob Awles
456d544b1f Modified STATIC_INIT to accept a statically declared variable.
This commit was SVN r10.
2003-12-22 19:28:08 +00:00
Rob Awles
695dd34a8f Getting free list to compile. Added stubs for global fixed shared mem pools.
This commit was SVN r9.
2003-12-22 19:27:22 +00:00
Tim Woodall
e952ab1f88 initial port to C (very incomplete)
This commit was SVN r8.
2003-12-22 16:29:21 +00:00
Jeff Squyres
c4ba735390 Placeholder
This commit was SVN r6.
2003-12-11 21:13:40 +00:00