[Symphony] Symphony Digest, Vol 97, Issue 4

Tim Goddard tim at goddard.net.nz
Fri Nov 28 16:42:08 EST 2014


Hi John,

I ended up getting them to compile together properly from Ted's advice - I was 
missing the PVM_ARCH environment variable when compiling.

I've attached my build scripts here (was aiming to have a self-organising 
symphony install on top of OpenStack). Note that it's designed to run as 
ubuntu, unpacked as /home/ubuntu/symphony - will need to change PVM_ROOT in 
env.sh, and the user name also appears in setup.sh - will have to move that in 
to environment at some point.

Cheers,

Tim

On Fri, 28 Nov 2014 13:10:57 Alfred Pennyworth wrote:
> Tim,
> 
> We were having the same issues configuring Symphony-5.6.2 with compiling
> the official pvm 3.4.6 source distribution under Ubuntu 14.10.  Assuming
> you have your PVM_ROOT and PVM_ARCH directories properly set, what seems to
> have made it works for us was:
> 
> 1. Copy the PVM libraries from $PVM_ROOT/lib/$PVM_ARCH directory to /usr/lib
> 2. Copy the PVM include files from $PVM_ROOT/include to /usr/include
> 
> Hopefully, that should clear up the ./configure --with-pvm issues you were
> running into under Symphony-5.6.2.
> 
> However once we got Symphony-5.6.2 to configure and install we still had
> the same error message you had:
> 
> pvm_trecv(): Not implemented
> Pvm Error -24 : PvmNotImpl (Not implemented)
> 
> pvm_trecv(): Bad parameter
> Pvm Error -24 : PvmNotImpl (Not implemented)
> 
> I checked our PVM install by running one of the examples provided by the
> PVM source package across our cluster and it worked fine.  At this point it
> looks like Symphony isn't talking to PVM right (or we still don't have
> Symphony properly configured).
> 
> Any advice on that issue would be greatly appreciated.
> 
> Thanks,
> John
> 
> On Fri, Nov 21, 2014 at 12:00 PM, <symphony-request at list.coin-or.org> wrote:
> > Send Symphony mailing list submissions to
> > 
> >         symphony at list.coin-or.org
> > 
> > To subscribe or unsubscribe via the World Wide Web, visit
> > 
> >         http://list.coin-or.org/mailman/listinfo/symphony
> > 
> > or, via email, send a message with subject or body 'help' to
> > 
> >         symphony-request at list.coin-or.org
> > 
> > You can reach the person managing the list at
> > 
> >         symphony-owner at list.coin-or.org
> > 
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Symphony digest..."
> > 
> > Today's Topics:
> >    1. PVM,      issues with both Ubuntu version (runtime) and official
> >    
> >       source    (compile time) (Tim Goddard)
> >    
> >    2. Re: PVM,  issues with both Ubuntu version (runtime) and
> >    
> >       official source   (compile time) (Tim Goddard)
> >    
> >    3. Re: PVM, issues with both Ubuntu version (runtime) and
> >    
> >       official source (compile time) (Ted Ralphs)
> > 
> > ----------------------------------------------------------------------
> > 
> > Message: 1
> > Date: Fri, 21 Nov 2014 15:58:38 +1300
> > From: Tim Goddard <tim at goddard.net.nz>
> > To: symphony at list.coin-or.org
> > Subject: [Symphony] PVM,        issues with both Ubuntu version (runtime)
> > and
> > 
> >         official source (compile time)
> > 
> > Message-ID: <6660564.LKUPNhfLjX at timg-lp>
> > Content-Type: text/plain; charset="us-ascii"
> > 
> > Hi all,
> > 
> > I have some issues when trying to run SYMPHONY compiled with PVM on Ubuntu
> > 14.04 for amd64 . The versions are:
> > 
> > SYMPHONY from SVN:
> > https://projects.coin-or.org/svn/SYMPHONY/releases/5.6.2
> > 
> > pvm:
> >   Installed: 3.4.5-12.5ubuntu1
> >   Candidate: 3.4.5-12.5ubuntu1
> > 
> > ...
> > 
> > pvm-dev:
> >   Installed: 3.4.5-12.5ubuntu1
> >   Candidate: 3.4.5-12.5ubuntu1
> > 
> > ...
> > 
> > Ubuntu installs the headers in the system directory, have to symlink them
> > in
> > to the PVM directory to compile:
> > 
> > export PVM_ROOT=/usr/lib/pvm3
> > sudo ln -s /usr/include $PVM_ROOT/include
> > 
> > It compiled fine with ./configure --with-pvm (not really the PVM root, but
> > puts
> > the includes in the right place).
> > 
> > Symlinked the binaries in to $HOME/pvm3/bin/LINUX64/
> > 
> > But when running I get this:
> > > timg at timg-lp:~/dev/SYMPHONY-5.6.2$ bin/symphony_m_tm_cp
> > > 
> > > ==  Welcome to the SYMPHONY MILP Solver
> > > ==  Copyright 2000-2014 Ted Ralphs and others
> > > ==  All Rights Reserved.
> > > ==  Distributed under the Eclipse Public License 1.0
> > > ==  Version: 5.6.2
> > > ==  Build Date: Nov 21 2014
> > > ==  Revision Number: 2322
> > > 
> > > ***** WELCOME TO SYMPHONY INTERACTIVE MIP SOLVER ******
> > > 
> > > Please type 'help'/'?' to see the main commands!
> > > 
> > > SYMPHONY: load
> > > Name of the file: ./Data/Sample/exmip1.lp
> > > SYMPHONY: solve
> > > 
> > > Automatically setting number of threads to 4
> > > 
> > > Starting Preprocessing...
> > > Preprocessing finished...
> > > 
> > >          bounds improved: 6
> > >          constraints removed: 2
> > >          variables fixed: 2
> > > 
> > > Solving...
> > > 
> > > [t40009] BEGIN
> > > [t4000a] BEGIN
> > > [t4000b] BEGIN
> > > [t4000c] BEGIN
> > > libpvm [t40008]: pvm_trecv(): Not implemented
> > > Pvm Error -24 : PvmNotImpl (Not implemented)
> > > 
> > > libpvm [t40008]: pvm_trecv(): Bad parameter
> > > libpvm [t40008]: Pvm Error -24 : PvmNotImpl (Not implemented)
> > > 
> > > pvm_trecv(): Bad parameter
> > > Pvm Error -24 : PvmNotImpl (Not implemented)
> > > libpvm [t40008]:
> > > pvm_bufinfo(): Bad parameter
> > > libpvm [t40008]: Pvm Error -2 : PvmBadParam (Bad parameter)
> > > 
> > > pvm_bufinfo(): Bad parameter
> > > Unknown message type -1780440064
> > > 
> > > Pvm Error -2 : PvmBadParam (Bad parameter)
> > > 
> > > Unknown message type -1780440064
> > > 
> > > libpvm [t40008]: pvm_bufinfo(): Bad parameter
> > > Pvm Error -2 : PvmBadParam (Bad parameter)
> > > 
> > > Unknown message type -1445014944
> > > 
> > > 
> > > ****************************************************
> > > * A process has died abnormally -- halting         *
> > > ****************************************************
> > > 
> > > 
> > > No Solution Found
> > 
> > Trying to compile with the official pvm 3.4.6 source distribution, and
> > feeding
> > 
> > it the built directory as the PVM_ROOT, I get:
> > > checking if user provides library for Pvm... no
> > > checking for /home/timg/Downloads/pvm3/include/pvm3.h... yes
> > > checking whether symbol pvm_gettid is available with PVM... no
> > > configure: error: Cannot find PVM library in system paths or in PVM_ROOT
> > > path:/home/timg/Downloads/pvm3
> > > configure: error: /bin/bash './configure' failed for SYMPHONY
> > 
> > Any advice on how to get around this?
> > 
> > Cheers,
> > 
> > Tim
> > 
> > 
> > ------------------------------
> > 
> > Message: 2
> > Date: Fri, 21 Nov 2014 16:57:05 +1300
> > From: Tim Goddard <tim at goddard.net.nz>
> > To: symphony at list.coin-or.org
> > Subject: Re: [Symphony] PVM,    issues with both Ubuntu version (runtime)
> > 
> >         and official source     (compile time)
> > 
> > Message-ID: <14631587.dUx7IbDmxm at timg-lp>
> > Content-Type: text/plain; charset="us-ascii"
> > 
> > Also, just saw October mention of the same error. Tried symphony trunk, no
> > more luck. Tried with:
> > 
> > ./configure --with-pvm
> > --with-pvm-incdir="/home/timg/Downloads/pvm3/include" --
> > with-pvm-lib='/home/timg/Downloads/pvm3/lib/LINUX64/libpvm3.a'
> > 
> > Got another error:
> > > checking if user provides library for Pvm... yes
> > > checking whether symbol pvm_gettid is available with PVM... no
> > > configure: error: Cannot find symbol(s) pvm_gettid with PVM
> > 
> > On Fri, 21 Nov 2014 15:58:38 Tim Goddard wrote:
> > > Hi all,
> > > 
> > > I have some issues when trying to run SYMPHONY compiled with PVM on
> > 
> > Ubuntu
> > 
> > > 14.04 for amd64 . The versions are:
> > 
> > > SYMPHONY from SVN:
> > https://projects.coin-or.org/svn/SYMPHONY/releases/5.6.2
> > 
> > > pvm:
> > >   Installed: 3.4.5-12.5ubuntu1
> > >   Candidate: 3.4.5-12.5ubuntu1
> > > 
> > > ...
> > > 
> > > pvm-dev:
> > >   Installed: 3.4.5-12.5ubuntu1
> > >   Candidate: 3.4.5-12.5ubuntu1
> > > 
> > > ...
> > > 
> > > Ubuntu installs the headers in the system directory, have to symlink
> > 
> > them in
> > 
> > > to the PVM directory to compile:
> > > 
> > > export PVM_ROOT=/usr/lib/pvm3
> > > sudo ln -s /usr/include $PVM_ROOT/include
> > > 
> > > It compiled fine with ./configure --with-pvm (not really the PVM root,
> > 
> > but
> > 
> > > puts the includes in the right place).
> > > 
> > > Symlinked the binaries in to $HOME/pvm3/bin/LINUX64/
> > > 
> > > But when running I get this:
> > > > timg at timg-lp:~/dev/SYMPHONY-5.6.2$ bin/symphony_m_tm_cp
> > > > 
> > > > ==  Welcome to the SYMPHONY MILP Solver
> > > > ==  Copyright 2000-2014 Ted Ralphs and others
> > > > ==  All Rights Reserved.
> > > > ==  Distributed under the Eclipse Public License 1.0
> > > > ==  Version: 5.6.2
> > > > ==  Build Date: Nov 21 2014
> > > > ==  Revision Number: 2322
> > > > 
> > > > ***** WELCOME TO SYMPHONY INTERACTIVE MIP SOLVER ******
> > > > 
> > > > Please type 'help'/'?' to see the main commands!
> > > > 
> > > > SYMPHONY: load
> > > > Name of the file: ./Data/Sample/exmip1.lp
> > > > SYMPHONY: solve
> > > > 
> > > > Automatically setting number of threads to 4
> > > > 
> > > > Starting Preprocessing...
> > > > Preprocessing finished...
> > > > 
> > > >          bounds improved: 6
> > > >          constraints removed: 2
> > > >          variables fixed: 2
> > > > 
> > > > Solving...
> > > > 
> > > > [t40009] BEGIN
> > > > [t4000a] BEGIN
> > > > [t4000b] BEGIN
> > > > [t4000c] BEGIN
> > > > libpvm [t40008]: pvm_trecv(): Not implemented
> > > > Pvm Error -24 : PvmNotImpl (Not implemented)
> > > > 
> > > > libpvm [t40008]: pvm_trecv(): Bad parameter
> > > > libpvm [t40008]: Pvm Error -24 : PvmNotImpl (Not implemented)
> > > > 
> > > > pvm_trecv(): Bad parameter
> > > > Pvm Error -24 : PvmNotImpl (Not implemented)
> > > > libpvm [t40008]:
> > > > pvm_bufinfo(): Bad parameter
> > > > libpvm [t40008]: Pvm Error -2 : PvmBadParam (Bad parameter)
> > > > 
> > > > pvm_bufinfo(): Bad parameter
> > > > Unknown message type -1780440064
> > > > 
> > > > Pvm Error -2 : PvmBadParam (Bad parameter)
> > > > 
> > > > Unknown message type -1780440064
> > > > 
> > > > libpvm [t40008]: pvm_bufinfo(): Bad parameter
> > > > Pvm Error -2 : PvmBadParam (Bad parameter)
> > > > 
> > > > Unknown message type -1445014944
> > > > 
> > > > 
> > > > ****************************************************
> > > > * A process has died abnormally -- halting         *
> > > > ****************************************************
> > > > 
> > > > 
> > > > No Solution Found
> > > 
> > > Trying to compile with the official pvm 3.4.6 source distribution, and
> > > feeding
> > > 
> > > it the built directory as the PVM_ROOT, I get:
> > > > checking if user provides library for Pvm... no
> > > > checking for /home/timg/Downloads/pvm3/include/pvm3.h... yes
> > > > checking whether symbol pvm_gettid is available with PVM... no
> > > > configure: error: Cannot find PVM library in system paths or in
> > 
> > PVM_ROOT
> > 
> > > > path:/home/timg/Downloads/pvm3
> > > > configure: error: /bin/bash './configure' failed for SYMPHONY
> > > 
> > > Any advice on how to get around this?
> > > 
> > > Cheers,
> > > 
> > > Tim
> > > _______________________________________________
> > > Symphony mailing list
> > > Symphony at list.coin-or.org
> > > http://list.coin-or.org/mailman/listinfo/symphony
> > 
> > ------------------------------
> > 
> > Message: 3
> > Date: Fri, 21 Nov 2014 09:28:07 -0500
> > From: Ted Ralphs <tkr2 at lehigh.edu>
> > To: Tim Goddard <tim at goddard.net.nz>
> > Cc: symphony <symphony at list.coin-or.org>
> > Subject: Re: [Symphony] PVM, issues with both Ubuntu version (runtime)
> > 
> >         and official source (compile time)
> > 
> > Message-ID:
> >         <CA+GYycsY6tOC52rUboQojMDbr2DgxfBzEsChthGx2WaBDV=
> > 
> > uOA at mail.gmail.com>
> > Content-Type: text/plain; charset="utf-8"
> > 
> > Hi Tim,
> > 
> > The changes in trunk that I made should be in 5.6.2 so you are good with
> > that version. I also could not get SYMPHONY to work with the Debian
> > package
> > of PVM. I didn't really investigate what was wrong there, since building
> > PVM from source seemed to work in the end.
> > 
> > It's hard to tell exactly what's going on from the output, but I guess
> > that
> > the first thing is to make sure you have the variable PVM_ARCH set
> > correctly. SYMPHONY looks for the library in $PVM_ROOT/lib/$PVM_ARCH,
> > which
> > is the standard location. If you have set PVM_ROOT and PVM_ARCH correctly,
> > you shouldn't actually need to set --with-pvm-incdir and --with-pvm-lib.
> > 
> > If that doesn't work for some reason, you can also try using
> > --with-pvm-lib, but the correct incantation should be:
> > 
> > --with-pvm-lib='-L/home/timg/Downloads/pvm3/lib/LINUX64/ -lgpvm3 -lpvm3'
> > 
> > Let me know how it goes.
> > 
> > Cheers,
> > 
> > Ted
> > 
> > On Thu, Nov 20, 2014 at 10:57 PM, Tim Goddard <tim at goddard.net.nz> wrote:
> > > Also, just saw October mention of the same error. Tried symphony trunk,
> > 
> > no
> > 
> > > more luck. Tried with:
> > > 
> > > ./configure --with-pvm
> > > --with-pvm-incdir="/home/timg/Downloads/pvm3/include" --
> > > with-pvm-lib='/home/timg/Downloads/pvm3/lib/LINUX64/libpvm3.a'
> > > 
> > > Got another error:
> > > > checking if user provides library for Pvm... yes
> > > > checking whether symbol pvm_gettid is available with PVM... no
> > > > configure: error: Cannot find symbol(s) pvm_gettid with PVM
> > > 
> > > On Fri, 21 Nov 2014 15:58:38 Tim Goddard wrote:
> > > > Hi all,
> > > > 
> > > > I have some issues when trying to run SYMPHONY compiled with PVM on
> > > 
> > > Ubuntu
> > > 
> > > > 14.04 for amd64 . The versions are:
> > > 
> > > > SYMPHONY from SVN:
> > > https://projects.coin-or.org/svn/SYMPHONY/releases/5.6.2
> > > 
> > > > pvm:
> > > >   Installed: 3.4.5-12.5ubuntu1
> > > >   Candidate: 3.4.5-12.5ubuntu1
> > > > 
> > > > ...
> > > > 
> > > > pvm-dev:
> > > >   Installed: 3.4.5-12.5ubuntu1
> > > >   Candidate: 3.4.5-12.5ubuntu1
> > > > 
> > > > ...
> > > > 
> > > > Ubuntu installs the headers in the system directory, have to symlink
> > > 
> > > them in
> > > 
> > > > to the PVM directory to compile:
> > > > 
> > > > export PVM_ROOT=/usr/lib/pvm3
> > > > sudo ln -s /usr/include $PVM_ROOT/include
> > > > 
> > > > It compiled fine with ./configure --with-pvm (not really the PVM root,
> > > 
> > > but
> > > 
> > > > puts the includes in the right place).
> > > > 
> > > > Symlinked the binaries in to $HOME/pvm3/bin/LINUX64/
> > > > 
> > > > But when running I get this:
> > > > > timg at timg-lp:~/dev/SYMPHONY-5.6.2$ bin/symphony_m_tm_cp
> > > > > 
> > > > > ==  Welcome to the SYMPHONY MILP Solver
> > > > > ==  Copyright 2000-2014 Ted Ralphs and others
> > > > > ==  All Rights Reserved.
> > > > > ==  Distributed under the Eclipse Public License 1.0
> > > > > ==  Version: 5.6.2
> > > > > ==  Build Date: Nov 21 2014
> > > > > ==  Revision Number: 2322
> > > > > 
> > > > > ***** WELCOME TO SYMPHONY INTERACTIVE MIP SOLVER ******
> > > > > 
> > > > > Please type 'help'/'?' to see the main commands!
> > > > > 
> > > > > SYMPHONY: load
> > > > > Name of the file: ./Data/Sample/exmip1.lp
> > > > > SYMPHONY: solve
> > > > > 
> > > > > Automatically setting number of threads to 4
> > > > > 
> > > > > Starting Preprocessing...
> > > > > Preprocessing finished...
> > > > > 
> > > > >          bounds improved: 6
> > > > >          constraints removed: 2
> > > > >          variables fixed: 2
> > > > > 
> > > > > Solving...
> > > > > 
> > > > > [t40009] BEGIN
> > > > > [t4000a] BEGIN
> > > > > [t4000b] BEGIN
> > > > > [t4000c] BEGIN
> > > > > libpvm [t40008]: pvm_trecv(): Not implemented
> > > > > Pvm Error -24 : PvmNotImpl (Not implemented)
> > > > > 
> > > > > libpvm [t40008]: pvm_trecv(): Bad parameter
> > > > > libpvm [t40008]: Pvm Error -24 : PvmNotImpl (Not implemented)
> > > > > 
> > > > > pvm_trecv(): Bad parameter
> > > > > Pvm Error -24 : PvmNotImpl (Not implemented)
> > > > > libpvm [t40008]:
> > > > > pvm_bufinfo(): Bad parameter
> > > > > libpvm [t40008]: Pvm Error -2 : PvmBadParam (Bad parameter)
> > > > > 
> > > > > pvm_bufinfo(): Bad parameter
> > > > > Unknown message type -1780440064
> > > > > 
> > > > > Pvm Error -2 : PvmBadParam (Bad parameter)
> > > > > 
> > > > > Unknown message type -1780440064
> > > > > 
> > > > > libpvm [t40008]: pvm_bufinfo(): Bad parameter
> > > > > Pvm Error -2 : PvmBadParam (Bad parameter)
> > > > > 
> > > > > Unknown message type -1445014944
> > > > > 
> > > > > 
> > > > > ****************************************************
> > > > > * A process has died abnormally -- halting         *
> > > > > ****************************************************
> > > > > 
> > > > > 
> > > > > No Solution Found
> > > > 
> > > > Trying to compile with the official pvm 3.4.6 source distribution, and
> > > > feeding
> > > > 
> > > > it the built directory as the PVM_ROOT, I get:
> > > > > checking if user provides library for Pvm... no
> > > > > checking for /home/timg/Downloads/pvm3/include/pvm3.h... yes
> > > > > checking whether symbol pvm_gettid is available with PVM... no
> > > > > configure: error: Cannot find PVM library in system paths or in
> > > 
> > > PVM_ROOT
> > > 
> > > > > path:/home/timg/Downloads/pvm3
> > > > > configure: error: /bin/bash './configure' failed for SYMPHONY
> > > > 
> > > > Any advice on how to get around this?
> > > > 
> > > > Cheers,
> > > > 
> > > > Tim
> > > > _______________________________________________
> > > > Symphony mailing list
> > > > Symphony at list.coin-or.org
> > > > http://list.coin-or.org/mailman/listinfo/symphony
> > > 
> > > _______________________________________________
> > > Symphony mailing list
> > > Symphony at list.coin-or.org
> > > http://list.coin-or.org/mailman/listinfo/symphony
> > 
> > --
> > Dr. Ted Ralphs
> > Associate Professor, Lehigh University
> > (610) 628-1280
> > ted 'at' lehigh 'dot' edu
> > coral.ie.lehigh.edu/~ted
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: <
> > http://list.coin-or.org/pipermail/symphony/attachments/20141121/162072fa/a
> > ttachment-0001.html
> > 
> > 
> > ------------------------------
> > 
> > _______________________________________________
> > Symphony mailing list
> > Symphony at list.coin-or.org
> > http://list.coin-or.org/mailman/listinfo/symphony
> > 
> > 
> > End of Symphony Digest, Vol 97, Issue 4
> > ***************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build-symphony.tar.gz
Type: application/x-compressed-tar
Size: 4246 bytes
Desc: not available
URL: <http://list.coin-or.org/pipermail/symphony/attachments/20141129/9a29a8db/attachment.bin>


More information about the Symphony mailing list