Scanning many parameter points for the same process: how to parallelize
Dear experts,
I'm trying to use madgraph to scan a large number of parameter values for the same process (I don't necessarily need a huge number of events for each point.) There are too many points for me to run them in serial (even if subprocesses are sent to condor.)
My main questions:
My understanding is that parameters can't be changed once you've produced a gridpack: is that correct? If so, is my only option for parallelization to change the parameter on the condor worker node and compile on the condor worker node, or is there some other way of factorizing the compilation step out beforehand?
What I've tried so far:
I'm currently packing up my madgraph directory and sending it to the worker, then sourcing my usual start-up scripts so that the same gfortran, etc are in the path (they are accessible from the workers), then trying to call generate_events in single-machine mode. If I condor_ssh_to_job and call generate_events, it works fine, but otherwise, it fails with the error below. Mysteriously, this used to work for a while, and don't know why it's failing now.
Thanks for your help,
Anna
*******
^[[1;31mError detected in "generate_events -f"
write debug file /var/condor/
If you need help with this issue please contact us on https:/
MadGraph5Error : A compilation Error occurs when trying to compile /var/condor/
The compilation fails with the following output message:
gfortran -O -w -fbounds-check -ffixed-
cd PDF; make
cd MODEL; make
make[1]: Entering directory `/var/condor/
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
make[1]: Entering directory `/var/condor/
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
ar cru ../../lib/libpdf.a Ctq4Fn.o Ctq5Par.o Ctq5Pdf.o Partonx5.o Ctq6Pdf.o cteq3.o mrs98.o mrs98lo.o mrs98ht.o mrs99.o mrst2001.o mrst2002.o jeppe02.o pdfwrap.o opendata.o pdf.o PhotonFlux.o pdg2pdf.o
gfortran -O -w -fbounds-check -ffixed-
ranlib ../../lib/libpdf.a
CLW = -
Error: Syntax error in expression at (1)
make[1]: Leaving directory `/var/condor/
make[1]: *** [rw_para.o] Error 1
make[1]: Leaving directory `/var/condor/
make: *** [../lib/libmodel.a] Error 2
make: *** Waiting for unfinished jobs....
Please try to fix this compilations issue and retry.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Olivier Mattelaer
- Solved:
- Last query:
- Last reply: