[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] Compiling & Testing New Interpolation Type
From: |
Jean-François Caron |
Subject: |
Re: [Help-gsl] Compiling & Testing New Interpolation Type |
Date: |
Thu, 20 Mar 2014 10:11:39 -0700 |
Oh my god, I just noticed that I was trying to use version 1.6 all along, not
1.16! I finally noticed when I tried using the same grep commands as Dave
Allured to summarize the tests, but zero lines from my test log were matching,
so I looked more closely. 1.6 doesn’t have DARWIN86 as one of the ieee-utils
options, hence why stuff wasn’t working.
Not to excuse my lack of attention/stupidity, but on the main GSL page it says
in text that the current version is 1.16, but the download link goes to a plain
index page that includes tons of versions - including future versions that are
probably not expected to work. Is it possible to add a single link to the
current version on the main page, or in the FTP listing, have a duplicate entry
for 1.16 which is explicitly called CURRENT or something?
When I use 1.16 everything works out of the box. Sorry for the noise. (1.6
did work out of the box on an Ubuntu 12 machine that I tried).
My original problem was that I wanted to add an interpolation type to GSL.
Specifically I want monotonic cubic-splines following the description in
Steffen (1990): http://adsabs.harvard.edu/full/1990A%26A...239..443S
I have successfully written a steffen.c file, modelled after akima.c. It
compiles and seems to do the interpolation correctly with my basic
(non-automated) tests. I am wondering now what are the steps to trying to get
my enhancement included in gsl itself? Things like code review, style
checking, etc. I’ve never contributed actual code to an open-source project
before, so I might need some hand-holding. Should I start a new thread about
this?
I read somewhere that GSL is considered “feature complete”, but I’ve seen other
people asking for monotonic interpolation from GSL before, and it’s just a new
9407 byte file and some trivial additions to gsl_interp.h and the configuration
files. I hope it’s an appropriate (and welcome) addition to GSL.
Jean-François
On Mar 19, 2014, at 18:40 , Dave Allured - NOAA Affiliate <address@hidden>
wrote:
> More data. I tried the same plain build recipe, GSL 1.16 on our test
> machine which is at Mac OS 10.9.3. Got another perfect build, no make
> check errors, no PPC-related issues. Outputs on request, please be
> specific.
>
> CC=clang
> CFLAGS=-g
> ./configure --prefix /Users/dallured/Disk/3rd/gsl/1.16.os10.9
>
> mac27:~/Disk/3rd/gsl/1.16.os10.9 57> sw_vers
> ProductName: Mac OS X
> ProductVersion: 10.9.3
> BuildVersion: 13D17
>
> mac27:~/Disk/3rd/gsl/1.16.os10.9/src 36> \
> ? grep -i '# [a-z]' ../logfiles/make-check.0319a.log | sort | uniq -c
> 45 # ERROR: 0
> 45 # FAIL: 0
> 42 # PASS: 1
> 3 # PASS: 2
> 45 # SKIP: 0
> 42 # TOTAL: 1
> 3 # TOTAL: 2
> 45 # XFAIL: 0
> 45 # XPASS: 0
>
> mac27:~/Disk/3rd/gsl/1.16.os10.9 62> \
> ? grep -c -i ppc logfiles/*319a*log
> logfiles/configure.0319a.os10.9.log:0
> logfiles/install.0319a.log:0
> logfiles/make-check.0319a.log:0
> logfiles/make.0319a.log:0
>
> mac27:~/Disk/3rd/gsl/1.16.os10.9 65> \
> ? grep -i ppc src/config.h src/config.log src/config.status
> src/config.h:/* #undef HAVE_GNUPPC_IEEE_INTERFACE */
> src/config.log:HAVE_GNUPPC_IEEE_INTERFACE=''
> src/config.status:S["HAVE_GNUPPC_IEEE_INTERFACE"]=""
>
> --Dave
>
> On Wed, Mar 19, 2014 at 5:27 PM, Jean-Francois Caron <address@hidden>
> wrote:
>>
>> Dave is correct, I am using an "i686" 64-bit x86 mac. For some reason
>> it is still looking for the PPC mac header file. The ./configure
>> stage correctly identifies my system, so it's a bit strange. Also GSL
>> installs without errors when I do it from MacPorts, and MacPorts
>> doesn't seem to do anything other than ./configure && make, from my
>> reading of the portfile.
>>
>> When I get back to my Mac, I will look at the NOTES file to see if
>> anything needs to be done for 10.9.
>>
>> Jean-François
- Re: [Help-gsl] Compiling & Testing New Interpolation Type, (continued)
- 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
- Re: [Help-gsl] Compiling & Testing New Interpolation Type, Dave Allured - NOAA Affiliate, 2014/03/19
- Re: [Help-gsl] Compiling & Testing New Interpolation Type,
Jean-François Caron <=
- Re: [Help-gsl] Compiling & Testing New Interpolation Type, Patrick Alken, 2014/03/20
- Re: [Help-gsl] Compiling & Testing New Interpolation Type, Jean-François Caron, 2014/03/20