Macaulay2 » Documentation
Packages » PALPInterface :: palpProgram
next | previous | forward | backward | up | index | toc

palpProgram -- locate one of the PALP executables

Description

The build selected by palpDmax is preferred, falling back on the default one if it is not installed. The result is remembered, so the search happens once per program and per value of palpDmax.

i1 : P = palpProgram "poly"

o1 = poly-11d.x

o1 : Program
i2 : P#"name"

o2 = poly-11d.x

An error is raised, naming where to get PALP, if the program cannot be found at all. Nothing is looked up when this package is loaded, so the package is usable without PALP right up to the point where a computation needs it.

See also

Ways to use palpProgram:

  • palpProgram(String)

For the programmer

The object palpProgram is a method function.


The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/PALPInterface.m2:1362:0.