wiki:gliteWMS5

Version 3 (modified by /O=GRID-FR/C=FR/O=CNRS/OU=LPSC/CN=Fabian Lambert, 16 years ago) ( diff )

--

Analyse d'un job avec accès à un SE distant

Ce tutoriel décrit comment exécuter un job sur le CE du LPSC en utilisant des données sur un SE distant.

Pour lancer un job, vous avez besoin de deux fichiers

  • Le fichier JDL (Job Description Langage) Le fichier job.jdl est le fichier qui décrit votre job. Dans ce fichier vous trouverez une ligne de commentaire (#...) qui décrit chaque nouvelle instruction du fichier JDL.
  • L'executable Le fichier job.sh est le script qui va être exécuter sur la machine distante (le WN)
  • Utiliser un dataset
    Le dataset utilisé est valid1.007000.singlepart_e_Et10.bstream.BS.e322_s412_b25.
    Notez les guid des deux premiers fichiers qu'il contient
     [lambert@lpsc-ui JDL_InputSandBox_remote_gsiftp]$ dq2-list-files valid1.007000.singlepart_e_Et10.bstream.BS.e322_s412_b25
    BS.021085._00026.data.1         cb4e58bd-6229-4c63-8292-9f281b636091    md5:cb702a0d315de100ef48001968f8b424    576049696
    BS.021085._00013.data.1         c3e3acf3-0728-4e5a-b9f3-9bc71fc938eb    md5:d34db6104ff44d7475d5f1957f57e89e    576129736
    ...
    

--> Exercice: Trouvez ce dataset avec AMI et cherchez à quelle type de données il correspond

  • Trouver les TURL des fichiers
    [lambert@lpsc-ui JDL_InputSandBox_remote_gsiftp]$ lcg-lr guid:cb4e58bd-6229-4c63-8292-9f281b636091
    srm://ccsrm.in2p3.fr/pnfs/in2p3.fr/data/atlas/atlasmcdisk/valid1/BS/valid1.007000.singlepart_e_Et10.bstream.BS.e322_s412_b25_tid021085/BS.021085._00026.data.1
    [lambert@lpsc-ui JDL_InputSandBox_remote_gsiftp]$ lcg-lr guid:c3e3acf3-0728-4e5a-b9f3-9bc71fc938eb
    srm://ccsrm.in2p3.fr/pnfs/in2p3.fr/data/atlas/atlasmcdisk/valid1/BS/valid1.007000.singlepart_e_Et10.bstream.BS.e322_s412_b25_tid021085/BS.021085._00013.data.1
    [lambert@lpsc-ui JDL_InputSandBox_remote_gsiftp]$ lcg-gt srm://ccsrm.in2p3.fr/pnfs/in2p3.fr/data/atlas/atlasmcdisk/valid1/BS/valid1.007000.singlepart_e_Et10.bstream.BS.e322_s412_b25_tid021085/BS.021085._00013.data.1 gsiftp
    gsiftp://ccxfer13.in2p3.fr:2811//pnfs/in2p3.fr/data/atlas/atlasmcdisk/valid1/BS/valid1.007000.singlepart_e_Et10.bstream.BS.e322_s412_b25_tid021085/BS.021085._00013.data.1
    [lambert@lpsc-ui JDL_InputSandBox_remote_gsiftp]$ lcg-gt srm://ccsrm.in2p3.fr/pnfs/in2p3.fr/data/atlas/atlasmcdisk/valid1/BS/valid1.007000.singlepart_e_Et10.bstream.BS.e322_s412_b25_tid021085/BS.021085._00026.data.1 gsiftp
    gsiftp://ccdcatsn005.in2p3.fr:2811//pnfs/in2p3.fr/data/atlas/atlasmcdisk/valid1/BS/valid1.007000.singlepart_e_Et10.bstream.BS.e322_s412_b25_tid021085/BS.021085._00026.data.1
    

Attachments (2)

  • job.jdl (720 bytes ) - added by /O=GRID-FR/C=FR/O=CNRS/OU=LPSC/CN=Fabian Lambert 16 years ago. glite_wms_jdl_5
  • job.sh (231 bytes ) - added by /O=GRID-FR/C=FR/O=CNRS/OU=LPSC/CN=Fabian Lambert 16 years ago. glite_wms_job_5

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.