Path problem with the DelphesMA5 tune

Asked by Nicolas Deutschmann

Hi,

I tried running an analysis with MA5 v1.1.12 and I hit a problem at initialization: the .tcl card is not found because the path has an extra "../" ("../../Input/delphesMA5tune_card_ATLAS.tcl")

I don't know if I am not supposed to run the analysis from ANALYSIS_X/Build or if it is an error. When I deleted the extra "../" in main.cpp, the analysis ran fine.

Cheers,
Nicolas.

Question information

Language:
English Edit question
Status:
Solved
For:
MadAnalysis 5 Edit question
Assignee:
No assignee Edit question
Solved by:
Benjamin Fuks
Solved:
Last query:
Last reply:
Revision history for this message
Benjamin Fuks (fuks) said :
#1

Hi Nicolas,

You are supposed to run the analysis fro the Build directory. Could you retry?

Cheers,

Benjamin

On 12 Sep 2014, at 19:03 , Nicolas Deutschmann <email address hidden> wrote:

> New question #254408 on MadAnalysis 5:
> https://answers.launchpad.net/madanalysis5/+question/254408
>
> Hi,
>
> I tried running an analysis with MA5 v1.1.12 and I hit a problem at initialization: the .tcl card is not found because the path has an extra "../" ("../../Input/delphesMA5tune_card_ATLAS.tcl")
>
> I don't know if I am not supposed to run the analysis from ANALYSIS_X/Build or if it is an error. When I deleted the extra "../" in main.cpp, the analysis ran fine.
>
> Cheers,
> Nicolas.
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Nicolas Deutschmann (ndeutschmann) said :
#2

Hi Benjamin,

I retried on a fresh install with a new process, here is the exact sequence of what I do:

1. generate a working folder with delphesMA5tune (set it as fastsim.package, set atlas as detector, import file, submit)

2. go to Build, source setup.sh, make

3. ./Madanalysis5job inputfile

I get the error

ERROR: Configuration file '../../Input/delphesMA5tune_card_ATLAS.tcl' is not found
ERROR: problem during the initialization of the fast-simulation package called 'delphesMA5tune'

I tried running from SampleAnalyser, the analysis goes through but then there is nothing created in the Output folder.
A .root file is created in the SampleAnalyser folder with name TheMouth.root however. Is that the output of the delphes package ?

Cheers,
Nicolas.

Revision history for this message
Best Benjamin Fuks (fuks) said :
#3

Hi Nicolas,

In the case you are running delphes in the expert mode, the file will indeed be created at the location you executed the code. TheMouth.root is this file.

Cheers

Benjamin

On 15 Sep 2014, at 12:48 , Nicolas Deutschmann <email address hidden> wrote:

> Question #254408 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/254408
>
> Status: Answered => Open
>
> Nicolas Deutschmann is still having a problem:
> Hi Benjamin,
>
> I retried on a fresh install with a new process, here is the exact
> sequence of what I do:
>
> 1. generate a working folder with delphesMA5tune (set it as
> fastsim.package, set atlas as detector, import file, submit)
>
> 2. go to Build, source setup.sh, make
>
> 3. ./Madanalysis5job inputfile
>
> I get the error
>
> ERROR: Configuration file '../../Input/delphesMA5tune_card_ATLAS.tcl' is not found
> ERROR: problem during the initialization of the fast-simulation package called 'delphesMA5tune'
>
> I tried running from SampleAnalyser, the analysis goes through but then there is nothing created in the Output folder.
> A .root file is created in the SampleAnalyser folder with name TheMouth.root however. Is that the output of the delphes package ?
>
> Cheers,
> Nicolas.
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Nicolas Deutschmann (ndeutschmann) said :
#4

Thanks Benjamin Fuks, that solved my question.