Problem compiling/using linbox

106 views
Skip to first unread message

Jernej Azarija

unread,
May 22, 2016, 2:45:02 PM5/22/16
to linbox-use
Hello.

My aim is to be able to use linbox and as a first step I would like to be able to build the programs in the linbox folder. To do so I first tried to use the current library given by the github master. Running ./auto-install.sh it finishes as follows

============================================================
checking for FFLAS-FFPACK >= 20200 and < 20300... not found: bad version 

*******************************************************************************
 ERROR: Fflas-Ffpack not found!

 Fflas-Ffpack routines are required for this library to compile. Please
 make sure they are installed and specify its location with the option
 --with-fflas-ffpack=<lib> when running configure.
 Also make sure your compiler supports cxx-11...
*******************************************************************************
 * building LinBox...
make  CXXFLAGS+="" LDFLAGS+="-Wl,-rpath,/usr/local"
make: *** No targets specified and no makefile found.  Stop.
 * installing LinBox...
make: *** No rule to make target `install'.  Stop.
 done !
 
 * Don't forget to run something like
 *   'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib'
 * to ensure you don't get undefined symbols !

 * Happy LinBoxing ! (installed in /usr/local)
 
 done !
============================================================

Which makes me feel that the library wasn't actually installed due to Fflas-Ffpack. I guess I could install the correct package manually but it seems to me that something is wrong with the script since it doesn't notice that.

Finally, I've tried using the latest available version on the linbox website (http://www.linalg.org/linbox-1.3.2.tar.gz) and while auto-install.sh seems to succeed there are no binaries under examples, and issuing make does not do much. Hence I am wondering:

What should I do in order to be able to compile and test the programs in the example folder?

Best,

Jernej

B Saunders

unread,
May 22, 2016, 3:21:56 PM5/22/16
to linbo...@googlegroups.com
auto-install.sh may not be up to date for installing the bleeding edge.

For the examples there is the target 'examples'.  You can use 'make examples'.

Best, -bds

--
You received this message because you are subscribed to the Google Groups "linbox-use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linbox-use+...@googlegroups.com.
To post to this group, send email to linbo...@googlegroups.com.
Visit this group at https://groups.google.com/group/linbox-use.
For more options, visit https://groups.google.com/d/optout.

Rutger Boels

unread,
Jul 21, 2016, 7:52:26 AM7/21/16
to linbox-use
Can I second Jernej's bug / question for the latest suite of libraries (linbox 1.4.0 and friends)?

I've hacked a way around his auto-install problem, but now not all examples work, and of course especially not the examples I'm interested in which use open MPI. I'm happy to help test anything you might throw at this!

Also, the website seems horribly outdated... I had trouble to understand this is still an active project!


Rutger Boels

Clement Pernet

unread,
Jul 27, 2016, 11:07:24 AM7/27/16
to linbo...@googlegroups.com
Hi Jernej and Rutger,

Sorry for my late reply.

Concerning the auto-installer: it should be working now (after a minor fix, I just commited).
Note that if you call it wihtout argument, then fflas-ffpack will search for a blas in the std
library paths.
I strongly recommend that you install your own BLAS and then pass the proper linking flags to
auto-install.sh via the --with-blas-libs argument:

For example, if you installed openblas in /tmp then
./auto-install.sh --with-blas-libs="-L/tmp -lopenblas"

should work.

Please look at https://github.com/linbox-team/fflas-ffpack/blob/master/README.md for further
explanations on the blas parameter.

We are about to release linbox, givaro and fflas-ffpack this week. So you should soon be able to
download and compile the latest stable version.

Concerning the linbox website: sorry it is indeed outdated. We'll try to move it to a github hosted
website in a near future.
Most recent activities have happened on http://github.com/linbox-team/linbox but more particularly
on the fflas-ffpack and givaro dependencies:
http://github.com/linbox-team/givaro
http://github.com/linbox-team/fflas-ffpack

Lastly, as for the MPI example, I it is unfortunately too early to count on LinBox running MPI code:
the use of MPI in LinBox is still only very prototypical.
At least the build system does not automatically sets up the compilation flags to support compiling
with mpi when available.
Dave, would you comment on how to use the few pieces of MPI code ? I think Brian wrote them while
under your supervision.

Best regards.
Clément
> (http://www.linalg.org/linbox-1.3.2.tar.gz <http://www.linalg.org/linbox-1.3.2.tar.gz>) and
> while auto-install.sh seems to succeed there are no binaries under examples, and issuing
> make does not do much. Hence I am wondering:
>
> What should I do in order to be able to compile and test the programs in the example folder?
>
> Best,
>
> Jernej
>
> --
> You received this message because you are subscribed to the Google Groups "linbox-use" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
> linbox-use+...@googlegroups.com.
> To post to this group, send email to linbo...@googlegroups.com.
> Visit this group at https://groups.google.com/group/linbox-use
> <https://groups.google.com/group/linbox-use>.
> For more options, visit https://groups.google.com/d/optout <https://groups.google.com/d/optout>.
>
>
> --
> You received this message because you are subscribed to the Google Groups "linbox-use" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
> linbox-use+...@googlegroups.com <mailto:linbox-use+...@googlegroups.com>.
> To post to this group, send email to linbo...@googlegroups.com <mailto:linbo...@googlegroups.com>.

Rutger Boels

unread,
Jul 29, 2016, 10:12:57 AM7/29/16
to linbo...@googlegroups.com
hi Clement,

thanks for your replies! when I get back from holiday I'll take a look.

btw, is there a target to cite for linbox? I couldn't really find one... I've used it for some computations for arXiv:1607.08246 and I'm exploring some more things.  Before submitting to the journal it would be nice to add a proper citation.

best,


Rutger


--
You received this message because you are subscribed to a topic in the Google Groups "linbox-use" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/linbox-use/87GX3NR-OtI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to linbox-use+...@googlegroups.com.

To post to this group, send email to linbo...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages