Memory

Asked by Guglielmo Coloretti

Dear all,

I have a general question regarding how MG5 is using memory. Indeed, I have some external hard disks available and I am wondering how to ask MG5 to use this space for the simulation (including the showering with Pythia8 and the detector simulation with Delphes)

I would appreciate any help.

Best regards,
Guglielmo Coloretti

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Guglielmo Coloretti
Solved:
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

So madgraph use different type of memory:
1) RAM, that type of memory can be moved to some hard disk by configuring your system of have intense swapping (will slow down the code significantly.
2) temporary file (put in /tmp), depending on your system those file can be ram disk or located on a dedicated disk/partition/...
You might want to reconfigure your system for better performance if you want to use ram disk, but if you just want to avoid to use /tmp (if it is too small for example) then you can use the normal unix environment variable to change the default path for temporary file. (check the instruction for your OS, likely TMPDIR variable should do it, but they are sometimes subtility) If you run on cluster be sure that the environment variable is correctly propagated.
3) permanent (and transient) file all those will be written in the directory that you choose within your "output" command
so here you can just do "output /nfs/users/..../MYdir" , you can also move that directory to the file-system that you want before running it.

Cheers,

Olivier

Revision history for this message
Guglielmo Coloretti (guglielmocoloretti) said :
#2

Dear Olivier,

Thank you very much for the detailed answer!

Best regards,
Guglielmo Coloretti