Read-only forum archive

Trying to run Singular.

Trying to run Singular.

RogerWILLH · Sun Mar 01, 2020 4:56 pm

I have just tried to instal Singular and run it. I had Cwgwin installed but I do not know how I originally installed it. I had the following input and output from what I assume is my effective Cwgwin terminal

==========================================
Roger@rogersw8 ~
$ cd /

Roger@rogersw8 /
$ tar Jxf singular-4.1.2-1.tar.xz

Roger@rogersw8 /
$ Singular
? invalid second argument
? load("libname" [,"with"]);
? error occurred in or before standard.lib::mod_init line 2461: ` load("si ngmathic.so","try");`
? leaving standard.lib::mod_init
SINGULAR /
A Computer Algebra System for Polynomial Computations / version 3-1-6
0<
by: W. Decker, G.-M. Greuel, G. Pfister, H. Schoenemann \ Dec 2012
FB Mathematik der Universitaet, D-67653 Kaiserslautern \
.

==================================
Any suggestions?

Re: Trying to run Singular.

hannes · Tue Mar 03, 2020 2:36 pm

THe output shows that your are running Singular-3-1-6 (from the header)
with the libraries of Singular-4-1-2 (from the name of the tar file).
This results in an error because in Singular-4-1-2 the command LIB can take 2 arguments (in Singular-3-1-6 only one).

Possible reasons are:
- the executable Singular.exe from Singular-3-1-6 appears before that of
4-1-2 in your path (try "which Singular" and check the date,
Singular.exe from 4-1-2 is from 2019-05-31 14:22)
- you have cygwin for 64bit, but Singular-4-1-2 is for 32bit
(try "file /bin/ls.exe" or check its properties)
- Singular.exe from 3-1-6 was not overwritten by the tar command: maybe it is write-protected

Re: Trying to run Singular.

RogerWILLH · Sun Mar 08, 2020 6:09 pm

I installed 32bit Cygwin, using the "over the internet" option.

I chose to install 'Singular' related packages from the list that was presented, and 'VIOLA', I obtained the following.

============================================
Copying skeleton files.
These files are for the users to personalise their cygwin experience.

They will never be overwritten nor automatically updated.

'./.bashrc' -> '/home/Roger//.bashrc'
'./.bash_profile' -> '/home/Roger//.bash_profile'
'./.inputrc' -> '/home/Roger//.inputrc'
'./.profile' -> '/home/Roger//.profile'

Roger@rogersw8 ~
$ Singular
SINGULAR / Development
A Computer Algebra System for Polynomial Computations / version 4.0.2
0<
by: W. Decker, G.-M. Greuel, G. Pfister, H. Schoenemann \ Feb 2015
FB Mathematik der Universitaet, D-67653 Kaiserslautern \
> 37+5;
42
>
==============================================

Thank you for the "32bit" comment.