Difference between revisions of "NGI CZ:DIRAC for Auger"
Line 1: | Line 1: | ||
= DIRAC for Auger = | = DIRAC for Auger = | ||
We have chosen [http://diracgrid.org/ | We have chosen [http://diracgrid.org/ DIRAC interware] as a base underlying software for distributed computing. | ||
== How to start == | == How to start == | ||
Users can install DIRAC client on their local computer. Instructions are on [http://diracgrid.org/files/docs/UserGuide/GettingStarted/InstallingClient/index.html | Users can install DIRAC client on their local computer. First, they must be registered on the DIRAC portal. | ||
Contact me (chudoba@fzu.cz) if you want to be registered. | |||
Instructions for client installation are on [http://diracgrid.org/files/docs/UserGuide/GettingStarted/InstallingClient/index.html DIRAC web site] | |||
Another possibility suitable mostly for test job submission, job monitoring and accounting is to connect to the [https://dirac.in2p3.fr/ | Another possibility suitable mostly for test job submission, job monitoring and accounting is to connect to the [https://dirac.in2p3.fr/ France Grille DIRAC web server]. | ||
Command line interface is also available on ui1.grid.cesnet.cz. Example of a session: | Command line interface is also available on ui1.grid.cesnet.cz. Example of a session: | ||
Line 38: | Line 40: | ||
Site = {LCG.CESNET.cz}; | Site = {LCG.CESNET.cz}; | ||
</pre> | |||
== For DIRAC Admins == | |||
=== User registration === | |||
Each user must be added (registered) to the DIRAC portal. The command must be issued by user with dirac_admin role. | |||
Example: | |||
<pre> | |||
# get dirac admin role | |||
dirac-proxy-init -g dirac_admin -M | |||
# add a user | |||
dirac-admin-add-user -N grubio -D /DC=es/DC=irisgrid/O=ugr/CN=gines.rubio -M grubio@ugr.es -G auger_user | |||
</pre> | |||
Note: the long version of options for user registration did not work (16 march 2015): | |||
<pre> | |||
dirac-admin-add-user --UserName grubio --UserDN /DC=es/DC=irisgrid/O=ugr/CN=gines.rubio --UserMail grubio@ugr.es --UserGroup auger_user | |||
</pre> | </pre> |
Revision as of 09:32, 13 March 2015
DIRAC for Auger
We have chosen DIRAC interware as a base underlying software for distributed computing.
How to start
Users can install DIRAC client on their local computer. First, they must be registered on the DIRAC portal. Contact me (chudoba@fzu.cz) if you want to be registered. Instructions for client installation are on DIRAC web site
Another possibility suitable mostly for test job submission, job monitoring and accounting is to connect to the France Grille DIRAC web server.
Command line interface is also available on ui1.grid.cesnet.cz. Example of a session:
# initialisation source /home/chudoba/dirac/bashrc dirac-proxy-init -g auger_user -M # job submission dirac-wms-job-submit auger_basic_test_cesnet.jdl JobID = 29086015 # job status query dirac-wms-job-status 29086015 JobID=29086015 Status=Done; MinorStatus=Execution Complete; Site=LCG.CESNET.cz; # output download dirac-wms-job-get-output -D out 29086015
The JDL file is simillar to gLite JDL files. Only syntax to specify a concrete site via requirements is different. An example for the CESNET site
[chudoba@ui1 dirac]$ cat auger_basic_test_cesnet.jdl Executable = "/bin/sh"; StdOutput = "auger_basic_test.out"; StdError = "auger_basic_test.err"; InputSandbox = {"auger_basic_test.sh"}; OutputSandbox = {"auger_basic_test.err","auger_basic_test.out"}; RetryCount = 3; VirtualOrganisation = "auger"; Arguments = "auger_basic_test.sh 1"; Site = {LCG.CESNET.cz};
For DIRAC Admins
User registration
Each user must be added (registered) to the DIRAC portal. The command must be issued by user with dirac_admin role. Example:
# get dirac admin role dirac-proxy-init -g dirac_admin -M # add a user dirac-admin-add-user -N grubio -D /DC=es/DC=irisgrid/O=ugr/CN=gines.rubio -M grubio@ugr.es -G auger_user
Note: the long version of options for user registration did not work (16 march 2015):
dirac-admin-add-user --UserName grubio --UserDN /DC=es/DC=irisgrid/O=ugr/CN=gines.rubio --UserMail grubio@ugr.es --UserGroup auger_user