next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Normaliz :: setNmzOption

setNmzOption -- sets a command line option for Normaliz

Synopsis

Description

The Normaliz options are accessible via the following names:

Computation mode:

  • -s: supp, only the support hyperplanes are computed.
  • -v: triang, computes the support hyperplanes, the triangulation and the multiplicity.
  • -p: hvect, computes the support hyperplanes, the triangulation, the multiplicity, the h-vector and the Hilbert polynomial.
  • -n: normal, computes the support hyperplanes, the triangulation, the multiplicity and the Hilbert basis.
  • -h: hilb, computes the support hyperplanes, the triangulation, the multiplicity, the Hilbert basis, the h-vector and the Hilbert polynomial .
  • -d: dual, computes the Hilbert basis using Pottier's algorithm, cf. L. Pottier, The Euclide algorithm in dimension n. Research report, ISSAC 96, ACM Press 1996. It is available only in type 4 and 5.
Further options:
  • -c: control, gives you some access to 'control' data during the computation. When switched on, data will be printed on the screen.
  • -a: allf, all files are written
  • -e: errorcheck, when switched on the arithmetic tests will be performed, in order to assure that no arithmetic errors do occur. This may slow down the computations. For normbig(see nmzVersion), this option is set to false, since in this case no arithmetic errors can occur.
  • -x=<N>: threads, there <N> stands for a positive integer limiting the number of threads that Normaliz can access on your system. The default value is <N>=∞. If you want to run Normaliz in a strictly serial mode, choose <N>=1. If this option is enabled,<N> is taken as the value stored in the global variable nmzNumberThreads.

Note that it makes no sense to activate more than one of the computation mode options. The -f option, which makes the .gen, .inv, .typ, .cst files to be printed, is always set. The default value of all options is false.

To check which options are set use showNmzOptions.

i1 : setNmzOption("triang",true);
i2 : showNmzOptions()
The following options are set:
 -f -v 

See also

Ways to use setNmzOption :