unable to run a job in expert mode

Asked by rojalin padhan on 2019-07-18

Dear Ma5 author,
         I am trying to do analysis in ma5 in expert mode. I executed following commands to create a analysis template and got it.

     ./bin/ma5 -E xmode anlys1
   cd xmode/Build/
  source setup.sh
  make

But after that when I tried to run a job by doing,

  ./MadAnalysis5Job filelist.txt --check_event (Here filelist.txt contains the path to events file)

I got this,

 bash: ./MadAnalysis5Job: No such file or directory

Could you please help me to find my mistakes.

Thanks and regards,
rojalin

Question information

Language:
English Edit question
Status:
Solved
For:
MadAnalysis 5 Edit question
Assignee:
No assignee Edit question
Solved by:
Benjamin Fuks
Solved:
2019-07-23
Last query:
2019-07-23
Last reply:
2019-07-22
Benjamin Fuks (fuks) said : #1

Hi,

Has the Makefile worked? It seems that no, since the executable is missing. Therefore, you may need to check why the compilation or the linking has failed and start further investigations from there.

Regards,

Benjamin

> On 18 Jul 2019, at 11:45 , rojalin padhan <email address hidden> wrote:
>
> New question #682139 on MadAnalysis 5:
> https://answers.launchpad.net/madanalysis5/+question/682139
>
> Dear Ma5 author,
> I am trying to do analysis in ma5 in expert mode. I executed following commands to create a analysis template and got it.
>
> ./bin/ma5 -E xmode anlys1
> cd xmode/Build/
> source setup.sh
> make
>
> But after that when I tried to run a job by doing,
>
> ./MadAnalysis5Job filelist.txt --check_event (Here filelist.txt contains the path to events file)
>
> I got this,
>
> bash: ./MadAnalysis5Job: No such file or directory
>
> Could you please help me to find my mistakes.
>
> Thanks and regards,
> rojalin
>
>
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

rojalin padhan (rossy.mg) said : #2

Hii..

This is what i am getting after running make command.

e --------------------------------------------------------
-e Building MadAnalysis Job
-e --------------------------------------------------------
-e --------------------------------------------------------
-e Compilation
-e --------------------------------------------------------
c++ -Wall -O3 -fPIC -I/home/rojalin/Applications/ma5/madanalysis5/tools/ -I./ -pthread -std=c++11 -m64 -I/home/rojalin/Applications/root/include -o Main/main.o -c Main/main.cpp
c++ -Wall -O3 -fPIC -I/home/rojalin/Applications/ma5/madanalysis5/tools/ -I./ -pthread -std=c++11 -m64 -I/home/rojalin/Applications/root/include -o SampleAnalyzer/User/Analyzer/an1.o -c SampleAnalyzer/User/Analyzer/an1.cpp
-e --------------------------------------------------------
-e Linking
-e --------------------------------------------------------
c++ Main/main.o SampleAnalyzer/User/Analyzer/an1.o -L/home/rojalin/Applications/ma5/madanalysis5/tools/SampleAnalyzer/Lib -L/home/rojalin/Applications/ma5/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Lib -lprocess_for_ma5 -lprocess_for_ma5 -L/home/rojalin/Applications/root/lib -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTDataFrame -lROOTVecOps -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -pthread -lm -ldl -rdynamic -lEG -lcommons_for_ma5 -o ./MadAnalysis5job

Best Benjamin Fuks (fuks) said : #3

Hi,

I didn't notice you inserted a typo in the name of the executable in your first messageā€¦ This is the reason of the issue. Bash shells are case sensitive.

Cheers,

Benjamin

> On 19 Jul 2019, at 19:22 , rojalin padhan <email address hidden> wrote:
>
> Question #682139 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/682139
>
> rojalin padhan posted a new comment:
> Hii..
>
>
> This is what i am getting after running make command.
>
> e --------------------------------------------------------
> -e Building MadAnalysis Job
> -e --------------------------------------------------------
> -e --------------------------------------------------------
> -e Compilation
> -e --------------------------------------------------------
> c++ -Wall -O3 -fPIC -I/home/rojalin/Applications/ma5/madanalysis5/tools/ -I./ -pthread -std=c++11 -m64 -I/home/rojalin/Applications/root/include -o Main/main.o -c Main/main.cpp
> c++ -Wall -O3 -fPIC -I/home/rojalin/Applications/ma5/madanalysis5/tools/ -I./ -pthread -std=c++11 -m64 -I/home/rojalin/Applications/root/include -o SampleAnalyzer/User/Analyzer/an1.o -c SampleAnalyzer/User/Analyzer/an1.cpp
> -e --------------------------------------------------------
> -e Linking
> -e --------------------------------------------------------
> c++ Main/main.o SampleAnalyzer/User/Analyzer/an1.o -L/home/rojalin/Applications/ma5/madanalysis5/tools/SampleAnalyzer/Lib -L/home/rojalin/Applications/ma5/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Lib -lprocess_for_ma5 -lprocess_for_ma5 -L/home/rojalin/Applications/root/lib -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTDataFrame -lROOTVecOps -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -pthread -lm -ldl -rdynamic -lEG -lcommons_for_ma5 -o ./MadAnalysis5job
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

rojalin padhan (rossy.mg) said : #4

Thanks Benjamin Fuks, that solved my question.