Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've installed the package Singular.m by Kauers and Levandovskyy from 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
up vote 8 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


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.