Hi Arka, OK this appears that you have the correct Dirac proxy created and registered with the VO, How are you launching ganga? I ask because you don't have the correct ganga configuration for working with the grid, the GangaDirac module is missing from your config and you cannot load this in ganga at runtime. Rob On 27/03/2018 12:22 PM, Arka Santra wrote:
Hi Rob, 1. This is the output of: dirac-proxy-init -g vo.moedal.org_user -M
Generating proxy... Enter Certificate password: Added VOMS attribute /vo.moedal.org [1] Uploading proxy for vo.moedal.org_user... Proxy generated: subject : /DC=org/DC=terena/DC=tcs/C=ES/O=Consejo Superior de Investigaciones Cientificas/CN=ARKA SANTRA 859633@csic.es/CN=2970399870/CN=1069280930 [2] issuer : /DC=org/DC=terena/DC=tcs/C=ES/O=Consejo Superior de Investigaciones Cientificas/CN=ARKA SANTRA 859633@csic.es/CN=2970399870 [3] identity : /DC=org/DC=terena/DC=tcs/C=ES/O=Consejo Superior de Investigaciones Cientificas/CN=ARKA SANTRA 859633@csic.es timeleft : 23:53:59 DIRAC group : vo.moedal.org_user rfc : True path : /tmp/x509up_u41943 username : arka.santra.csic.es [4] properties : NormalUser, JobMonitor VOMS : True VOMS fqan : ['/vo.moedal.org [1]']
Proxies uploaded: DN | Group | Until (GMT) /DC=org/DC=terena/DC=tcs/C=ES/O=Consejo Superior de Investigaciones Cientificas/CN=ARKA SANTRA 859633@csic.es | vo.moedal.org_user | 2019/04/04 11:54
2. This is the output of `j=Job(backend=Dirac());j.submit()`:
ERROR name 'Dirac' is not defined ERROR name 'Dirac' is not defined
3. This is the output of `credential_store`:
Type | Location | Valid | Time left ------------ + ------------------------ + ----- + --------------------- AfsTokenInfo | /tmp/krb5cc_41943_mBcgYg | True | 1 day, 0:59:35.819471
I hope this helps. Thanks, Arka
On Tue, Mar 27, 2018 at 1:12 PM, Robert Currie <rob.currie@ed.ac.uk> wrote:
Hi Arka,
Can you submit a simple "hello world" style job in Ganga?
i.e. first run:
dirac-proxy-init -g vo.moedal.org_user -M
(What output do you get here?)
and within ganga:
`j=Job(backend=Dirac());j.submit()`
If this doesn't work can you share the output of `credential_store` from within ganga
Thanks,
Rob
On 27/03/2018 12:05 PM, Arka Santra wrote: Hi, I wanted to submit a grid job on Ganga. Even though I can generate the proxy locally using this command: dirac-proxy-init -g vo.moedal.org_user -M,
but when on the grid, I am getting this error:
Ganga In [1]: execfile('make_dirac_lhe_job.py') * * Generating the MoEDAL simulation (LHE) configuration file for Ganga (DIRAC) * * * Configuration filename: 'cfg_13TeV_PhotonFusion_myRun_betaIndependent_SpinZero_q10_run_05_default' INFO submitting job 50 INFO job 50 status changed to "submitting" INFO Preparing Executable application. INFO Created shared directory: conf-2958b76e-93ea-4f5c-a338-5a99cef6564a INFO Preparing subjobs Generating proxy... Enter Certificate password: Can't contact DIRAC CS: Reason(s): Unauthorized query ( 1111 : Unauthorized query) (User possibly not registered with dirac server)
It seems I am not registered with the dirac server. May I know how I can do that and use the grid to submit jobs?
Thanks, Arka --
=============================================================== _Arka Santra_ Post Doctoral Researcher
_ Instituto de Fisica Corpuscular_ Parque Cientifico
_ C/Catedratico Jose Beltran, 2_ E-46980, Paterna _ Espana_
===============================================================
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
-- =============================================================== _Arka Santra_ Post Doctoral Researcher _ Instituto de Fisica Corpuscular_ Parque Cientifico _ C/Catedratico Jose Beltran, 2_ E-46980, Paterna _ Espana_ =============================================================== Links: ------ [1] http://vo.moedal.org [2] http://859633@csic.es/CN=2970399870/CN=1069280930 [3] http://859633@csic.es/CN=2970399870 [4] http://arka.santra.csic.es The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.