Back to SYMPHONY Home Page
Next: Compiling the Library and
Up: Compiling the Library and
Previous: Compiling the Shared Memory
Please note that the distributed-memory parallel version has not been tested
in Version 5.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 6.7.1 for more notes on using PVM.
- In SYMPHONY-5.0/Makefile, be sure to set the COMM_PROTOCOL to PVM. Also, in
the same makefile, you need to change one or more of SYM_COMPILE_IN_TM, SYM_COMPILE_IN_LP,
SYM_COMPILE_IN_CG, and
SYM_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
6.7.1 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.
- As above, type make in the SYMPHPONY-5.0
subdirectory 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, main function will be compiled and
required executables linked.
- Make sure there are links from your
$(PVM_ROOT)/bin/$(PVM_ARCH) subdirectory to each of the
executables in the
SYMPHONY-5.0/bin.$(ARCH)/$(LP_SOLVER) subdirectory.
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 included with the distribution. To specify the
file name, use the -F command-line option, i.e., type
bin.$(ARCH)/$(LP_SOLVER)/symphony -F sample.mps in the
SYMPHONY-5.0 subdirectory. 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
using SYMPHONY callable library or solve MILP problems using the
executable.
Next: Compiling the Library and
Up: Compiling the Library and
Previous: Compiling the Shared Memory
Ted Ralphs
2004-11-11