Re: FFTW and ROOT 5.30/00

From: Fons Rademakers <Fons.Rademakers_at_cern.ch>
Date: Wed, 14 Sep 2011 11:54:20 +0200


Hi Andreas,

   try building ROOT without --prefix. Also make sure that lib/libFFTW.so gets correctly build. If you link with the libfftw.so make sure the its path is in DYLD_LIBRARY_PATH. In my case I link with the static version of libfftw.a and all is fine.

Cheers, Fons.

On 14/09/2011 08:01, Andreas Adelmann wrote:
> Hi, I run
>
> ROOT 5.30/00 (tags/v5-30-00_at_40062, Jun 28 2011, 11:49:57 on macosx64)
>
> build with:
>
> Invoked on psvpn104.psi.ch <http://psvpn104.psi.ch/>
> with Darwin psvpn104.psi.ch <http://psvpn104.psi.ch/> 10.8.0 Darwin Kernel
> Version 10.8.0: Tue Jun 7 16:32:41 PDT 2011;
> root:xnu-1504.15.3~1/RELEASE_X86_64 x86_64
> at Fri Sep 2 14:42:36 CEST 2011:
> ./configure
> "macosx64"
> "--prefix=/Users/adelmann/extlib/root-5.30.00"
> "--enable-fftw3"
> "--enable-roofit"
> "--with-fftw3-incdir=/Users/adelmann/extlib/fftw/include/"
> "--with-fftw3-libdir=/Users/adelmann/extlib/fftw/lib/"
>
> The FFW-3 is on version 3.3
>
> ./configure --prefix=/Users/adelmann/extlib/fftw --enable-shared
> CFLAGS=-m64 --with-pic
>
> When running the tutorial FFT.C I get the following error:
>
> Error in <TPluginHandler::SetupCallEnv>: class TFFTRealComplex not found in
> plugin FFTW
> Error in <TVirtualFFT::FFT>: plugin failed to create TVirtualFFT object
> Error: illegal pointer to class object hm 0x0 1439 FFT.C:95:
> *** Interpreter error recovered ***
>
> Here my LD_LIBRARY_PATH
>
> psvpn104:fft adelmann$ echo $LD_LIBRARY_PATH
> /Users/adelmann/extlib/fftw/lib:/Users/adelmann/extlib/root-5.30.00/lib/root
>
>
> I am kind of lost
>
> Andreas
> ------
> Dr. sc. math. Andreas (Andy) Adelmann
> Staff Scientist
> Paul Scherrer Institut WLGB/132 CH-5232 Villigen PSI
> Phone Office: xx41 56 310 42 33 Fax: xx41 56 310 31 91
> Phone Home: xx41 62 891 91 44
> -------------------------------------------------------
> Thursdays: ETH CAB H 83.1 +41 44 632 36 72
> ============================================
> The more exotic, the more abstract the knowledge,
> the more profound will be its consequences.
> Leon Lederman
> ============================================
>
>
>

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers_at_cern.ch              Phone: +41 22 7679248
WWW:    http://fons.rademakers.org           Fax:   +41 22 7669640


Received on Wed Sep 14 2011 - 11:54:25 CEST

This archive was generated by hypermail 2.2.0 : Wed Sep 14 2011 - 17:50:01 CEST