ATLAS Offline Software
Loading...
Searching...
No Matches
ros_farm.py
Go to the documentation of this file.
1#!/usr/bin/env tdaq_python
2
3# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
4# vim: set fileencoding=utf-8 :
5# Created by Andre Anjos <andre.dos.anjos@cern.ch>
6# Wed 19 Sep 2007 11:54:23 AM CEST
7
8"""This is an example of the ROS farm configuration on ATLAS Point 1.
9"""
10
11import pm.multinode
12import pm.farm
13
14# We prefer to randomly split the available ROSs using a particular rob
15# list. These lists can be generated on-the-fly, using the EventApps bindings
16# to scan datafiles, or if you prefer, just import the output of
17# rosconf-from-data.py --py. We prefer that later because it is faster.
18from robhit import robhit
19ros_farm = pm.multinode.ros_farm_random(robhit,[pm.farm.local_computer(), pm.farm.local_computer()])
20
21# if you want to pretty print in the end and to verify this module is
22# actually loadable, uncomment the following line
23# print pm.multinode.prettyprint(ros_farm)