In order to get consistent behaviour on linux with various gcc versions,
I am defining _GNU_SOURCE in ompi_config.h and changing the definition
of asprintf, etc.
Problems:
1) autoconf was defining _GNU_SOURCE for its tests, but we were not
setting it
2) g++ sets it by default (I think)
3) some version of gcc set it by default
If somebody knows a consistent solution for these problems then we can
revert to not setting it.
This commit was SVN r2230.
os/atomic.h --> include/sys/atomic.h
WARNING: There are almost certainly some bugs introduced here, but I
believe that using this system will get us to a stable and portable
library faster in the long run.
Other changes:
threads/mutex
Reorganized to use pthreads or asm atomic operations as available.
Untested Windows implementation added using InterlockedExchange() funcion.
threads/thread
Added an untested Windows implementation
other places
Updates to include the "right" header files or to use
ompi_atomic_add_int() rather that fetchNadd() etc.
This commit was SVN r2221.
- unpack string allocates memory for user removing need to know/set max string lengths
- fixed missing 'break' in case statement thanks to unit test yet again!
- updated unit test ompi_pack (test8)
- will remove old OMPI_STRING type and support shortly after checking for usage
This commit was SVN r2219.
-- To set up a shared send completion queue,
with that threading is a step away.
-- After the above steps, focus will be on local branch development,
of course, besides testing/debugging, etc
This commit was SVN r2213.
- make sure to pass jobid to the spawned process
- update test case and bootproxy to pass/receive jobid
- work on list splitting code for rsh spawn_procs()
This commit was SVN r2212.
* rework build_base_env to use newly discovered (by me, anyway) argv
interface
* add test case for build_base_env where I discovered I can't do boolean
logic....
This commit was SVN r2209.
have it there
* condense the rsh pcm into fewer files, for faster compile times
* Fix return value bug in mca_pcm_base_build_base_env()
This commit was SVN r2200.
* add env pcmclient, which builds client data out of environment variables
* improved rsh infrastructure a little bit - almost able to get to calling
fork()
* Removed instance information for llm - it should be burried in the pcm,
not exposed
*** YOU MUST RUN AUTOGEN / CONFIGURE / etc AFTER UPDATING ***
This commit was SVN r2191.