-
Notifications
You must be signed in to change notification settings - Fork 7
CTADIRAC v1r55p1
The main change in this release is that it depends on a new DIRAC major release v7r0.
Detailed informations can be found at https://github.com/DIRACGrid/DIRAC/wiki/DIRAC-v7r0.
In this release Externals
and Lcgbundle
packages are replaced by DIRACOS
(https://github.com/DIRACGrid/DIRACOS).
DIRACOS aims at bringing in one archive all the dependencies needed by DIRAC to run Agents, Services and clients. It is not intended to perform interactive tasks (debugging, file editing, etc). We are aware than some "basic" tools won't work (less, emacs, etc). They won't be fixed.
During this upgrade, some DIRAC servers have been also migrated to new ones so that CTADIRAC client should be reconfigured (see the Client update section below).
Supported platforms for the native CTADIRAC client are SL6/CC7. Other linux platforms are regularly tested but no support is provided. Note that MacOS is not supported anymore. For all platforms the CTADIRAC client can be installed in a container. An up-to-date singularity container with CTADIRAC v1r55p1 installed is available (see CTADIRAC singularity container).
- For a fresh installation follow the usual procedure: CTADIRAC client installation
- To update an existing installation:
mv bashrc bashrc_backup
(note that cshrc is not supported anymore)
mv dirac-install.py dirac-install_backup.py
wget --no-check-certificate "https://github.com/DIRACGrid/DIRAC/raw/v7r0p8/Core/scripts/dirac-install.py"
rm etc/dirac.cfg
python dirac-install.py -V CTA -v
source bashrc
dirac-proxy-init
dirac-configure defaults-CTA.cfg
The submit
method of DIRAC.Interfaces.API.Dirac
module is deprecated and it should be replaced by
submitJob
as in the exemple below:
from DIRAC.Core.Base import Script
Script.parseCommandLine()
from DIRAC.Interfaces.API.Job import Job
from DIRAC.Interfaces.API.Dirac import Dirac
dirac = Dirac()
j = Job()
j.setCPUTime(500)
j.setExecutable('echo', 'Hello World!')
j.setName('Hello World')
res = dirac.submitJob(j)
print 'Submission Result: ',res['Value']