Skip to content

Launch by default the xDAQ executive on a per-user generated port

Laurent Petre requested to merge feature/user-xdaq-port into main

Description

For a long time, parallel developments on the same machine weren't really supported since manual changes were required. Indeed, the xDAQ executive port was statically set to 20100. This MR aims at changing that!

This solution, based on the user UID, doesn't guarantee the port to be unique but should avoid most of the conflicts, particularly with the production instances. This is currently the case on the gem904daq04 machine.

An additional option, CMSGEMOS_PORT is also added to choose a fixed port.

Related Issue

How Has This Been Tested?

Running smoothly on gem904daq04.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Merge request reports