GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » fails to launch an analysis task in Kronos
fails to launch an analysis task in Kronos [message #21595] Sun, 08 October 2017 16:59 Go to next message
zeeking is currently offline  zeeking
Messages: 10
Registered: April 2014
Location: 德国
occasional visitor
From: *kph.uni-mainz.de
Dear all,

Previously I have built an analysis task with our local computing cluster HIMster, and
everything works fine.

Today I move to Kronos, because the DPM mass production samples are stored there. However,
my analysis task can not be compiled anymore, with the following strange error report:

--------------------------------
[ 91%] Built target SciT
[ 94%] Built target Hyp
[ 94%] Built target Tracking
[ 94%] Built target MCMatchNewLinks
/u/zliu/nyx/pandaroot/tutorials/charmonium/dwave_charmonium/src/PndPsi38 23.cxx:41:25: fatal error: Pnd4CFitter.h: No such file or directory
#include "Pnd4CFitter.h"
^
compilation terminated.

--------------------------------
In my source code, I have the following lines:

// Analysis headers
#include "PndAnalysis.h"
#include "Pnd4CFitter.h"
#include "PndKinVtxFitter.h"
#include "PndKinFitter.h"
#include "PndVtxPoca.h"


using std::cout;
using std::endl;


Does anyone know how to solve it? I am using the PandaRoot feb17.

thanks.

[Updated on: Sun, 08 October 2017 17:01]

Report message to a moderator

Re: fails to launch an analysis task in Kronos [message #21597 is a reply to message #21595] Mon, 09 October 2017 08:32 Go to previous messageGo to next message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 501
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: *gsi.de
Hi zeeking,

I would advise to use the Rho* names for the fitters. Just Replace

#include "PndAnalysis.h"
#include "Pnd4CFitter.h"
#include "PndKinVtxFitter.h"
#include "PndKinFitter.h"
#include "PndVtxPoca.h"

with

#include "RhoAnalysis.h"
#include "Rho4CFitter.h"
#include "RhoKinVtxFitter.h"
#include "RhoKinFitter.h"
#include "RhoVtxPoca.h"


Alternatively you can add in your CMakeLists.txt the PndTools/PndParticleFitters folder. However, this folder will be discontinued.

Cheers!
Ralf
Re: fails to launch an analysis task in Kronos [message #21606 is a reply to message #21597] Mon, 09 October 2017 15:07 Go to previous messageGo to next message
zeeking is currently offline  zeeking
Messages: 10
Registered: April 2014
Location: 德国
occasional visitor
From: *kph.uni-mainz.de
Hi, Ralf,

Thanks for the reply and suggestion. Unfortunately none of these options works.

I have tried to replace "Pnd" by "Rho", it still fails to find the head file.
I also have check the CMakeLists.txt file, the sentence

add_subdirectory (PndTools/PndParticleFitters)

was there, but nothing helps. Instead, in my previous version, without this sentence in the
CMakeLists.txt file, I can succeed to find the head file and compile.

Best Regards,
Zhiqing

[Updated on: Mon, 09 October 2017 15:08]

Report message to a moderator

Re: fails to launch an analysis task in Kronos [message #21610 is a reply to message #21597] Mon, 09 October 2017 15:33 Go to previous messageGo to next message
zeeking is currently offline  zeeking
Messages: 10
Registered: April 2014
Location: 德国
occasional visitor
From: *kph.uni-mainz.de
Hi, Ralf,

This is for your further information/question again. May be you are the only one who can answer it.

I try to include the head file "Pnd4CFitter.h" by add the absolute path, but the compiler tell me "

/u/zliu/nyx/pandaroot/PndTools/PndParticleFitters/Pnd4CFitter.h:12:25: fatal error: Rho4CFitter.h: No such file or directory
#include "Rho4CFitter.h"
^
compilation terminated.

"

Then I further have a look at the file "Pnd4CFitter.h" & "Pnd4CFitter.cxx", it's almost empty !
Here I print out "Pnd4CFitter.cxx", only one sentence inside:

#include "Pnd4CFitter.h"

And "Pnd4CFitter.h":

#ifndef Pnd4CFitter_h
#define Pnd4CFitter_h
//////////////////////////////////////////////////////////////////////// //
// //
// Pnd4CFitter //
// //
// A typedef for convenience
// Author R.Kliemt 2014 GSI
//
// //
//////////////////////////////////////////////////////////////////////// //
#include "Rho4CFitter.h"

typedef Rho4CFitter Pnd4CFitter;

#endif


I am wondering, is this an error due to my PandaRoot installation?
Or in this PandaRoot version-feb17, the 4C fitter is still not prepared?
If the later case is true, can I just copy the 4C fitter source files back
from an early version and compile again?

Thanks for your answer.

Best Regards,
Zhiqing

Re: fails to launch an analysis task in Kronos [message #21612 is a reply to message #21595] Mon, 09 October 2017 15:56 Go to previous messageGo to next message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 501
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: *gsi.de
Hi Zhiqing,

Well, did you load your config.sh?
What does your CMakeLists.txt look like? You need to add the proper dependencies, and it should include:

set(DEPENDENCIES Base Rho RhoFitter)


Cheers!
Ralf
Re: fails to launch an analysis task in Kronos [message #21613 is a reply to message #21595] Mon, 09 October 2017 15:57 Go to previous messageGo to next message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 501
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: *gsi.de
Oh and:

I moved the code of the fitters to the Rho package and made the typedef (i.e. almost empty files) to have the backward-compatibility.

Cheers!
Ralf
Re: fails to launch an analysis task in Kronos [message #21617 is a reply to message #21612] Mon, 09 October 2017 16:29 Go to previous messageGo to next message
zeeking is currently offline  zeeking
Messages: 10
Registered: April 2014
Location: 德国
occasional visitor
From: *kph.uni-mainz.de
Hi, Ralf,

Here is my CMakeLists.txt file, can you help me have a quick look for what is missing?

/u/zliu/nyx/pandaroot/CMakeLists.txt

After adding "set(DEPENDENCIES Base Rho RhoFitter)", it stills report the same compile
error.

thanks.

Best Regards,
Zhiqing
Re: fails to launch an analysis task in Kronos [message #21620 is a reply to message #21595] Mon, 09 October 2017 16:51 Go to previous message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 501
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: *gsi.de
hi,

I took a look to your code on NYX.

Please add the Dependencies to RhoFitter to /SAT/nyx/panda/zliu/pandaroot/tutorials/charmonium/dwave_charmonium/src/ CMakeLists.txt as well as the include path ${CMAKE_SOURCE_DIR}/rho/Rhofitter

That shall do the trick.


Cheers!
Ralf
Previous Topic: fails to install PandaRoot on Kronos
Next Topic: Problems with simulation on kronos
Goto Forum:
  


Current Time: Fri Aug 14 16:45:27 CEST 2020

Total time taken to generate the page: 0.02355 seconds