Skip to content

Conversation

stv0g
Copy link
Contributor

@stv0g stv0g commented Jun 12, 2025

This PR adds a new node-type for interfacing VILLASnode as an Asynchronous Process with OPAL-RT's RT-LAB software platform.

See:

@stv0g stv0g requested review from fwege and al3xa23 June 12, 2025 11:12
@stv0g stv0g requested a review from n-eiling as a code owner June 12, 2025 11:12
@stv0g stv0g self-assigned this Jun 12, 2025
@stv0g stv0g added enhancement New feature or request node::opal labels Jun 12, 2025
@stv0g stv0g force-pushed the node-opal-async branch from 01586b2 to e331b4e Compare June 12, 2025 11:52
@stv0g stv0g force-pushed the node-opal-async branch 2 times, most recently from 92c2295 to cc0f7d3 Compare August 18, 2025 13:20
@stv0g
Copy link
Contributor Author

stv0g commented Aug 18, 2025

Ping @al3xa23 @n-eiling

@n-eiling
Copy link
Member

I didn't review, because the CI is failing.

n-eiling
n-eiling previously approved these changes Aug 20, 2025
Copy link
Member

@n-eiling n-eiling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, some minor comments

lib/empty.cpp Outdated
@@ -0,0 +1,7 @@
/** An empty file
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you need this? Can you add more comment to explain?

static std::string
shmemSystemCtrlName; // Shared Memory identifiers and size, provided via argv or config.
static size_t
shmemAsyncSize; // Shared Memory identifiers and size, provided via argv or config.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The line breaks are a bit weird. Consider moving the comment above the declarations.

@stv0g
Copy link
Contributor Author

stv0g commented Aug 21, 2025

Blocked by #952

opal_async_node1 = {
type = "opal.async"

### The following settings are specific to the opal.async node-type!! ###
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only minor thing: I thought the comments are just one # in the beginning?

# The Send/Recv ID of the RT-Lab OpAsyncSend/Recv blocks.
id = 1

in = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about the out (sending values back, not only the acknowledgment)?

#include <spdlog/sinks/base_sink.h>

// Define RTLAB before including OpalPrint.h for messages to be sent
// to the OpalDisplay. Otherwise stdout will be used. */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only minor thing: remove */ at the end of line?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request node::opal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants