polymake / polybundle

polymake bundle for Mac OS -- Makefile and scripts
GNU General Public License v3.0
1 stars 0 forks source link

Singular #6

Closed apaffenholz closed 8 years ago

apaffenholz commented 10 years ago

by including a compiled version of libsingular we have also included a working version of Singular. It only needs a wrapper script similar to polymake.start to set the appropriate paths.

Should we include such a script? Should we advertise this? It would still only work from the command line as Mac OS only starts scripts with the same name as the app automatically.

(the same applies to 4ti2)

solros commented 10 years ago

Sounds like a good idea. I tried to produce such a script. It starts but I don't know which paths it needs.

apaffenholz commented 10 years ago

Singular starts if you replace $ResourcesDir/polymake/bin/polymake by $ResourcesDir/bin/Singular, at least on my computer

But this script does too much, we don't need a POLYMAKE_USER_DIR, and we don't have to check for the perl version

solros commented 10 years ago

Sorry, I did not make this clear. That's what I did. I pushed it to a new branch.

I just don't know whether it suffices to know that Singular starts.

apaffenholz commented 10 years ago

Hmmm, it should.

We should test this with same fancy computations though. Either we copy some examples from the Singular book, or we ask someone who knows the syntax to do some complicated things that take Singular to some limit. Maybe we can find someone at the Discrete Math conference in May in Frankfurt.

A thing that won't work although one might be tempted to assume this, is the Singular-polymake interface. I think this requires that polymake is installed prior to Singular to set appropriate paths.

apaffenholz commented 8 years ago

seems to work now, but the Singular people have by now their own packages, so maybe there is no need anymore for this.