Singular https://www.singular.uni-kl.de/forum/ |
|
Compiling/building Singular on OSX https://www.singular.uni-kl.de/forum/viewtopic.php?f=10&t=2248 |
Page 1 of 1 |
Author: | mars [ Tue Apr 02, 2013 12:28 am ] |
Post subject: | Compiling/building Singular on OSX |
Hi all, I'm running Singular 3-1-6 on OSX 10.8.2 with the OSX tarballs available on the site, and all is well. I'm also trying to implement some custom functions, and that's where the problems arise. I have, for example, a proc to do a Cholesky factorization on a square matrix of variable size, and having that code on a LIB is proving to be insufficient in terms of speed. The Cholesky factorization is O(n^3/3), while LU decomposition is O(2n^3/3), twice the cost of Cholesky, but LU decomp is builtin Singular and is much faster than my Cholesky proc. So my next step is coding my procs in C++ (like the LU decomp code in the LinearAlgebra.c file) and then compiling it into Singular and use it like that, where I expect a major gain in performance. The problem is there isn't a guide to compile Singular on OSX from the source. I've tried but I get errors in ./configure, like: Code: ./configure: line 2194: ,: command not found configure: error: can not find gmp So, what I need is to know the exact procedure used to compile the OSX versions of Singular, from (I assume) the github downloadable source. Thanks ! |
Author: | gorzel [ Tue Apr 02, 2013 5:29 pm ] |
Post subject: | Re: Compiling/building Singular on OSX |
The message says that the gmp package (Gnu Multiple Precision Arithmetic Library) http://gmplib.org/ is not yet installed on your system. Check also this README for the tools required to compile Singular: http://www.mathematik.uni-kl.de/ftp/pub ... CES/README |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |