Hi Arka,
Can you try simply running:
/cvmfs/ganga.cern.ch/runGanga-dirac.sh
I'm not sure why someone decided to add `source` to the documentation but it's not needed,
This may fail if you need to edit your ganga config,
Rob
On 27/03/2018 12:32 PM, Arka Santra wrote:
Hi Rob,To launch Ganga, I simply do this:
source /cvmfs/ganga.cern.ch/runGanga.sh
Is this outdated and should I update it?Thanks,Arka
On Tue, Mar 27, 2018 at 1:27 PM, Robert Currie <rob.currie@ed.ac.uk> wrote:
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.orgUploading 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/C N=1069280930 issuer : /DC=org/DC=terena/DC=tcs/C=ES/O=Consejo Superior de Investigaciones Cientificas/CN=ARKA SANTRA 859633@csic.es/CN=2970399870 identity : /DC=org/DC=terena/DC=tcs/C=ES/O=Consejo Superior de Investigaciones Cientificas/CN=ARKA SANTRA 859633@csic.es timeleft : 23:53:59DIRAC group : vo.moedal.org_userrfc : Truepath : /tmp/x509up_u41943username : arka.santra.csic.esproperties : NormalUser, JobMonitorVOMS : TrueVOMS fqan : ['/vo.moedal.org']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 definedERROR name 'Dirac' is not defined3. This is the output of `credential_store`:
Type | Location | Valid | Time left------------ + ------------------------ + ----- + ---------------------AfsTokenInfo | /tmp/krb5cc_41943_mBcgYg | True | 1 day, 0:59:35.819471I 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.subm
it()` 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_r un_05_default' INFO submitting job 50INFO job 50 status changed to "submitting"INFO Preparing Executable application.INFO Created shared directory: conf-2958b76e-93ea-4f5c-a338-5a99cef6564a INFO Preparing subjobsGenerating 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--
Espana==============================Post Doctoral Researcher============================== ===
Arka SantraInstituto de Fisica CorpuscularParque CientificoC/Catedratico Jose Beltran, 2E-46980, Paterna============================================================ ===
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
--
Espana==============================Post Doctoral Researcher============================== ===
Arka SantraInstituto de Fisica CorpuscularParque CientificoC/Catedratico Jose Beltran, 2E-46980, Paterna============================================================ ===
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
--
Espana==============================Post Doctoral Researcher============================== ===
Arka SantraInstituto de Fisica CorpuscularParque CientificoC/Catedratico Jose Beltran, 2E-46980, Paterna============================================================ ===