Problem with MA5v1.5
Hello,
I'm trying to use MA5 in recasting mode with the analysis atlas_1605_03814 but it is only implemented in MA5v1.5 and I don't manage to make it work properly. I tried to install it both by hand and through MG5v2.5.2 and in both cases I manage to install PAD and PADForMA5tune without getting any error message, but when I try to do the recasting using the following commands
./bin/ma5 -R
set main.recast=on
set main.recast.
import myfile.hepmc as myRun
set myRun.xsection = 6.4035
submit myRun
I systematically get this error
Traceback (most recent call last):
File "./bin/ma5", line 70, in <module>
madanalysis
File "/home/
repeat = MainSession(
File "/home/
interpreter
File "/usr/lib/
stop = self.onecmd(line)
File "/usr/lib/
return func(arg)
File "/home/
self.
File "/home/
return self.do_
File "/home/
if not self.submit(
File "/home/
self.
File "/home/
if not jobber.
File "/home/
self.
File "/home/
self.
UnboundLocalError: local variable 'theFile' referenced before assignment
I also tried to do the recasting using MA5v1.4 and it worked for ATLAS_1604_07773 but not for atlas_1605_03814 which is not implemented in that version. I even tried to add atlas_1605_03814 to MA5v1.4 using the newAnalyzer.py script and adding the .ccp, .h and .info files to MA5_v1.
source setup.sh
make clean
make
I didn't get any error during the compilation but when I tried to do the recasting I got this error message
MA5-ERROR: Recasting card: invalid analysis (not present in the PAD and in the PADForMA5tune): atlas_1605_03814
MA5-ERROR: Invalid recasting card
MA5-ERROR: job submission aborted.
Finally I also tried to install the v1.5 PAD in MA5v1.4 by replacing the install_pad.* files in the madanalysis/install directory but it didn't work either, I got this other error message:
Traceback (most recent call last):
File "./bin/ma5", line 70, in <module>
madanalysis
File "/home/
repeat = MainSession(
File "/home/
interpreter
File "/usr/lib/
stop = self.onecmd(line)
File "/usr/lib/
return func(arg)
File "/home/
self.
File "/home/
return self.do_
File "/home/
if not self.submit(
File "/home/
if not self.main.
File "/home/
shutil.
File "/usr/lib/
copy2(src, real_dst)
File "/usr/lib/
copyfile(src, dst)
File "/usr/lib/
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/home/
Could you please help me to solve this problem?
Best,
Hugo
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- hprager
- Solved:
- Last query:
- Last reply: