1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-30 00:00:11 +01:00
Commit graph

333 commits

Author SHA1 Message Date
Georg Reinke
6265c39ce2 shmem: use one region for each direction 2017-06-14 13:00:43 +02:00
Georg Reinke
2ba3c1cbe7 rework shmem interface to be "symmetric"
The notion of "VILLASnode" / "external program" is removed from the
interface. Now there's only a distiction regarding which process opened
the object first, and this is handled transparently by the functions.

This enables some new uses for the interface, for example connecting
two instances of VILLASnode or two instances of DPsim directly.
2017-06-08 12:43:24 +02:00
Georg Reinke
1d011e6d8f some include / format error fixes 2017-06-08 12:42:46 +02:00
8f6b38cd63 added new function node_type_name() 2017-05-23 15:20:38 +02:00
4f74107e91 install third party libraries to /usr/local/lib64 instead of /usr/local/lib 2017-05-08 00:50:53 +02:00
c711f0f1bc added warmup phase to histogram for better selection of min/max (closes #12) 2017-05-05 22:26:40 +00:00
49054eef9f cleanup: removed trailing whitespaces in code 2017-05-05 19:24:16 +00:00
0bdf8192e8 signal: fix type string in file header 2017-05-04 19:36:13 +02:00
e7b2023614 better handling of command line arguments 2017-05-04 19:36:13 +02:00
5bc7d353a7 hook: do not initialise log before invocation is checked 2017-05-04 19:36:13 +02:00
9faf123088 pipe: do not send an epmty datagram on EOF# 2017-04-27 15:16:35 +00:00
9b1e6a33ed add license to headers 2017-04-27 13:20:20 +02:00
5be1853649 added GPL license to file headers 2017-04-27 12:56:43 +02:00
Georg Reinke
f5aba31045 remove libconfig references from libvillas-ext 2017-04-26 11:58:12 +02:00
89a7f15186 valgrind: call atexit() handlers to release memory 2017-04-24 18:59:12 +02:00
a81d1fc8de Merge branch 'develop' into node-shm 2017-04-17 23:54:44 +02:00
Georg Reinke
d8d9f00ee6 fix includes in test-shmem 2017-04-17 19:02:17 +02:00
Georg Reinke
6f6e29e622 some doc fixes / additions 2017-04-16 23:00:30 +02:00
61d42c342d refactoring: DEFAULT_VALUES => DEFAULT_SAMPLELEN 2017-04-15 22:46:42 +02:00
426712b56f renamed src/shmem.c to src/test-shmem.c which will be compiled into villas-test-shmem 2017-04-15 21:49:40 +02:00
cc7ef95026 split library Makefile for libvillas and libvillas-ext 2017-04-15 21:44:25 +02:00
2d71d606ce shm node: fix compiler / build-system errors 2017-04-15 21:30:37 +02:00
6b09a214c2 shm node: add new vectorize argument to test-shmem 2017-04-15 21:30:33 +02:00
52de5f025f pipe: accept partial vectors on stdin 2017-04-15 21:29:35 +02:00
770eda23fc initialize and start log properly 2017-04-15 21:29:34 +02:00
b23000e2a8 several smaller cleanups: coding-style, variable names, white spaces, intermediate variables 2017-04-15 21:29:23 +02:00
4504fcc827 added file headers with author and copyright info 2017-04-15 21:28:28 +02:00
Georg Reinke
025713a46e don't link libext against any external libraries 2017-04-15 20:38:58 +02:00
Georg Reinke
3c48b4f557 new "libext" library for external programs using shmem 2017-04-15 15:38:37 +02:00
Georg Reinke
39d7c451fb shm node: signal the other program if one exits 2017-04-12 14:38:18 +02:00
96190a5822 Run libwebsockets in a worker thread 2017-04-07 17:39:37 +02:00
51e0930d39 start API in villas-pipe 2017-04-07 17:35:55 +02:00
053b43fb9f change function signature of node_type_start() 2017-04-07 17:32:52 +02:00
Georg Reinke
a6ffa0ed0d don't use node configuration in shmem client 2017-04-07 13:31:40 +02:00
Georg Reinke
61b10ed4f1 move more information to shared part of shmem node 2017-04-07 13:27:10 +02:00
Georg Reinke
3a7af08799 move "external" part of shmem to separate files 2017-04-07 12:57:40 +02:00
Georg Reinke
c7e241cb2b new wrapper struct around queue with POSIX CV's 2017-04-07 12:18:08 +02:00
Georg Reinke
ee809bd5c9 Merge branch 'develop' into node-shm 2017-04-06 12:12:56 +02:00
Georg Reinke
66545fc4c7 new shmem node type 2017-04-05 12:52:21 +02:00
83841a8d1d fix villas-test-cmp to fail in case of files with a different number of samples 2017-04-02 04:32:11 +02:00
d1e41bbcc4 pipe: do not start web module if we do not use a websocket node 2017-04-02 04:31:34 +02:00
fd51d7bac9 refactoring: kernel_has_version() => kernel_get_version() + version_cmp() 2017-04-02 02:33:20 +02:00
a799f625f9 remove histogram from villas-test-cmp 2017-03-29 20:14:35 +02:00
9205e1dbac Merge branch 'eric-lab' into develop-try-merge 2017-03-29 06:02:58 +02:00
3eb629d9d5 various bug fixes from todays debugging session 2017-03-29 04:25:30 +02:00
73f7fb1a2b removed unnecessary includes 2017-03-29 04:22:40 +02:00
dbc1530727 Overhaul of build and packaging system:
- Build RPM packages for VILLASnode and dependencies with the ‚rpm‘, ‚rpm-villas‘, ‚rpm-livxil‘ and ‚rpm-libwebsockets‘ make targets
- Upload new RPM packages to the repository with the ‚deploy‘ make target
- Build a developer Docker image with the `docker-dev` target
- Run the developer image with the `run-docker-dev` target
- Build a production Docker image with the `docker` target
  This requires that all RPM packages have been build previously!
- Use hard-coded default paths where applicable
- Updated index website
- Added some usage information and hints

Documentation of the new system is still outstanding
2017-03-29 04:04:20 +02:00
267d244167 minor cleanup, bug fixes and refactoring 2017-03-27 12:50:01 +02:00
68aa917f78 set VILLASnode version via Makefile instead of config.h 2017-03-27 12:30:44 +02:00
80d3ae13d5 added new sample_io module for adding new IO formats 2017-03-27 12:28:13 +02:00