Project

General

Profile

Feature #25301

Have DAQInterface save the launch_attempt file as the "pmt" log file

Added by Eric Flumerfelt 3 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
Start date:
12/09/2020
Due date:
% Done:

0%

Estimated time:
Experiment:
-
Co-Assignees:
Duration:

Description

Right now, DAQInterface saves the stdout and stderr output from all artdaq processes (and more importantly, their art children) to a local file /tmp/launch_attempt_<USER>_partition<PARTITION>. This file could easily be moved to <logdir>/pmt/launch_attempt_<HOST>_<USER>_partition<PARTITION>_<TIMESTAMP>, and then tracked as the "process_manager_logfile" by DAQInterface. (Symlinking to run numbers could also happen.)

History

#1 Updated by Eric Flumerfelt 3 months ago

  • Assignee set to Eric Flumerfelt
  • Status changed from New to Resolved

Implemented on artdaq-utilities-daqinterface:feature/25301_LaunchAttemptFileInLogdir

Tested with run_demo that a logfile is created and symlinked. Also tested multiple runs: symlink is created for each run pointing to the same file.

Not yet tested with multiple hosts or multiple partitions in use.

#2 Updated by Eric Flumerfelt 3 months ago

My branch also assumes that the log_directory has "same path" access on all hosts. We may want to have it ssh to each host in the set (in case the path is not shared via NFS or there is NFS load-balancing of log directories going on (ala NOvA))

Fixed with daqinterface|b4fc0f2

#3 Updated by Eric Flumerfelt 3 months ago

Tested using multiple hosts, a few changes were made to make sure it is supported properly.

Also available in: Atom PDF