next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
CharacteristicClasses :: configuring Bertini

configuring Bertini

Using the numeric version of any command in the package CharacteristicClasses needs version 1.3 or higher of Bertini to be installed. Download and installation of Bertini are explained at the Bertini homepage.

If Bertini cannot be called from the root Path (e.g. / on Unix-based system), you have to tell the package how to find Bertini. When the package is installed, a file called init-CharacteristicClasses.m2 is created automatically. Under Linux, the file is sought in the directory HOME/.Macaulay2/, where HOME is replaced by the path to the user’s home directory. Under Mac OS X, the file is sought instead in the directory HOME/Library/Application Support/Macaulay2/. Windows users will have installed both Macaulay2 and Bertini under cygwin, so the file will be sought in the directory HOME/.Macaulay2/, where HOME is replaced by the path to the user’s home directory in the cygwin directory.

In the file init-CharacteristicClasses.m2, replace "" in the line "pathToBertini" => "" by the path to Bertini in quotation marks, e.g. "pathToBertini" => "/usr/local/BertiniLinux64_v1.3.1/". The / at the end is important. Windows users should use the path relative to the cygwin directory, e.g. "/usr/local/BertiniWindows32_v1.3.1/" if Bertini is installed under pathToTheCygwinDirectory\cygwin\usr\local\BertiniWindows32_v1.3.1 .