Skip to content

Latest commit

 

History

History
45 lines (38 loc) · 929 Bytes

README.md

File metadata and controls

45 lines (38 loc) · 929 Bytes

dimjcdqm

DIM (CERN) job control

To install :

dim installed in /usr/local/dim

With scons :

sudo mkdir -p /opt/dhcal/lib
sudo mkdir -p /opt/dhcal/bin
sudo scons install

With cmake :

mkdir build
cd build
cmake -DDIMDIR=/path/to/dim ..
make install

copy etc/dimjcdqmd to /etc/init.d

sudo cp etc/dimjcdqmd /etc/init.d/dimjcdqmd

modify etc/dqm4hepemvExample according to your installation DIM_DNS_NODE) then copy it to /etc/default/dqm4hepenv

cp /etc/dqm4hepemvExample /etc/default/dqm4hepenv

Start on server :

sudo /etc/init.d/dimjcdqmd start

On client side :

The DimDQMJobInterface class is provided to start/stop and query job status.

Example :

DimDQMJobInterface *pInterface = new DimDQMJobInterface();
pInterface->loadJSON("my_setup.json");
pInterface->startJobs("localhost");
pInterface->startJob("localhost", "MyApplication");