Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I've installed the package Singular.m by Kauers and Levandovskyy from http://www.risc.uni-linz.ac.at/research/combinat/software/Singular/ as well as the Singular CAS itself. How, exactly does one get the package to communicate with the Singular system -- specifically to get results back from Singular to Mathematica?

In a terminal, I just type singular and that starts the system. So at the end of the package .m file I modified the final line so it now reads SingularCommand = "singular". Now after I load the package and evaluate one of the interface functions, such as one in the demo.nb notebook, I get an error: Singular::error : Unable to read Singular's output.

share|improve this question

1 Answer 1

up vote 7 down vote accepted

I found the same issue and resolved it by changing the name of SingularCommand from just Singular to it's full path at line 245 of the Singular.m package. On my Mac, this was /usr/local/bin/Singular but your system may be different.

share|improve this answer
    
That did it! Thanks, @Mark McClure –  murray Mar 2 '12 at 1:36

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.