Re: GSL in ROOT session

From: Lorenzo Moneta <Lorenzo.Moneta_at_cern.ch>
Date: Tue, 27 Jun 2006 12:51:59 +0200


Hi George,

  the gsl header file are not visible within a ROOT sessions, are used internally to build MathMore.

If you want to compile your program using the GSL built-in ROOT 5.08, you need to set the include path to the location of GSL (internally is in $ROOTSYS/mathmore/src/gsl-1.5 ) and use the library $ROOTSYS/mathmore/src/gsl-1.5/.libs/libgsl.a

However, I would reccomend you to use the functions defined in MathMore, like for a Bessel function:

ROOT::Math::cyl_bessel_j

( see for example http://seal.web.cern.ch/seal/MathLibs/MathMore/html/ group__SpecFunc.html )

Cheers,

  Lorenzo

On Jun 27, 2006, at 1:11 AM, George Japaridze wrote:

> Hi,
> I have a simple gsl source file which compiles and executes nicely
> on my Mac (OS 10.4) in a teminal session. File is attached.
> How should I compile/run it in ROOT session? I have MathMore
> installed, ROOT is version 5.08/00b.
>
> Thanks,
> George
>
>
> <example.c>
>
>
>
>
>
>
>
>
>
>
>
> **********************************************************************
> *********************
> Dr. George Japaridze CTSPS,
> Clark Atlanta University
>
> japar_at_ctsps.cau.edu 404 880 6420
> Office
> http://ctsps.cau.edu/george/index.html 404 226 3847 Cell
>
>
>
>
>
Received on Tue Jun 27 2006 - 12:53:42 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:59 MET