27.06.2013 Views

Evolution and Optimum Seeking

Evolution and Optimum Seeking

Evolution and Optimum Seeking

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Running the C Programs 417<br />

any other ANSI C compiler such as Borl<strong>and</strong> C++ that supports 4-byte-integers should<br />

produce correct results as well.<br />

LINUX <strong>and</strong> gcc are freely available under the conditions of the GNU General Public<br />

License. Information about ordering the Gnu C compiler in the United States is available<br />

through the Free Software Foundation by calling 617 876 3296.<br />

All C programs should compile <strong>and</strong> run on any UNIX workstation having gcc or another<br />

ANSI C compiler installed.<br />

C.3 Running the C Programs<br />

The following instructions are appropriate for installing <strong>and</strong> running the C programs on<br />

your PC or workstation. Installation as well as compilation <strong>and</strong> linking can be carried<br />

out automatically.<br />

C.3.1 How to Install OptimA on a PC Using LINUX<br />

or on a UNIX Workstation<br />

First, enter the directory where you want OptimA to be installed. Then copy the installation<br />

le via mtools by typing the comm<strong>and</strong>:<br />

mcopy a:install.sh .<br />

If you don't have mtools, copy wb-1p?.tar from oppy toworkspace <strong>and</strong> untar it. The<br />

instruction<br />

sh install.sh<br />

will copy the whole tree of directories from the disk to your local directory. The following<br />

directories <strong>and</strong> subdirectories will be created:<br />

fortran<br />

funct<br />

include<br />

lib<br />

rstrct<br />

strat<br />

util<br />

To compile, link, <strong>and</strong> run OptimA go to the workbench directory <strong>and</strong> type<br />

make<br />

to start a recursive compilation <strong>and</strong> linking of all C sources.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!