Alexey Rybalchenko
4cefb9fb5b
Add tests for property conversions and subscriptions
2019-07-10 19:35:18 +02:00
Alexey Rybalchenko
7486249c1e
Declare operator<< for boost::any in boost namespace
2019-07-10 19:35:18 +02:00
Alexey Rybalchenko
7c13503e22
Include definitions of constexpr members in cxx
2019-07-10 19:35:18 +02:00
Alexey Rybalchenko
3db32b03d4
only allow a-z A-Z 0-9 - _ [ ] # as channel name characters
2019-07-10 19:35:18 +02:00
Alexey Rybalchenko
7bea2bc0e6
Add PluginServices::DeleteProperty, test for property accessors
2019-07-10 19:35:18 +02:00
Alexey Rybalchenko
5271d4236e
Add additional test for running device with plugins without DeviceRunner
2019-07-10 19:35:18 +02:00
Alexey Rybalchenko
4281d7b27e
Subscribe DeviceRunner for config properties
2019-07-10 19:35:18 +02:00
Alexey Rybalchenko
7c9744760e
Add UpdateProperty/ies()
2019-07-10 19:35:18 +02:00
Alexey Rybalchenko
b905f517cc
Fix PropertyHelper::AddType() to include event emitter creation
2019-07-10 19:35:18 +02:00
Alexey Rybalchenko
c515cbb3bf
Update config documentation
2019-07-10 19:35:18 +02:00
Alexey Rybalchenko
cba6d19781
Add config plugin class.
2019-07-10 19:35:18 +02:00
Alexey Rybalchenko
bf8ec968e7
Remove FairMQChannel from parser, implement bulk operations
2019-07-10 19:35:18 +02:00
Alexey Rybalchenko
fbb003b50f
FairMQChannel: defaults values, copy-ability
2019-07-10 19:35:18 +02:00
Alexey Rybalchenko
4ce378b6b8
Add DeleteProperty
2019-07-10 19:35:18 +02:00
Alexey Rybalchenko
29313bbec3
Add SetProperties()
2019-07-10 19:35:18 +02:00
Alexey Rybalchenko
fe241fe9ee
Add *Property methods to replace *Value methods, simplify options helper
2019-07-10 19:35:18 +02:00
Alexey Rybalchenko
5646d531f3
Add GetProperties()
2019-07-10 19:35:18 +02:00
Alexey Rybalchenko
f46803a8b6
Remove unused methods from FairMQProgOptions
2019-07-10 19:35:18 +02:00
Alexey Rybalchenko
3538d9f410
Deprecate Channel::GetChannelX() in favor of Channel::GetX()
2019-07-10 19:35:18 +02:00
Alexey Rybalchenko
73ccefa4cb
Remove deprecated *Async() methods
2019-07-10 19:35:18 +02:00
Alexey Rybalchenko
0e35f1cb22
Shmem region: support huge pages via path to hugetlbfs mount
2019-07-05 15:58:28 +02:00
Dennis Klein
a8c76accdc
Split StateMachine and Tools into separate targets
...
This change is needed to share the functionality between
the core library and the SDK library. We want to support building/installing
just the SDK without having a dependency on the core library which adds
additional dependencies.
2019-07-02 21:30:37 +02:00
Dennis Klein
3da5f4d5db
SDK: Add CMake skeleton
...
* New build flag BUILD_SDK
* New component "sdk"
2019-07-02 21:30:37 +02:00
Dennis Klein
3358a2ba12
Require DDS 2.4
...
* Remove obsolete FindDDS.cmake
* Adapt to new DDS version
2019-06-26 18:39:12 +02:00
Dennis Klein
56dc91ab87
Update year
2019-06-13 18:04:44 +02:00
Dennis Klein
99c8d33191
DDS plugin: Remove unused dependency
2019-06-13 17:47:47 +02:00
Gvozden Neskovic
40f6db430a
Print channel name in error log
2019-06-01 06:20:39 +02:00
Gvozden Neskovic
2ed2177555
Batch Region ack messages
...
Reduce CPU utilization by batching release ack messages on the IPC queue.
2019-05-14 14:56:08 +02:00
Gvozden Neskovic
9b326c7a71
add array variant of fair::mq::tools::make_unique()
2019-05-14 14:56:08 +02:00
Alexey Rybalchenko
9b4c5deb0b
Handle invalid transition to init in the control plugin
2019-05-07 16:28:55 +02:00
Alexey Rybalchenko
7b16c33ccd
Allow PluginServices::SetProperty in Ready state
2019-05-07 15:51:59 +02:00
Alexey Rybalchenko
7e6eb382d5
Extend Readout example
2019-04-29 20:32:38 +02:00
Alexey Rybalchenko
35399ee039
Update state machine picture
2019-04-29 20:32:37 +02:00
Alexey Rybalchenko
2cc1117637
Notify all listeners on state changes
2019-04-29 20:32:37 +02:00
Dennis Klein
3582091b1c
Add experimental static size mode for ofi transport
...
Whenever --ofi-size-hint > 0, the ofi transport does not use the control
band. Multipart is not supported.
2019-04-29 20:28:40 +02:00
Dennis Klein
54b7742d85
Drop obsolete dependency to AZMQ
2019-03-21 18:03:32 +01:00
Dennis Klein
195644f132
Add some debug output
2019-03-21 18:03:32 +01:00
Dennis Klein
cc8fd73025
Fix recv logic
2019-03-21 18:03:32 +01:00
Dennis Klein
b45e4da2a9
Implement linger for ofi
...
This reduces test runtime significantly for most transports
2019-03-21 18:03:32 +01:00
Dennis Klein
a1b7efa2f4
Unify implementation of multi part and single part message interfaces
2019-03-21 18:03:32 +01:00
Dennis Klein
6ee7e5fbf0
Improve error handling
2019-03-21 18:03:32 +01:00
Alexey Rybalchenko
99ffb732f4
Use process tools for WaitFor test
2019-03-19 18:09:01 +01:00
Alexey Rybalchenko
6809d60fad
Fix mismatch of docs/API, wrong return value
2019-03-19 18:09:01 +01:00
Alexey Rybalchenko
ef4d6a3310
Process tools: add print helper, support signals
2019-03-19 18:09:01 +01:00
Matthias Richter
696257fd4f
Extending FairMQParts by a constructor taking list of FairMQMessagePtr
...
This introduces a little helper to create a FairMQParts object in place from a
variable list of arguments. As a side effect also AddParts is extended to support
more than one FairMQMessagePtr.
2019-03-19 12:48:02 +01:00
Alexey Rybalchenko
cdc1ba084c
Fix broken pipe errors in tools::execute
2019-03-15 15:51:50 +01:00
Alexey Rybalchenko
922f7e9a92
Use Asio to launch processes in fair::mq::tools::execute
2019-03-14 18:15:17 +01:00
Dennis Klein
a8f1a4dfdb
Try to reconnect on refused connection
2019-03-13 18:04:49 +01:00
Dennis Klein
fb42b1e2f0
Adapt to new asiofi release
2019-03-13 18:04:49 +01:00
Alexey Rybalchenko
74881d27e3
Remove obsolete state machine code
2019-03-12 12:10:47 +01:00
Alexey Rybalchenko
dd02c01c36
Extend tests of error cases
...
- test raising SIGINT in every state
- test going to Error state from every state
- add new states (bind/connect) to exception tests
2019-03-12 12:10:47 +01:00
Alexey Rybalchenko
44a9946ea6
Allow creating region with a callback with default transport
2019-03-11 20:20:22 +01:00
Dennis Klein
3bf5f3bf45
Reformat
2019-03-06 14:23:08 +01:00
Dennis Klein
11a3a41a0f
Add missing memory registration case
2019-03-06 14:23:08 +01:00
Dennis Klein
53a5456d8c
Fix lifetime of memory_region
2019-03-06 14:23:08 +01:00
Dennis Klein
2eb09df1f7
Match consistent style
2019-03-06 14:23:08 +01:00
Dennis Klein
1752e116e3
Fix initialization of inproc queues
2019-03-06 14:23:08 +01:00
Dennis Klein
5eae5ccd31
Fix connection logic
2019-03-06 14:23:08 +01:00
Alexey Rybalchenko
7df278818c
Enhance region example with Builder device
2019-03-06 14:23:08 +01:00
Dennis Klein
f85663bfe8
Fix link errors with Boost
2019-03-06 14:23:08 +01:00
Dennis Klein
ad198edd59
Remove asio strand
2019-03-06 14:23:08 +01:00
Dennis Klein
9ffaa55181
Decrease severity of config dump
2019-03-06 14:23:08 +01:00
Dennis Klein
b3005ecbdc
Fix object lifetime bug
2019-03-06 14:23:08 +01:00
Dennis Klein
ee890a7a46
Implement Reset signal
2019-03-06 14:23:08 +01:00
Dennis Klein
241bf08337
Retry ofi connection
2019-03-06 14:23:08 +01:00
Dennis Klein
02e1511667
Fix issues after rebase
2019-03-06 14:23:08 +01:00
Dennis Klein
a08a34acd5
Do not share ofi context across sockets
2019-03-06 14:23:08 +01:00
Dennis Klein
b31ab1cc48
Implement control band with asiofi
2019-03-06 14:23:08 +01:00
Dennis Klein
672e12f45b
Add semaphore
2019-03-06 14:23:08 +01:00
Dennis Klein
8e7cfacd78
Implement parallel ofi::Socket::Receive
2019-03-06 14:23:08 +01:00
Dennis Klein
46e2420547
Implement parallel ofi::Socket::Send
2019-03-06 14:23:08 +01:00
Dennis Klein
da070a407e
Depend on AZMQ
2019-03-06 14:23:08 +01:00
Dennis Klein
60f1f1000f
Fix after rebase
2019-03-06 14:23:08 +01:00
Dennis Klein
b394feca18
Implement ofi Send/Receive
2019-03-06 14:23:08 +01:00
Dennis Klein
91025cbc88
Deactivate control band monitor socket
2019-03-06 14:23:08 +01:00
Dennis Klein
ba4e6f72c9
Implement connection mgmt
2019-03-06 14:23:08 +01:00
Dennis Klein
1c5d7ca46a
Reach compilable state with asiofi again
2019-03-06 14:23:08 +01:00
Dennis Klein
0ff8eaf84d
Fix package dependencies
2019-03-06 14:23:08 +01:00
Dennis Klein
03912e86f8
Drop protobuf dependencies
2019-03-06 14:23:08 +01:00
Dennis Klein
4d7a1c81c6
Depend on asiofi
2019-03-06 14:23:08 +01:00
Alexey Rybalchenko
d9edcad845
Add backwards compatibility for removed ChangeState(int)
2019-02-26 16:13:09 +01:00
Alexey Rybalchenko
7dcd84dd93
Delete old unused code
2019-02-25 12:19:50 +01:00
Alexey Rybalchenko
8375faf835
Add --max-run-time option and fix bug in LogSocketRates
2019-02-25 12:19:50 +01:00
Alexey Rybalchenko
b7125b746e
Update deprecated methods
2019-02-25 12:19:50 +01:00
Alexey Rybalchenko
fc94342db8
Update state machine
...
- Split INITIALIZING state into Init+Bind+Connect
- Remove PAUSE state
- Convert state/transitions to enum classes (CamelCase)
- Transition to a state only once previous handler is complete
- Add CompleteInit transition to notify Initializing state
that config updates are complete
- Deprecate WaitForEndOfState(transition) in favor of
WaitForState(state)/WaitForNextState()
- Update tests/plugins to new APIs
- Deprecate CheckCurrentState() in favor of NewStatePending()
2019-02-25 12:19:50 +01:00
Alexey Rybalchenko
5e71d09e4d
Remove unused file
2019-02-25 12:19:50 +01:00
Alexey Rybalchenko
36f409dc72
Formatting
2019-02-25 12:19:50 +01:00
Dennis Klein
62781389d4
Add pmix::lookup binding and cleanup
2019-02-11 11:12:30 +01:00
Dennis Klein
dfc6b5c4a3
Add pmix::fence() C++ binding
2019-02-11 11:12:30 +01:00
Dennis Klein
2047dbef59
Fix pmix::info copy ctor
2019-02-11 11:12:30 +01:00
Dennis Klein
61a3da8697
Implement pmix::value copy ctor
2019-02-11 11:12:30 +01:00
Dennis Klein
0a98fa4bac
Fix codacy issues
2019-02-11 11:12:30 +01:00
Dennis Klein
2358d7b03a
Implement some PMIx C++ bindings
...
pmix::init()
pmix::finalize()
pmix::publish()
pmix::initialized()
pmix::get_version()
and supporting data structures.
2019-02-11 11:12:30 +01:00
Dennis Klein
0c54aab19d
Load dynamic plugins with RTLD_GLOBAL flag
...
The MPI MCA framework is another DSO-based plugin system which is
loading further plugins within our plugins. It does not work with
RTLD_LOCAL at the moment.
Enabling RTLD_GLOBAL for all dynamic plugins for now. If this leads
to problems, we can refactor and offer this load flag as an option.
2019-02-11 11:12:30 +01:00
Dennis Klein
1191c3cda5
Add PMIx plugin
...
Proof of concept for now.
2019-02-11 11:12:30 +01:00
Dennis Klein
c0771c81d6
Search plugins in system directories and LD_LIBRARY_PATH
...
Fixes #133
2019-02-11 11:12:30 +01:00
Dennis Klein
e2e476ba19
Remove obsolete dependency to boost signals v1
2019-01-29 16:01:12 +01:00
Alexey Rybalchenko
291d00c73f
Fix regression with ignored rateLogging channel argument
2019-01-07 11:28:15 +01:00
mkrzewic
4dc37efc12
Allow implicit conversion factory->resource
...
reduces boilerplate
2018-12-18 18:02:02 +01:00
mkrzewic
0cb8f6166a
Let getMessage deal with SSO
...
containers are not required to allocate, e.g. small string optimization
for now this is hypothetical since we cannot use std::basic_string with
at least gcc 7 since the basic_string there still uses the deprecated
rebind allocator interface (which pmr does not implement)
2018-12-10 15:10:53 +01:00