Read-only forum archive

surfex_lib

surfex_lib

martiojd · Fri Feb 15, 2019 10:49 am

Dear Singular users/developers,

I am trying to use the "surfex" package in Singular in order to draw pictures of singular algebraic surfaces, but cannot get it to work on my computer (neither in Sage, nor in standalone Singular).

I followed quite closely the examples given in the documentation for "plotRotated", and I get error messages, like this:
? `num_of_vars` is not defined
? error occurred in or before surfex.lib::surfEqn line 960: ` intvec ind=num_of_vars(p);`
? expected intvec-expression. type 'help intvec;'
? leaving surfex.lib::surfEqn
skipping text from `,` error at token `)`
? leaving surfex.lib::plotRotatedList
? leaving surfex.lib::plotRotated

Does anybody here know if this is known bug, if the package is just too old to hope to make it work?
Do you know a workaround for this?

Any info would be greatly appreciated.

Best,
Martin.

Re: surfex_lib

hannes · Mon Feb 18, 2019 2:35 pm

You need java and surf in your path.
Furthermore, get
https://github.com/Singular/Sources/blo ... lar/surfex ,
make it executable aand pout it in your path.
Locate surfex.lib and substitute it by the new version from
https://github.com/Singular/Sources/blo ... surfex.lib