ApCoCoA

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: apcocoalib does not compile!
PostPosted: Tue Apr 08, 2008 7:20 pm 
Offline
User avatar

Joined: Wed Sep 29, 2004 7:12 pm
Posts: 385
Location: Berlin
hi there,

our current tip in the repo does not compile due to the latest patch (Error code compatibility with CoCoALib 0.9915).

could somebody please update the cocoalib in the repo, such that the combination there compiles?

thanks & regards,

daniel


Report this post
Top
 Profile  
 
 Post subject: Re: apcocoalib does not compile!
PostPosted: Tue Apr 08, 2008 7:26 pm 
Offline
User avatar

Joined: Thu Oct 27, 2005 6:43 pm
Posts: 285
Location: University of Passau / TU Dortmund
Karsten and I wanted to clean up the repositories anyway because we already had sorted out which stable releases of CoCoALib we need for our stable/devel branches last week (0.99.14 for stable, 0.99.15 for devel if I remember it right). I thought that Karsten already had started the cleanup today but I can go on his nerves about this again tomorrow ;-)

Regards,
Stefan


Report this post
Top
 Profile  
 
 Post subject: Re: apcocoalib does not compile!
PostPosted: Tue Apr 08, 2008 7:45 pm 
Offline
User avatar

Joined: Wed Sep 29, 2004 7:12 pm
Posts: 385
Location: Berlin
that's nice, but since i do not have 0.99.15 i can't compile the devel-tree.... :evil:
so... i assume i should work for today ;)

regards,

daniel


Report this post
Top
 Profile  
 
 Post subject: Re: apcocoalib does not compile!
PostPosted: Tue Apr 08, 2008 7:56 pm 
Offline
User avatar

Joined: Thu Oct 27, 2005 6:43 pm
Posts: 285
Location: University of Passau / TU Dortmund
You can download it here: Downloads and changelog

Regards,
Stefan


Report this post
Top
 Profile  
 
 Post subject: Re: apcocoalib does not compile!
PostPosted: Thu Apr 10, 2008 4:59 pm 
Offline

Joined: Wed Sep 29, 2004 6:36 pm
Posts: 457
dheldt wrote:
hi there,

our current tip in the repo does not compile due to the latest patch (Error code compatibility with CoCoALib 0.9915).

You could even say it more drastically: None of our repositories / downloadable sources compile right out of the box.

ApCoCoALib-0.99.05:
Code:
make[4]: Entering directory `/home/karsten/CompileTest/ApCoCoALib-0.99/src/algebraic'
Compiling RegisterServerOpsDoAlg.o
In file included from ../../include/CoCoADortmund/library.H:8,
                 from RegisterServerOpsDoAlg.C:19:
../../include/CoCoADortmund/NumBLASLapack.H:37:35: error: Accelerate/Accelerate.h: No such file or directory
make[4]: *** [RegisterServerOpsDoAlg.o] Error 1

ApCoCoALib-0.99.07:
Code:
make[4]: Entering directory `/home/karsten/CompileTest2/ApCoCoALib-0.99/src/server'
g++: /home/karsten/numerical-linux-x86//lapack-3.1.0-linux-x86//lapack_LINUX.a: No such file or directory
g++: /home/karsten/numerical-linux-x86//clapack-3.0.0-linux-x86//libI77.a: No such file or directory
g++: /home/karsten/numerical-linux-x86//clapack-3.0.0-linux-x86//libF77.a: No such file or directory
g++: /home/karsten/numerical-linux-x86//Linux_PIIISSE1/lib//libf77blas.a: No such file or directory
g++: /home/karsten/numerical-linux-x86//Linux_PIIISSE1/lib//libatlas.a: No such file or directory
make[4]: *** [CoCoAServer] Error 1

Both of these are because of default compiler flags which assume/require things like the Accelerate framework and numerical libraries which have to get disabled explicitly. As Stefan already wrote, we already looked which CoCoALib version one needs for the code in the repositories. A ./configure there fails by default, too, unless you edit the configure script beforehand, just like a simple make fails above unless you edit the autoconf.mk prior to compilation.

We could either delete those old snapshots from our download page, or otherwise I'd strongly advise to change them so that they compile through without fiddling around at all (who wants/needs to do that is free to do it). In that case there will be download links for the appropriate CoCoALib version accompanying them, too.

Concerning the repositories:
Since the only old downloads that we offer are ApCoCoALib 0.99.05 (compiles against the CoCoALib with the same version, if one fixes the errors above) and ApCoCoALib 0.99.07 (same) I don't really see the need to keep a CoCoALib-0.99.06 repo. The CoCoALib 0.99.12 doesn't compile against any of our ApCoCoALibs as we found out, but maybe we should keep it for diffs against the MSVC version. Our ApCoCoALib 1.00.01 compiles against the CoCoALib 0.99.14, so I'd add download links that one, and I'm preparing a mercurial repository from the CoCoALib CVS which corresponds to the CoCoALib 0.9915 release, because our devel tree compiles against that one.


Report this post
Top
 Profile  
 
 Post subject: Re: apcocoalib does not compile!
PostPosted: Thu Apr 17, 2008 4:19 pm 
Offline
User avatar

Joined: Thu Oct 27, 2005 6:43 pm
Posts: 285
Location: University of Passau / TU Dortmund
In my opinion we should backup the old stuff and then delete it from our repositories. Providing download links to the appropriate CoCoALib versions would be enough for me.

Regards,
Stefan


Report this post
Top
 Profile  
 
 Post subject: Re: apcocoalib does not compile!
PostPosted: Fri Apr 18, 2008 4:06 pm 
Offline

Joined: Wed Sep 29, 2004 6:36 pm
Posts: 457
I've added a link to the compilation instructions and added links to the required CoCoALibs which I have archived on our server. After updating the Mercurial version to 1.0 (which was of course non-trivial to do) which includes a "convert" extension now, I could convert the CVS checkouts of the CoCoALib to Mercurial again, but I don't see the benefit of it - offering downloads of the corresponding release versions should be good enough.

Cheers,
Karsten


Report this post
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
[ Time : 0.139s | 10 Queries | GZIP : Off ]