Read-only forum archive

Installation on Mac Os X

Installation on Mac Os X

Sotto · Tue Dec 05, 2006 6:37 pm

Hi,

I'm new with Singular and I have problems with installation. I installed singular with FinkCommander but it seems that it does not work. For instance I have this output:

gap> LoadPackage("singular");
The GAP interface to Singular, by Marco Costantini and Willem de Graaf
true
gap> ring r = 0, (x,y,z), dp;
Variable: 'ring' must have a value

Syntax error: ; expected
ring r = 0, (x,y,z), dp;
^

Thanks, Nicola

Installation on Mac Os X

bricken · Wed Dec 06, 2006 3:03 pm

Hi!
The gap-Interface does not allow you to type in Singular code directly into gap, but provides you a few easy to use functions, which provide the interface between gap and Singular automatically.
For example:

gap> LoadPackage("singular");
The GAP interface to Singular, by Marco Costantini and Willem de Graaf
true


gap> StartSingular();
gap> R1:= PolynomialRing( Rationals, ["x","y","z"] : old );;

http://www-gap.mcs.st-and.ac.uk/Manuals ... chap1.html

If you prefer our compact syntax for commutative algebra, then there is still the possibility to use Singular directly.
Best regards,
Michael Brickenstein