<div dir="ltr"><div><div><div><div><div>Hi Tim,<br><br></div>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. <br><br></div>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. <br><br></div>If that doesn't work for some reason, you can also try using --with-pvm-lib, but the correct incantation should be:<br><br></div>--with-pvm-lib='-L/home/timg/Downloads/pvm3/lib/LINUX64/ -lgpvm3 -lpvm3'<br><br></div><div>Let me know how it goes.<br></div><div><br></div>Cheers,<br><br>Ted<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 20, 2014 at 10:57 PM, Tim Goddard <span dir="ltr"><<a href="mailto:tim@goddard.net.nz" target="_blank">tim@goddard.net.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Also, just saw October mention of the same error. Tried symphony trunk, no<br>
more luck. Tried with:<br>
<br>
./configure --with-pvm --with-pvm-incdir="/home/timg/Downloads/pvm3/include" --<br>
with-pvm-lib='/home/timg/Downloads/pvm3/lib/LINUX64/libpvm3.a'<br>
<br>
Got another error:<br>
<br>
> checking if user provides library for Pvm... yes<br>
<span class="">> checking whether symbol pvm_gettid is available with PVM... no<br>
</span>> configure: error: Cannot find symbol(s) pvm_gettid with PVM<br>
<div class="HOEnZb"><div class="h5"><br>
On Fri, 21 Nov 2014 15:58:38 Tim Goddard wrote:<br>
> Hi all,<br>
><br>
> I have some issues when trying to run SYMPHONY compiled with PVM on Ubuntu<br>
> 14.04 for amd64 . The versions are:<br>
><br>
> SYMPHONY from SVN: <a href="https://projects.coin-or.org/svn/SYMPHONY/releases/5.6.2" target="_blank">https://projects.coin-or.org/svn/SYMPHONY/releases/5.6.2</a><br>
><br>
> pvm:<br>
> Installed: 3.4.5-12.5ubuntu1<br>
> Candidate: 3.4.5-12.5ubuntu1<br>
> ...<br>
> pvm-dev:<br>
> Installed: 3.4.5-12.5ubuntu1<br>
> Candidate: 3.4.5-12.5ubuntu1<br>
> ...<br>
><br>
> Ubuntu installs the headers in the system directory, have to symlink them in<br>
> to the PVM directory to compile:<br>
><br>
> export PVM_ROOT=/usr/lib/pvm3<br>
> sudo ln -s /usr/include $PVM_ROOT/include<br>
><br>
> It compiled fine with ./configure --with-pvm (not really the PVM root, but<br>
> puts the includes in the right place).<br>
><br>
> Symlinked the binaries in to $HOME/pvm3/bin/LINUX64/<br>
><br>
> But when running I get this:<br>
> > timg@timg-lp:~/dev/SYMPHONY-5.6.2$ bin/symphony_m_tm_cp<br>
> ><br>
> > == Welcome to the SYMPHONY MILP Solver<br>
> > == Copyright 2000-2014 Ted Ralphs and others<br>
> > == All Rights Reserved.<br>
> > == Distributed under the Eclipse Public License 1.0<br>
> > == Version: 5.6.2<br>
> > == Build Date: Nov 21 2014<br>
> > == Revision Number: 2322<br>
> ><br>
> > ***** WELCOME TO SYMPHONY INTERACTIVE MIP SOLVER ******<br>
> ><br>
> > Please type 'help'/'?' to see the main commands!<br>
> ><br>
> > SYMPHONY: load<br>
> > Name of the file: ./Data/Sample/exmip1.lp<br>
> > SYMPHONY: solve<br>
> ><br>
> > Automatically setting number of threads to 4<br>
> ><br>
> > Starting Preprocessing...<br>
> > Preprocessing finished...<br>
> ><br>
> > bounds improved: 6<br>
> > constraints removed: 2<br>
> > variables fixed: 2<br>
> ><br>
> > Solving...<br>
> ><br>
> > [t40009] BEGIN<br>
> > [t4000a] BEGIN<br>
> > [t4000b] BEGIN<br>
> > [t4000c] BEGIN<br>
> > libpvm [t40008]: pvm_trecv(): Not implemented<br>
> > Pvm Error -24 : PvmNotImpl (Not implemented)<br>
> ><br>
> > libpvm [t40008]: pvm_trecv(): Bad parameter<br>
> > libpvm [t40008]: Pvm Error -24 : PvmNotImpl (Not implemented)<br>
> ><br>
> > pvm_trecv(): Bad parameter<br>
> > Pvm Error -24 : PvmNotImpl (Not implemented)<br>
> > libpvm [t40008]:<br>
> > pvm_bufinfo(): Bad parameter<br>
> > libpvm [t40008]: Pvm Error -2 : PvmBadParam (Bad parameter)<br>
> ><br>
> > pvm_bufinfo(): Bad parameter<br>
> > Unknown message type -1780440064<br>
> ><br>
> > Pvm Error -2 : PvmBadParam (Bad parameter)<br>
> ><br>
> > Unknown message type -1780440064<br>
> ><br>
> > libpvm [t40008]: pvm_bufinfo(): Bad parameter<br>
> > Pvm Error -2 : PvmBadParam (Bad parameter)<br>
> ><br>
> > Unknown message type -1445014944<br>
> ><br>
> ><br>
> > ****************************************************<br>
> > * A process has died abnormally -- halting *<br>
> > ****************************************************<br>
> ><br>
> ><br>
> > No Solution Found<br>
><br>
> Trying to compile with the official pvm 3.4.6 source distribution, and<br>
> feeding<br>
> it the built directory as the PVM_ROOT, I get:<br>
> > checking if user provides library for Pvm... no<br>
> > checking for /home/timg/Downloads/pvm3/include/pvm3.h... yes<br>
> > checking whether symbol pvm_gettid is available with PVM... no<br>
> > configure: error: Cannot find PVM library in system paths or in PVM_ROOT<br>
> > path:/home/timg/Downloads/pvm3<br>
> > configure: error: /bin/bash './configure' failed for SYMPHONY<br>
><br>
> Any advice on how to get around this?<br>
><br>
> Cheers,<br>
><br>
> Tim<br>
> _______________________________________________<br>
> Symphony mailing list<br>
> <a href="mailto:Symphony@list.coin-or.org">Symphony@list.coin-or.org</a><br>
> <a href="http://list.coin-or.org/mailman/listinfo/symphony" target="_blank">http://list.coin-or.org/mailman/listinfo/symphony</a><br>
_______________________________________________<br>
Symphony mailing list<br>
<a href="mailto:Symphony@list.coin-or.org">Symphony@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/symphony" target="_blank">http://list.coin-or.org/mailman/listinfo/symphony</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Dr. Ted Ralphs<br>Associate Professor, Lehigh University<br>(610) 628-1280<br>ted 'at' lehigh 'dot' edu<br><a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br></div>
</div>