[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] Compiling & Testing New Interpolation Type
From: |
Patrick Alken |
Subject: |
Re: [Help-gsl] Compiling & Testing New Interpolation Type |
Date: |
Tue, 18 Mar 2014 19:14:04 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
Hi,
Could you be more specific about the errors you are getting? Does
configure fail or does make fail?
There is also a section on MacOS compilation in the INSTALL file (search
for Hints for MacOS X and PowerPC)
As far as testing, you could edit interpolation/test.c and add a new
routine test_steffen().
You could also simply write a standalone test program and link it again
the GSL library, without needing to compile it into GSL.
On 03/18/2014 05:47 PM, Jean-François Caron wrote:
> Hi, several times now I’ve needed a monotonic interpolation method. I saw
> some posts from 2 years ago on this list from someone who implemented the
> method from Steffen (1990), but it never got integrated into GSL and I
> couldn’t contact that person.
>
> I have now also implemented Steffen’s interpolation algorithm by copying the
> existing akima.c file, but I am quite at a loss as to how to compile & test
> the code. I normally use GSL installed from MacPorts which handles all the
> compilation. I tried wget’ing the archive for GSL 1.6 and doing ./configure
> && make, but then I get errors about the PPC architecture (this is an x86
> mac).
>
> Could someone walk me through the steps for compiling & testing my steffen.c
> code? My starting point:
> - a fresh download and ./configure of GSL 1.6
> - steffen.c placed in $GSL/interpolation
>
> I don’t need people to write the test program itself, I just need to get to
> something that will compile with “int main(void){return 0;}”. I can probably
> handle the rest of the testing.
>
> Thanks for any help,
> Jean-François Caron
>
> Old posts about this:
> http://lists.gnu.org/archive/html/help-gsl/2012-03/msg00009.html
>
- [Help-gsl] Compiling & Testing New Interpolation Type, Jean-François Caron, 2014/03/18
- Re: [Help-gsl] Compiling & Testing New Interpolation Type, Jean-François Caron, 2014/03/18
- Re: [Help-gsl] Compiling & Testing New Interpolation Type,
Patrick Alken <=
- Re: [Help-gsl] Compiling & Testing New Interpolation Type, Jean-François Caron, 2014/03/19
- Re: [Help-gsl] Compiling & Testing New Interpolation Type, Jean-François Caron, 2014/03/19
- Re: [Help-gsl] Compiling & Testing New Interpolation Type, Dave Allured - NOAA Affiliate, 2014/03/19
- Re: [Help-gsl] Compiling & Testing New Interpolation Type, Patrick Alken, 2014/03/19
- Re: [Help-gsl] Compiling & Testing New Interpolation Type, Jean-Francois Caron, 2014/03/19
- Re: [Help-gsl] Compiling & Testing New Interpolation Type, Patrick Alken, 2014/03/19
- Re: [Help-gsl] Compiling & Testing New Interpolation Type, Patrick Alken, 2014/03/19
- Re: [Help-gsl] Compiling & Testing New Interpolation Type, Dave Allured - NOAA Affiliate, 2014/03/19
- Re: [Help-gsl] Compiling & Testing New Interpolation Type, Jean-Francois Caron, 2014/03/19
- Re: [Help-gsl] Compiling & Testing New Interpolation Type, Patrick Alken, 2014/03/19