Error in Installing on MAC OSX [message #13818] |
Thu, 26 July 2012 01:52 ![Go to next message Go to next message](/theme/gsi/images/down.png) |
Michael Kunkel
Messages: 53 Registered: June 2011
|
continuous participant |
From: *hr.hr.cox.net
|
|
Hello,
I am attempting to install pluto++ on a Mac OSX Lion.
For the plug PSaidLowEnergy, I get the following error.
plugins/scatter_mod/PSaidLowEnergy.cc:201: error: call of overloaded 'pow(long double, double&)' is ambiguous
/Users/Mike/root/include/TMath.h:390: note: candidates are: double pow(double, double)
|
|
|
Re: Error in Installing on MAC OSX [message #13834 is a reply to message #13818] |
Wed, 01 August 2012 13:45 ![Go to previous message Go to previous message](/theme/gsi/images/up.png) ![Go to next message Go to next message](/theme/gsi/images/down.png) |
Ingo Froehlich
Messages: 167 Registered: March 2004 Location: IKF - Frankfurt
|
first-grade participant |
From: *x-matter.uni-frankfurt.de
|
|
I have no MAC to test this error, but maybe you could try to change all "pow" functions where the cast to "long double" is used to "powl"
--
Ingo Froehlich
IKF - University of Frankfurt
069-798-47027, FAX: -47024
|
|
|
Re: Error in Installing on MAC OSX [message #13845 is a reply to message #13834] |
Mon, 06 August 2012 18:30 ![Go to previous message Go to previous message](/theme/gsi/images/up.png) ![Go to next message Go to next message](/theme/gsi/images/down.png) |
Michael Kunkel
Messages: 53 Registered: June 2011
|
continuous participant |
From: 129.57.112*
|
|
I had tried that, and it worked.
PLUTO built without error codes, but will not run.
Whenever I attempt to execute a macro I get errors.
I know you have no Mac to test on. But here is a simple macro that gets denied.
#include "TH1.h"
#include "TH2.h"
#include "TH3.h"
#include "TChain.h"
#include "TCanvas.h"
#include "TF1.h"
#include "/Users/Mike/Pluto/INSTALL_DIR/loadPluto.h"
#include "/Users/Mike/Pluto/INSTALL_DIR/include/pluto/PParticle.h"
#include "/Users/Mike/Pluto/INSTALL_DIR/include/pluto/PReaction.h"
#include "/Users/Mike/Pluto/INSTALL_DIR/include/pluto/PBeamSmearing.h"
void SIMULATE_Eta_Dalitz(){
gROOT->Reset();
PReaction my_reaction("_P1 = 2.2","g","p","p eta [dilepton [e+ e-] g]","eta_",1,0,0,0);
my_reaction.Loop(25000);
}
Error: PReaction() declared but not defined SIMULATE_Eta_Dalitz.C:16:
Error: ~PReaction() declared but not defined SIMULATE_Eta_Dalitz.C:16:
*** Interpreter error recovered ***
|
|
|
Re: Error in Installing on MAC OSX [message #13846 is a reply to message #13845] |
Mon, 06 August 2012 18:38 ![Go to previous message Go to previous message](/theme/gsi/images/up.png) ![Go to next message Go to next message](/theme/gsi/images/down.png) |
Ingo Froehlich
Messages: 167 Registered: March 2004 Location: IKF - Frankfurt
|
first-grade participant |
From: *x-matter.uni-frankfurt.de
|
|
I think its a linking problem
Could you try to do "make Pluto"? It should do a dummy linking to an executable
--
Ingo Froehlich
IKF - University of Frankfurt
069-798-47027, FAX: -47024
|
|
|
|
Re: Error in Installing on MAC OSX [message #13849 is a reply to message #13847] |
Mon, 06 August 2012 23:40 ![Go to previous message Go to previous message](/theme/gsi/images/up.png) ![Go to next message Go to next message](/theme/gsi/images/down.png) |
Ingo Froehlich
Messages: 167 Registered: March 2004 Location: IKF - Frankfurt
|
first-grade participant |
From: *dip.t-dialin.net
|
|
So not a linking error...
Does this error happen with all macros?
BTW what is libPluto.dylib?
--
Ingo Froehlich
IKF - University of Frankfurt
069-798-47027, FAX: -47024
|
|
|
|
Re: Error in Installing on MAC OSX [message #13874 is a reply to message #13818] |
Tue, 21 August 2012 08:37 ![Go to previous message Go to previous message](/theme/gsi/images/up.png) |
Michael Kunkel
Messages: 53 Registered: June 2011
|
continuous participant |
From: *hr.hr.cox.net
|
|
Greetings
I have solved this small hiccup.
I am attaching a .tar file which will install PLUTO++ >= 5.4 on any UNIX machine.
Was tested on Ubuntu, and Mac 10.7.4 Lion
Instructions:
Untar PLUTO_UNIX_Install.tar in the directory where pluto_v5.40.x
is located. Change directory to PLUTO_INSTALL_scripts
cd PLUTO_INSTALL_scripts
source configure.sh
By default PLUTO will be installed in the pluto_v5.40.x directory,
however there is an option to install in in any directory.
I hope this helps anyone trying to use PLUTO on a Mac.
Michael
|
|
|