⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 install

📁 生成直角Steiner树的程序包
💻
字号:
Basic Installation==================   GeoSteiner comes with a "GNU style" configure script.  For those ofyou who are especially impatient, type the following:$ ./configure$ make   The `configure' shell script attempts to guess correct values forvarious system-dependent variables used during compilation.  It usesthose values to create a `Makefile' in each directory of the package.It also creates a `config.h' file containing system-dependentdefinitions.  Finally, it creates a shell script `config.status' thatyou can run in the future to recreate the current configuration, a file`config.cache' that saves the results of its tests to speed upreconfiguring, and a file `config.log' containing compiler output(useful mainly for debugging `configure').   If you need to do unusual things to compile GeoSteiner, please tryto figure out how `configure' could check whether and how to do them,and mail diffs or instructions to the address given in the `README' sothey can be considered for our next release.  If at some point`config.cache' contains results you don't want to keep, you may removeor edit it.   The file `configure.in' is used to create `configure' by a programcalled `autoconf'.  You only need `configure.in' if you want to changeit or regenerate `configure' using a newer version of GNU `autoconf'.NOTE: you do NOT need the GNU `autoconf' program unless you plan tochange the `configure.in' file!!!The simplest way to compile this package is:  1. `cd' to the directory containing the package's source code and type     `./configure' to configure the package for your system.  If you're     using `csh' on an old version of System V, you might need to type     `sh ./configure' instead to prevent `csh' from trying to execute     `configure' itself.     Running `configure' takes awhile.  While running, it prints some     messages telling which features it is checking for.  2. Type `make' to compile GeoSteiner.  3. GeoSteiner will execute properly right in the build directory.     However, if you want to install GeoSteiner in a more permanent     place (/usr/local, or whichever --prefix option you gave to     `configure'), then type `make install' to install the programs and     data files.  Of course, you need to have write permission on these     directories or this will not work.  4. You can remove the program binaries and object files from the     source code directory by typing `make clean'.  To also remove the     files that `configure' created (so you can compile the package for     a different kind of computer), type `make distclean'.Compilers and Options=====================   Hopefully you have the GNU C compiler (gcc).  This is what we use,and our code compiles cleanly with gcc.   Some systems require unusual options for compilation or linking thatthe `configure' script does not know about.  You can give `configure'initial values for variables by setting them in the environment.  Usinga Bourne-compatible shell, you can do that on the command line likethis:     CC=c89 CFLAGS=-O2 LIBS=-lposix ./configureOr on systems that have the `env' program, you can do it like this:     env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configureLinear Programs (LPs) and LP Solvers====================================   GeoSteiner makes heavy use of linear programming, and must include anLP solver as part of the build process.  GeoSteiner 3.1 supports twochoices:	- CPLEX		versions 3, 4, 5, 6 and 7	- lp_solve	version 2.3   CPLEX is a proprietary product of the CPLEX division of Ilog Inc.,and has a very high pricetag.  It is arguably the fastest and mostrobust LP solver on the planet.  We recommend that you use CPLEX if atall possible.   For those who do not have CPLEX, we include a version of lp_solve --a public-domain package created by Michel Berkelaar and Jeroen Dirks.The version included here is based on lp_solve version 2.3, but isSIGNIFICANTLY MODIFIED from the original!  The filelp_solve_2.3/README.custom describes the modifications we have made.The original distribution of lp_solve is available on the net at:	ftp://ftp.es.ele.tue.nl/pub/lp_solve   Note that lp_solve seems designed to be simple -- at the expense ofrobustness.  We have found that it works fine on most problems up to 300or 400 points.  Beyond that, all bets are off.  Although we haveattempted to remedy some of lp_solve's deficiencies, we make nowarranties or representations as to its performance -- at doing anything-- especially solving LP's -- PERIOD!   Normally, the `configure' script detects the presence of CPLEXautomatically.  GeoSteiner actually needs two CPLEX files in order tobuild: a header file and a library.  These files are named as follows:	CPLEX versions		header		library	--------------		------		-------	3.x			cpxdefs.inc	cplex.a	4.0 thru 7.x		cplex.h		libcplex.aOf course, `configure' will try to find `cplex.h` and `libcplex.a'before it resorts to looking for `cpxdefs.inc' and `cplex.a'.   On many sites, these files actually reside in places we would neverthink of looking for them.  For example, the CPLEX 4.0 distribution tapejust plopped everything into one directory.  Most sysadmins just made aweird directory somewhere, extracted the distribution tape into it andthen set the licensing info.  CPLEX users would then simply add thisweird directory to their PATH variable, and they were off and running.   The `configure' script tries to detect this case by looking for the"cplex" command on your PATH variable.  If the cplex command is found inone of these directories, then this is the first place `configure' willlook for the CPLEX header and library files.  The remaining places`configure' will look for the header and library files are:	Header			Library	------			-------	/usr/include		/usr/lib	/usr/local/include	/usr/ccs/lib				/usr/local/lib   Note that if the files are found in these other places, then there isno need to have the cplex command be in your PATH variable.  There may,however, be other environment variable settings needed for licensingpurposes.  Consult your sysadmin if you encounter CPLEX licensingproblems.   If CPLEX is not found (or is unusable for some reason), lp_solve willbe configured instead.  If one or more pieces of CPLEX were found, butnot all of them, then a warning is issued and lp_solve is configuredinstead.   If for some reason the `configure' script does not find your CPLEXfiles, there is a method for manually providing the pathnames to the`configure' script -- via the CPLEX_HEADER and CPLEX_LIB environmentvariables.  Here is an example of how to run `configure' with manuallychosen pathnames:     CPLEX_HEADER=/foo/cplex.h CPLEX_LIB=/bar/libcplex.a ./configure ...where ... represents all of the other arguments you would normally giveto `configure'.   If you have CPLEX, but want to use lp_solve for some reason, just addthe `--with-cplex=no' option (or `--without-cplex') to the `configure'command:     ./configure --with-cplex=noGNU Multi-Precision arithmetic library (GMP)============================================   In order to improve the numerical precision (and robustness) of theEuclidean FST generator, the GNU Multi-Precision arithmetic library(GMP) can OPTIONALLY be used.  GMP can be downloaded from	http://www.gnu.org/software/and, if requested, has to be installed prior to building GeoSteiner.   Assuming that GMP is available on your system, you need to inform'configure' where the header and library files are located, since nosearch is made for these files by default.  Here is an example:	GMP_HEADER=/foo/gmp.h GMP_LIB=/foo/libgmp.a ./configure ...  If the header and library files can be found, 'configure' creates a'Makefile' that links GMP with the Euclidean FST generator.  Note thatyou need to use the "-m M" option in order to make 'efst' use GMP (seethe README file for further instructions).Compiling For Multiple Architectures====================================   You can compile the package for more than one kind of computer at thesame time, by placing the object files for each architecture in theirown directory.  To do this, you must use a version of `make' thatsupports the `VPATH' variable, such as GNU `make'.  `cd' to thedirectory where you want the object files and executables to go and runthe `configure' script.  `configure' automatically checks for thesource code in the directory that `configure' is in and in `..'.   If you have to use a `make' that does not supports the `VPATH'variable, you have to compile the package for one architecture at a timein the source code directory.  After you have installed the package forone architecture, use `make distclean' before reconfiguring for anotherarchitecture.Installation Names==================   By default, `make install' will install the package's files in`/usr/local/bin', `/usr/local/man', etc.  You can specify aninstallation prefix other than `/usr/local' by giving `configure' theoption `--prefix=PATH'.   You can specify separate installation prefixes forarchitecture-specific files and architecture-independent files.  If yougive `configure' the option `--exec-prefix=PATH', the package will usePATH as the prefix for installing programs and libraries.Documentation and other data files will still use the regular prefix.   In addition, if you use an unusual directory layout you can giveoptions like `--bindir=PATH' to specify different values for particularkinds of files.  Run `configure --help' for a list of the directoriesyou can set and what kinds of files go in them.   If the package supports it, you can cause programs to be installedwith an extra prefix or suffix on their names by giving `configure' theoption `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.Optional Features=================   GeoSteiner supports the following special options to `configure':	--with-cplex		use CPLEX if available, (the default)	--with-cplex=no		do NOT use CPLEX	--without-cplex		do NOT use CPLEX	--with-machine='CHARACTER STRING'   The --with-machine=STRING option specifies a string that is placed inFST data files, and is intended to describe the properties of themachine that computed the FSTs.  Normally, this information is obtainedautomatically from the uname(1) command.  However, if this facility isunavailable, the string "Unknown" will be used instead.  The`--with-machine=STRING' option overrides all of these methods, using thegiven STRING instead.  Examples of such strings you might consider usingare:	'Sparc 20'	'400 MHz Pentium II'	'HP 9000/735'Sharing Defaults================   If you want to set default values for `configure' scripts to share,you can create a site shell script called `config.site' that givesdefault values for variables like `CC', `cache_file', and `prefix'.`configure' looks for `PREFIX/share/config.site' if it exists, then`PREFIX/etc/config.site' if it exists.  Or, you can set the`CONFIG_SITE' environment variable to the location of the site script.A warning: not all `configure' scripts look for a site script.Operation Controls==================   `configure' recognizes the following options to control how itoperates.`--cache-file=FILE'     Use and save the results of the tests in FILE instead of     `./config.cache'.  Set FILE to `/dev/null' to disable caching, for     debugging `configure'.`--help'     Print a summary of the options to `configure', and exit.`--quiet'`--silent'`-q'     Do not print messages saying which checks are being made.`--srcdir=DIR'     Look for the package's source code in directory DIR.  Usually     `configure' can determine that directory automatically.`--version'     Print the version of Autoconf used to generate the `configure'     script, and exit.`--with-cplex=no'`--without-cplex'     Use lp_solve, even if CPLEX is available.  Mostly for those of us     that need to maintain both versions.`--with-machine=STRING'     Specifies the machine description string to place into FST data     files.`configure' also accepts some other, not widely useful, options.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -