Google Groups Home
Help | Sign in
LinBox 1.1.5 release candidate 0
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Clement Pernet  
View profile
 More options Feb 21, 10:58 pm
From: Clement Pernet <clement.per...@gmail.com>
Date: Thu, 21 Feb 2008 19:58:38 -0800 (PST)
Local: Thurs, Feb 21 2008 10:58 pm
Subject: LinBox 1.1.5 release candidate 0
Hi,

I have relased a first release candidate for the version 1.1.5 of
LinBox (http://linalg.org/download.html)

You may want to use the latest 3.2.1O version of givaro (also a
release candidate) with it.
It is available at
http://sage.math.washington.edu/home/pernet/givaro-3.2.10rc0.tar.gz

Feel free to try it and report any problem you encounter, while
installing or using it on your favorite (and hopefully exotic
architecture).

I am still working on fixing memory issues raised by Sage including
this version, but the final release should be in a very near future.

Clément


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Shunsuke Tsuchioka  
View profile
 More options Feb 23, 3:10 am
From: Shunsuke Tsuchioka <ts...@kurims.kyoto-u.ac.jp>
Date: Sat, 23 Feb 2008 17:10:16 +0900 (JST)
Local: Sat, Feb 23 2008 3:10 am
Subject: Re: [linbox-devel] LinBox 1.1.5 release candidate 0
Dear all,

I report a problem I encountered when I built
givaro-3.2.10rc0.tar.gz on FreeBSD/i386(Core2Duo).
I hope this report serves the improvements.

Sincerely yours,

Shunsuke, Tsuchioka
Research Institute for Mathematical Sciences Kyoto University

--------------------------------------------------------------------------- --

> uname -a

FreeBSD hoge_foo 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #3: Wed Jan 30 22:02:54 JST 2008     tshun@hoge_foo:/usr/obj/usr/src/sys/hoge_foo  i386

> gcc -v

Using built-in specs.
Target: i386-undermydesk-freebsd
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.1 20070719  [FreeBSD]

I built by the following compile option:

./configure --with-gmp=/home/tshun/math/gmp --disable-shared --enable-static --prefix=/home/tshun/math/giv

"gmake" passed successfully but "gmake check" gave me the following errors:

> gmake check

<SNIP>

g++ -DHAVE_CONFIG_H -I. -I../.. -I../..  -I/home/tshun/math/gmp/include -I../../src/kernel/system -I../../src/kernel/memory -I../../src/kernel/zpz -I../../src/kernel/integer -I../../src/kernel -I../../src/library/poly1 -I../../src/kernel/bstruct -I../../src/library/tools   -I/home/tshun/math/gmp/include -g -O2 -Wall -MT ff_arith.o -MD -MP -MF .deps/ff_arith.Tpo -c -o ff_arith.o ff_arith.C
In file included from ff_arith.C:6:
../../src/kernel/zpz/givaro/givgfqext.h: In member function 'void GFqExtFast<TT>::builddoubletables()':
../../src/kernel/zpz/givaro/givgfqext.h:188: error: 'ulong' was not declared in this scope
../../src/kernel/zpz/givaro/givgfqext.h:188: error: expected `;' before 'ppow'
../../src/kernel/zpz/givaro/givgfqext.h:188: error: 'ppow' was not declared in this scope
../../src/kernel/zpz/givaro/givgfqext.h:189: error: expected `;' before 'powersize'
../../src/kernel/zpz/givaro/givgfqext.h:190: error: 'powersize' was not declared in this scope
../../src/kernel/zpz/givaro/givgfqext.h:236: error: expected `;' before 'binpolit'
../../src/kernel/zpz/givaro/givgfqext.h:238: error: 'binpolit' was not declared in this scope
../../src/kernel/zpz/givaro/givgfqext.h:239: error: expected type-specifier before 'ulong'
../../src/kernel/zpz/givaro/givgfqext.h:239: error: expected `>' before 'ulong'
../../src/kernel/zpz/givaro/givgfqext.h:239: error: expected `(' before 'ulong'
../../src/kernel/zpz/givaro/givgfqext.h:239: error: expected `)' before ';' token
../../src/kernel/zpz/givaro/givgfqext.h:252: error: 'binpolit' was not declared in this scope

--------------------------------------------------------------------------- ---

From: Clement Pernet <clement.per...@gmail.com>
Subject: [linbox-devel] LinBox 1.1.5 release candidate 0
Date: Thu, 21 Feb 2008 19:58:38 -0800 (PST)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Clement Pernet  
View profile
 More options Feb 25, 1:45 pm
From: Clement Pernet <clement.per...@gmail.com>
Date: Mon, 25 Feb 2008 10:45:18 -0800
Local: Mon, Feb 25 2008 1:45 pm
Subject: Re: [linbox-devel] Re: LinBox 1.1.5 release candidate 0
Hi Shunsuke,

Thanks for your report.
Apparently, it is a common problem with ulong and freebsd (google "ulong
freebsd").
I suggest to replace all 5 occurrences of ulong by unsigned long.
Can you try it and let us know if it solved the problem?

Jean-Guillaume, you wrote this code and it is the only place in the
library where ulong is used. Do you have any objection for this replacement?

Clément

Shunsuke Tsuchioka a écrit :


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Shunsuke Tsuchioka  
View profile
 More options Feb 26, 12:06 am
From: Shunsuke Tsuchioka <ts...@kurims.kyoto-u.ac.jp>
Date: Tue, 26 Feb 2008 14:06:18 +0900 (JST)
Local: Tues, Feb 26 2008 12:06 am
Subject: Re: [linbox-devel] Re: LinBox 1.1.5 release candidate 0
Hi Clément,

> I suggest to replace all 5 occurrences of ulong by unsigned long.
> Can you try it and let us know if it solved the problem?

I changed src/kernel/zpz/givgfqext.h as you told me:

> pwd

/usr/home/tshun/source/givaro-3.2.10
> diff /tmp/givaro-3.2.10/src/kernel/zpz/givgfqext.h src/kernel/zpz/givgfqext.h

188,189c188,189
<         for(ulong ppow = 2; ppow < this->_characteristic; ppow <<= 1,++_pceil) {}
<         ulong powersize = 1<<(_pceil * this->_exponent);
---
>         for(unsigned long ppow = 2; ppow < this->_characteristic; ppow <<= 1,++_pceil) {}
>         unsigned long powersize = 1<<(_pceil * this->_exponent);

236c236
<             ulong binpolit = static_cast<ulong>(vect[0]);
---
>             unsigned long binpolit = static_cast<unsigned long>(vect[0]);

239c239
<                 binpolit += static_cast<ulong>(vect[i]);
---

>                 binpolit += static_cast<unsigned long>(vect[i]);

After that, no problem occurred in "gmake check" process.
Your suggestion really solved the problem.

Thank you.

Shunsuke.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google