Google Groups Home
Help | Sign in
interfaces/maple subdir in 1.1.4 tarball?
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
  9 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
jjm  
View profile
 More options Nov 30 2007, 7:12 am
From: jjm <j...@mcs.st-and.ac.uk>
Date: Fri, 30 Nov 2007 04:12:43 -0800 (PST)
Local: Fri, Nov 30 2007 7:12 am
Subject: interfaces/maple subdir in 1.1.4 tarball?

Hi,

I've had trouble installing linbox-1.1.4 because the configure process
fails just before the end with

 config.status: error: cannot find input file: interfaces/maple/
Makefile.in

Now I've checked and there is no maple directory in interfaces/, at
least not in the version of the tarball I get from

 http://www.linalg.org/linbox-1.1.4.tar.gz

I can't see that this interfaces/maple could or should be created
along the way, so I think it is missing.

I have repeated the download/configure from CentOS and Fedora Core
linuxes on different days and with more than one browser. Same results
every time.

I have done some (a lot really) of googling and eventually found a
listing of what should be in that directory. I grabbed all the files
(really don't like doing this, but as a test) from

 http://sage.math.washington.edu/home/pernet/Logiciels/linbox/interfac...

and now the package seems to have compiled fully and cleanly. But I
don't want to use this cobbled together version.

Where or how should I be getting the interfaces/maple/ stuff? Am I
missing something obvious?

Thanks in advance,
John.


    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 Dec 3 2007, 10:49 am
From: "Clement Pernet" <clement.per...@gmail.com>
Date: Mon, 3 Dec 2007 16:49:16 +0100
Local: Mon, Dec 3 2007 10:49 am
Subject: Re: [linbox-use] interfaces/maple subdir in 1.1.4 tarball?

Hi,

The interface/maple directory is indeed missing in linbox-1.1.4, due to a
mistake that I probably did.
You can use the current svn version of the library. To get it, simply type

svn co svn://linalg.org/linalg/trunk/linbox/

However, if you don't need to run the maple interface, just don't specify
the --with-maple argument to the configure script and the library should
compile.
I'll try to fix it asap, although I don't have an easy internet access until
january.

Sorry for the inconvenience.

Clément

2007/11/30, jjm <j...@mcs.st-and.ac.uk>:


    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.
jjm  
View profile
 More options Dec 7 2007, 7:26 am
From: jjm <j...@mcs.st-and.ac.uk>
Date: Fri, 7 Dec 2007 04:26:00 -0800 (PST)
Subject: Re: interfaces/maple subdir in 1.1.4 tarball?

On Dec 3, 3:49 pm, "Clement Pernet" <clement.per...@gmail.com> wrote:

> Hi,

> The interface/maple directory is indeed missing in linbox-1.1.4, due to a
> mistake that I probably did.
> You can use the current svn version of the library. To get it, simply type

> svn co svn://linalg.org/linalg/trunk/linbox/

> However, if you don't need to run the maple interface, just don't specify
> the --with-maple argument to the configure script and the library should
> compile.

Thanks. Indeed I don't need the maple interface. But whether with the
option '--with-maple=no' or with no '--with-maple' option, I still
get

config.status: error: cannot find input file: interfaces/maple/
Makefile.in

(I'm simply running configure with '--with-blas=/usr/lib/libblas.so.
3')

John.


    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.
pas1001  
View profile
 More options Jan 28, 12:42 pm
From: pas1001 <pas1...@gmail.com>
Date: Mon, 28 Jan 2008 09:42:25 -0800 (PST)
Local: Mon, Jan 28 2008 12:42 pm
Subject: Re: interfaces/maple subdir in 1.1.4 tarball?
Clément,

Will you have a chance to fix the broken 1.1.4 tarball some time soon?
Or, even better, is there a 1.1.5 due out?

I've been working on a GAP-LinBox interface package which is ready to
roll out for people to try out, but I don't want to tell the GAP users
about it until LinBox itself is straightforward for a naive user to
build, and with a broken tarball, it isn't!

Cheers

Paul

On Dec 3 2007, 3:49 pm, "Clement Pernet" <clement.per...@gmail.com>
wrote:


    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 Jan 28, 4:36 pm
From: Clement Pernet <clement.per...@gmail.com>
Date: Mon, 28 Jan 2008 13:36:19 -0800
Local: Mon, Jan 28 2008 4:36 pm
Subject: Re: [linbox-use] Re: interfaces/maple subdir in 1.1.4 tarball?
Hello Pascal,

Thanks for the reminder.

It is definitely urgent to release a new tarball without this maple
directory bug.
Although there has been very few changes since 1.1.4, I don't want to
release the uptodate svn rep with the same version number (it also
includes a few bug fixes).

So I propose to release 1.1.5 very shortly (before the end the current
week).

* Does any LinBoxer object to this idea?
* Does any one has some code that *has to be* in 1.1.5, and would be
reasonably easy (ie within a few days) to check in and debug?

For this last point, I have a suggestion:
make currently builds the drivers by default, which takes a while.
Although it is important since it test the compilation of a big range of
the code, I would prefer to have this compilation optional, (eg make
driver).
Would you object to that ?
Pascal (Giorgi), I was unable to find a clean way to add this *driver*
target, can you help me with that?

Cheers
Clément

fixing including the mapleThe few
pas1001 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.
pas1001  
View profile
 More options Jan 29, 5:22 am
From: pas1001 <pas1...@gmail.com>
Date: Tue, 29 Jan 2008 02:22:51 -0800 (PST)
Local: Tues, Jan 29 2008 5:22 am
Subject: Re: interfaces/maple subdir in 1.1.4 tarball?
Clément,

The news that a 1.1.5 is planned for this week is great. There's two
things that would really be very useful to me if you could include.
They are:

(1) Fixing the exception handling - the way it's current written, this
_always_ crashes if you try to catch and display an exception. I
submitted a patch a while back, but it's not been incorporated into
the svn version yet. It's only a small change and since no-one else
(clearly!) catches exceptions, it shouldn't break anything to put it
in. The patch file is copied below, and I would class fixing this as
urgent.

(2) Would anyone complain if building shared libraries was turned on
by default in LinBox? I need the shared LinBox library to interface
with my GAP package, and it would be easier if it was built by default
rather than telling every user to configure LinBox with --enable-
shared.

Cheers

Paul

---------------------------------------------------------------------------
Exceptions patch file - snip between the lines
---------------------------------------------------------------------------
--- linbox/util/error.h 2007-11-09 10:49:37.000000000 +0000
+++ linbox/util/error.h.fixed   2007-11-09 10:49:22.000000000 +0000
@@ -34,9 +34,10 @@
 \ingroup util
 */
 class LinboxError {
+  const static size_t max_error_string = 256;
     public:
        LinboxError (const char* msg = 0)
-               : strg (msg) {};
+               {strncpy(strg, msg, max_error_string); strg[max_error_string-1] =
0;};

        // -- virtual print of the error message
        virtual std::ostream &print (std::ostream &o) const
@@ -49,10 +50,10 @@
        static void throw_error (const LinboxError &err)
                { throw err; }

-       virtual ~LinboxError() { delete strg; }
+       virtual ~LinboxError() {}

     protected:
-       const char* strg;
+       char strg[max_error_string];
 };

 class LinboxMathError : public LinboxError {
---------------------------------------------------------------------------

On Jan 28, 9:36 pm, Clement Pernet <clement.per...@gmail.com> wrote:


    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 1, 4:45 pm
From: Clement Pernet <clement.per...@gmail.com>
Date: Fri, 1 Feb 2008 13:45:20 -0800 (PST)
Local: Fri, Feb 1 2008 4:45 pm
Subject: Re: interfaces/maple subdir in 1.1.4 tarball?
On Jan 29, 2:22 am, pas1001 <pas1...@gmail.com> wrote:

> Clément,

> The news that a 1.1.5 is planned for this week is great. There's two
> things that would really be very useful to me if you could include.
> They are:

> (1) Fixing the exception handling - the way it's current written, this
> _always_ crashes if you try to catch and display an exception. I
> submitted a patch a while back, but it's not been incorporated into
> the svn version yet. It's only a small change and since no-one else
> (clearly!) catches exceptions, it shouldn't break anything to put it
> in. The patch file is copied below, and I would class fixing this as
> urgent.

Ok, I have applied your patch to util/error.h.

> (2) Would anyone complain if building shared libraries was turned on
> by default in LinBox? I need the shared LinBox library to interface
> with my GAP package, and it would be easier if it was built by default
> rather than telling every user to configure LinBox with --enable-
> shared.

I wouldn't.
LinBoxers, do you have any objections to compile the shared libs by
default?
Of course, if anyone still wants to disable it, he can use the --
disable-shared option.

A thought about releasing 1.1.5: I will be at Sage Days 7 next week,
and it is very likely that I will have to fix bugs in linbox during
the coding sprints.
It would make more sense to release 1.1.5 right after SD7 then. Paul,
I hope you can wait one more  week ! I can still provide you with a
release candidate 1.1.5rc1, if you need.

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.
David Saunders  
View profile
 More options Feb 5, 4:22 pm
From: David Saunders <saund...@udel.edu>
Date: Tue, 05 Feb 2008 16:22:19 -0500
Local: Tues, Feb 5 2008 4:22 pm
Subject: Re: [linbox-use] Re: interfaces/maple subdir in 1.1.4 tarball?

I am in support of shared libraries.  That said, what exactly are we
proposing to compile and put in the libs?  The question is only
meaningful vis a vis support for interfaces, stuff in the driver, or so,
right?  The only other non-template code is a few odd bits in the util
directory (and that is not, by itself, worth the trouble to create libs,
dynamic or static - hence the widespread use of LinBoxSrcOnly flag.)
Still, I think more compiling is in our future and we should consider,
for instance, compiling the solutions functions for, say, integer dense
and sparse matrices.  But if we do that we also compile the chosen dense
(BlasBlackbox) and sparse (?) classes against the integers.  Anything else?

I have a student here working on a web service.  For that we are
creating a suite of "pipe" functions.  They take two arguments, an input
stream and an output stream.  They read a matrix off the input stream
(in some supported serialized format) and write the solution (eg. det)
to the ostream.  I suppose providing these in the dynamic lib could
become worthwhile.

> A thought about releasing 1.1.5: I will be at Sage Days 7 next week,
> and it is very likely that I will have to fix bugs in linbox during
> the coding sprints.
> It would make more sense to release 1.1.5 right after SD7 then. Paul,
> I hope you can wait one more  week ! I can still provide you with a
> release candidate 1.1.5rc1, if you need.

I would like to make some fixes to the matrix stream reader and the
smith form.  I think I can get that done this week.  Please check with
me before building 1.1.5.

Cheers, -dave


    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 22, 10:18 pm
From: Clement Pernet <clement.per...@gmail.com>
Date: Fri, 22 Feb 2008 19:18:31 -0800 (PST)
Local: Fri, Feb 22 2008 10:18 pm
Subject: Re: interfaces/maple subdir in 1.1.4 tarball?
I bring this discussion up, to announce that a release candidate for
LinBox 1.1.5 is already available as a "developer release"

http://linalg.org/download.html

I am still waiting to work more on making it work in Sage, so that we
could benefit from an extensive compilation check.

Clement


    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