Back to SYMPHONY Home Page
Next: Compiling the Sample Application
Up: Compiling the Sample Application
Previous: Compiling the Shared Memory
Please note that the distributed-memory parallel version has not been tested
in Version 4.0 and may be broken. Please let me know if you want to use it and
I will get it working.
- If you wish to compile a distributed version of the code, obtain
and install the Parallel Virtual
Machine (PVM) software, available for free
from Oak Ridge National Laboratories
.
See Section 4.2.7 for more notes on using PVM.
- In SYMPHONY-4.0/Makefile, be sure to set the COMM_PROTOCOL to PVM. Also, in
SYMPHONY-4.0/USER/Makefile, change one or more of COMPILE_IN_TM, COMPILE_IN_LP, COMPILE_IN_CG, and
COMPILE_IN_CP, to FALSE, or you will end up with the
sequential version. Various combinations of these variables will give
you different configurations and different executables. See Section
4.2.7 for more info on setting them. Also, be sure to
set the path variables in the makefile appropriately so that
make can find the PVM library.
- Type make in the SYMPHPONY-4.0/USER directory to
make the distributed libraries. As in Step 1 of the sequential
version, you may type make clean after making the
library. It should not have to remade again unless you modify
SYMPHONY's internal files.
- After the SYMPHONY libraries, user code will be compiled and
required executables linked.
- Make sure there are links from your
$PVM_ROOT/bin/$PVM_ARCH/ directory to each of the
executables in the
SYMPHONY-4.0/USER/bin.$(ARCH)/$(LP_SOLVER) directory.
This is required by PVM.
- Start the PVM daemon by typing pvm on the command line
and then typing quit.
- As above, test SYMPHONY using the sample MPS file called
sample.mps is included with the distribution. To specify the
file name, use the -F command-line option, i.e., type
bin.$(ARCH)/$(LP_SOLVER)/mip -F sample.mps in the
SYMPHONY-4.0/USER directory. To obtain more MPS data files
for further testing, download the MIPLIB library.
- That's it! Now you are ready to develop your own application by
modifying the files in the SYMPHONY-4.0/USER directory and
it's subdirectories. See Section 4.2 for more
information.
Next: Compiling the Sample Application
Up: Compiling the Sample Application
Previous: Compiling the Shared Memory
Ted Ralphs
2003-10-16