Post a reply
Username:
Note:If not registered, provide any username. For more comfort, register here.
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
Font size:
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation of post
To prevent automated posts the board requires you to enter a confirmation code. The code is displayed in the image you should see below. If you are visually impaired or cannot otherwise read this code please contact the %sBoard Administrator%s.
Confirmation code:
Enter the code exactly as it appears. All letters are case insensitive, there is no zero.
   

Topic review - Compiling/building Singular on OSX
Author Message
  Post subject:  Re: Compiling/building Singular on OSX  Reply with quote
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
Post Posted: Tue Apr 02, 2013 5:29 pm
  Post subject:  Compiling/building Singular on OSX  Reply with quote
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 !
Post Posted: Tue Apr 02, 2013 12:28 am


It is currently Fri May 13, 2022 11:04 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group