Hi Arka, These are configuration errors which are relatively harmless, I suspect these are bad config entries in /cvmfs/ganga.cern.ch/Dirac.ini [2] but I've not investigated, Glad to hear this is now working, Just for future reference were you following a specific tutorial to get running on the grid? Thanks, Rob On 27/03/2018 01:28 PM, Arka Santra wrote:
Hi Rob, This time grid jobs are being submitted without any problem. Thanks for your help.
Now when Ganga starts, I see a new error message though:
*** Welcome to Ganga *** Version: 7.0.1 Documentation and support: http://cern.ch/ganga Type help() or help('index') for online help.
This is free software (GPL), and you are welcome to redistribute it under certain conditions; type license() for details.
INFO reading config file /afs/cern.ch/user/a/asantra/.gangarc [1] INFO reading config file /cvmfs/ganga.cern.ch/Dirac.ini [2] ERROR unknown options [Configuration]VirtualOrganisation,GLITE_SETUP ERROR unknown options [Configuration]VirtualOrganisation,GLITE_SETUP
I hope this will not be a problem since the jobs are running fine (at least upto now).
Thanks again, Arka
On Tue, Mar 27, 2018 at 1:54 PM, Robert Currie <rob.currie@ed.ac.uk> wrote:
Hi Arka,
Can you make sure you have the exact lines (without quotes):
``` [defaults_DiracProxy] group = vo.moedal.org_user ``` Ganga needs to know to apply the group argument to your `defaults_DiracProxy` config section, which hasn't yet been created,
It would be nice for ganga on initial launch to inspect any valid proxies and do the config automatically but this ability doesn't exist yet,
After this can you run `credential_store` again when ganga starts as you should see your DIRAC proxy.
If the proxy exists I would suggest running a simple `hello world` job again,Rob
On 27/03/2018 12:44 PM, Arka Santra wrote: Hi Rob, I tried with: /cvmfs/ganga.cern.ch/runGanga-dirac.sh [3]
but this is the error I am getting:
*** Welcome to Ganga *** Version: 7.0.1 Documentation and support: http://cern.ch/ganga Type help() or help('index') for online help.
This is free software (GPL), and you are welcome to redistribute it under certain conditions; type license() for details.
INFO reading config file /afs/cern.ch/user/a/asantra/.gangarc [1] INFO reading config file /cvmfs/ganga.cern.ch/Dirac.ini [2] ERROR problems with loading Plugin /cvmfs/ganga.cern.ch/Ganga/install/7.0.1/ganga/GangaDirac [4] ERROR problems with loading Plugin /cvmfs/ganga.cern.ch/Ganga/install/7.0.1/ganga/GangaDirac [4] ERROR Reason: GangaValueError: DIRAC Proxy `group` is not set. Set this in ~/.gangarc in `[defaults_DiracProxy]/group` ERROR Reason: GangaValueError: DIRAC Proxy `group` is not set. Set this in ~/.gangarc in `[defaults_DiracProxy]/group` PluginError: Failed to load plugin: /cvmfs/ganga.cern.ch/Ganga/install/7.0.1/ganga/GangaDirac [4]. Ganga will now shutdown to prevent job corruption. (consider --debug option for more information) INFO Stopping Job processing before shutting down Repositories INFO Shutting Down Ganga Repositories INFO Registry Shutdown
I attach my gangarc file with this mail. It includes these lines:
# Group for the proxy - either "group" or "group/subgroup" #group = None group = vo.moedal.org_user
so I do not understand the error quoted by Ganga.
Arka
On Tue, Mar 27, 2018 at 1:36 PM, Robert Currie <rob.currie@ed.ac.uk> wrote:
Hi Arka,
Can you try simply running:
/cvmfs/ganga.cern.ch/runGanga-dirac.sh [3]
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 [5]
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.org [6] 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 [7] issuer : /DC=org/DC=terena/DC=tcs/C=ES/O=Consejo Superior de Investigaciones Cientificas/CN=ARKA SANTRA 859633@csic.es/CN=2970399870 [8] 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 [9] properties : NormalUser, JobMonitor VOMS : True VOMS fqan : ['/vo.moedal.org [6]']
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_ =============================================================== 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_ =============================================================== 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_ =============================================================== 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://cern.ch/user/a/asantra/.gangarc [2] http://ganga.cern.ch/Dirac.ini [3] http://ganga.cern.ch/runGanga-dirac.sh [4] http://ganga.cern.ch/Ganga/install/7.0.1/ganga/GangaDirac [5] http://ganga.cern.ch/runGanga.sh [6] http://vo.moedal.org [7] http://859633@csic.es/CN=2970399870/CN=1069280930 [8] http://859633@csic.es/CN=2970399870 [9] http://arka.santra.csic.es The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.