Tags:
create new tag
,
view all tags
---+!! FLUKA ---+++!! Summary This guide illustrates how to submit a FLUKA parametric job using IGP (Italian Grid Portal) %TOC% ---+++ Preliminary Steps It is mandatory to have a valid X509 certificate and VO GRIDIT membership. We assume that you are familiar with concepts like certificate proxies, job submission, storage elements. If this is not the case, better read this [[https://wiki.italiangrid.it/twiki/bin/view/Training/GridCommandLineIntro][introduction]]. Other than that, you don't need to access an User Interface, since your grid interactions will be performed through IGP. Of course you will need to be registered to IGP, and authorized to the usage of FLUKA : this is done sending a mail to igi-portal-admin _at_ lists.italiangrid.it, putting in copy alberto.andrighetto _at_ lnl.infn.it. ---++++ Input files This personal storage area will be used to load input files, using an archive, either plain (extension _tar_) or compressed (extension will be _tgz_). The archive must necessarily contain FLUKA input files, according to the following convention: =archiveName_N.inp= with N positive integer. FLUKA input files have also to be consecutive within the same archive. For instance, if your archive is called _silicon2_, the archive should be looking as follows: <verbatim> > tar tfz silicon2.tgz silicon2_1.inp silicon2_2.inp silicon2_3.inp silicon2_4.inp silicon2_5.inp </verbatim> On your own machine, you can create in advance the archive, that will be eventually uploaded to IGP DM. To create locally the archive you should copy on a directory all the input files (already renamed properly, with the archive name and consecutive indexes), then enter the directory and then run the command => tar cf archiveName.tar archiveName_*= or => tar zcf archiveName.tgz archiveName_*= depending if you wish to create a plain or a compressed archive. Please make sure that the chosen archive name (_silicon2_ in the example above) is the same for each _inp_ file, and it corresponds also to the archive file name. ---++++ Login to IGP Once you login to IGP, you are directed to the welcome section. <img src="%ATTACHURL%/welcome2.png" width="640" border="1" /> From 'My Data' you can manage your personal data. From there, with 'Advanced Settings', you can modify some settings related to notifications and proxy regeneration. It is suggested to enable Proxy Notification, which informs you when your proxy is going to expire, and to set Proxy Lifetime to 7 days. ---+++ FLUKA first access Each portal user has a personal storage area, accessed through IGP Data Management (DM). The storage area path has a common prefix (*/grid/gridit/spes_project/fluka*) and a suffix depending from the user name (/username). The suffix depending from the username must be formed in this way : first given name character+family name. For instance, if the user is 'Mario Rossi', username will be mrossi. In case of repeated names, they will be differentiated with a further, randomly generated, suffix. Users might create directory and files under their own area, where there is no limit for the number of subdirectories. Following the first access to FLUKA, in IGP, the user must select his home directory *LFC Home Folder*, or create it if not existing. Although it's possible to change it, it's warmly suggested to leave unchanged *LFC Home Folder* once it has been defined. <img src="%ATTACHURL%/JobManag1-2.png" width="640" border="1" /> Once that first access procedure is done, the user is redirected to Job Management area <img src="%ATTACHURL%/JobManag2-2.png" width="640" border="1" /> ---+++ Input file upload Once created locally (on your own machine) the archive containing the input files, you can upload them to IGP, using the *DM* tools accessible in the *Storage* section. Change current path to the common */grid/gridit/spes_project/fluka* and then to the personal directory defined before. If the input directory does not exist, create it. Then click on Upload, which prompts for the archive file selection. As target, you can leave _Random Destination_, or select a Storage Element you trust. Then press start to trigger the transfer, and wait for the _Transfer OK_ message. <img src="%ATTACHURL%/File_Upload.png" width="640" border="1" /> At the end you should see the archive file in the path you have specified. <img src="%ATTACHURL%/File_Upload2-2.png" width="640" border="1" /> ---+++ Parametric job submission You are now ready to submit a FLUKA job to the grid. A FLUKA job is implemented as a _Parametric_ job, i.e. a compound job made of N simple jobs, each of them identified by an integer. Each of the jobs differ from the other for few _parameters_, like the index, the input or output files, etc.. To submit such a job, move to the *Job* section in IGP, and click on *Submit New FLUKA Job*. You will be redirected to the FLUKA dedicated submission interface, where you will define some parameters related to the job you want to submit. <img src="%ATTACHURL%/Job_Submission-2.png" width="640" border="1" /> The following customization is suggested: * Change _Job Name_ as desired * Set properly _Input_, to the input file archive desired * Set _Output_ to the remote directory where you want the job output to be copied. By default, this directory is the same containing input. If instead you want a different directory which doesn't exist, you have to create it using the proper DM option. * Set _Number of Jobs_ and _Start Number_ as indicated by the Help. The template obtained can be saved as a new template, or it can be used for the submission to the grid. *Note* 1. If your personal certificate is expired, IGP will ask you to load a new valid certificate. Once uploaded, you need to wait some minutes before a new job submission 1. Changes to other parameters is considered an advanced topic and it's not being discussed here. ---+++ Job Monitor From the *FLUKA* section you can check the status of your submitted jobs <img src="%ATTACHURL%/Job_Status-2.png" width="640" border="1" /> * Waiting: IGP has accepted the job for the submission * Running: job is being executed in the grid site specified from the _Site_ field * Failed: job execution is failed * Done: the job has been correctly executed *Tips* * IGP considers a job *Done* when there are no failures due to IGP itself or the grid. For instance, if the execution fails because of a wrong input, but exits correctly to the the operating system, the grid, and therefore IGP, have no way to detect the failure, which is only at the application level. * Single jobs, or multiple selections, can be submitted again or canceled just selecting the job and applying for the desired option. * Clicking on the *Action* button in the row representing the job, and then *Get Output*, you can check the job _Standard Output_ or _Standard Error_ if available * In IGP section *My Data -> Advanced Settings* you can enable mail notifications related to job status change, and proxy expiration. ---+++ Output retrieve If everything went fine, the job will assume the _Done_ status. Move to the IGP section *Storage* and you will see the job output files in the directory you have specified customizing the Fluka job template file <img src="%ATTACHURL%/File_Download_1-2.png" width="640" border="1" /> For each job there is a tar, following this convention for the name : =archiveName_N_out_MMDDYY-HHMMSS-10_digits_UTC.tgz= This should prevent conflicts resulting from one or more files having the same name, for instance it would happen with repeated submission of the same, identical, job template. Selecting an output file and choosing the _Download_ action from the pop up, you will download the job output files to your machine. Multiple selection is allowed, but this may increase the time needed for download, consider it if there are huge output files. <img src="%ATTACHURL%/File_Download_2-2.png" width="640" border="1" /> -- Main.EmidioGiorgio - 2013-11-05
Attachments
Attachments
Topic attachments
I
Attachment
Action
Size
Date
Who
Comment
tif
Job_Template.tif
manage
150.4 K
2013-11-05 - 14:09
EmidioGiorgio
png
File_Download_1-2.png
manage
216.3 K
2013-12-02 - 11:04
EmidioGiorgio
png
File_Download_1.png
manage
163.1 K
2013-11-05 - 15:15
EmidioGiorgio
png
File_Download_2-2.png
manage
194.8 K
2013-12-02 - 11:04
EmidioGiorgio
png
File_Download_2.png
manage
144.9 K
2013-11-05 - 15:15
EmidioGiorgio
png
File_Upload.png
manage
231.0 K
2013-11-05 - 12:23
EmidioGiorgio
png
File_Upload2-2.png
manage
193.2 K
2013-12-02 - 11:04
EmidioGiorgio
png
File_Upload2.png
manage
141.3 K
2013-11-05 - 12:23
EmidioGiorgio
png
JobManag1-2.png
manage
69.5 K
2013-12-02 - 11:04
EmidioGiorgio
png
JobManag1.png
manage
49.0 K
2013-11-19 - 12:25
EmidioGiorgio
png
JobManag2-2.png
manage
70.2 K
2013-12-02 - 11:04
EmidioGiorgio
png
JobManag2.png
manage
44.5 K
2013-11-19 - 12:26
EmidioGiorgio
png
JobStatus2.png
manage
182.4 K
2013-11-19 - 14:03
EmidioGiorgio
png
JobSubPortlet.png
manage
81.4 K
2013-11-19 - 13:59
EmidioGiorgio
png
Job_Status-2.png
manage
190.1 K
2013-12-02 - 11:04
EmidioGiorgio
png
Job_Status.png
manage
106.3 K
2013-11-05 - 15:02
EmidioGiorgio
png
Job_Submission-2.png
manage
107.9 K
2013-12-02 - 11:04
EmidioGiorgio
png
Job_Submission.png
manage
101.3 K
2013-11-05 - 14:30
EmidioGiorgio
png
Job_Template.png
manage
56.6 K
2013-11-05 - 14:17
EmidioGiorgio
png
welcome.png
manage
129.2 K
2013-11-19 - 12:10
EmidioGiorgio
png
welcome2.png
manage
95.4 K
2013-12-02 - 11:04
EmidioGiorgio
E
dit
|
A
ttach
|
PDF
|
H
istory
: r7
<
r6
<
r5
<
r4
<
r3
|
B
acklinks
|
V
iew topic
|
M
ore topic actions
Topic revision: r7 - 2013-12-02
-
EmidioGiorgio
Home
Site map
CEMon web
CREAM web
Cloud web
Cyclops web
DGAS web
EgeeJra1It web
Gows web
GridOversight web
IGIPortal web
IGIRelease web
MPI web
Main web
MarcheCloud web
MarcheCloudPilotaCNAF web
Middleware web
Operations web
Sandbox web
Security web
SiteAdminCorner web
TWiki web
Training web
UserSupport web
VOMS web
WMS web
WMSMonitor web
WeNMR web
UserSupport Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
E
dit
A
ttach
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback