Departamento de Ciência de Computadores

Practical exercise

  • Login to with your username and password.
  • upload the C code tiny_mc.c to
  • alter the C code such that the variable photons can assume a different value that comes from the command line or from a file.
  • compile and test your code in the command line.
  • create JDL files to submit your executable using different techniques: script, collection, parameter
  • make submission, job inspection and data retrieval as friendly as possible.
  • Login to the grid.
  • Submit your executable using a single submission command to each job, and only one submission command to the whole bunch. Compare the results (execution time and queueing time).
  • Now, assume that you need to read the number of photons from a storage element. What should you do?