<div dir="ltr"><div><div>Hi David,<br><br></div>I think I see what the problem is. I just made a change to the configure script that I hope will fix what you are seeing. In nutshell, the search path for the library was not set correctly. It was working for me because I happened to have another version of the library sitting in a system directory that I did not realize was there. I committed the change to trunk. Can you do &quot;svn switch <a href="http://projects.coin-or.org/svn/SYMPHONY/trunk/SYMPHONY">http://projects.coin-or.org/svn/SYMPHONY/trunk/SYMPHONY</a>&quot; in the SYMPHONY subdirectory and then see if the configuration works now?<br><br></div>Cheers,<br><br>Ted<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 22, 2014 at 4:10 PM, Alfred Pennyworth <span dir="ltr">&lt;<a href="mailto:batcavecluster@gmail.com" target="_blank">batcavecluster@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dr. Ralphs,<div><br></div><div>No worries, I appreciate the help and understand that you have many other things to handle.</div><div><br></div><div>Yes, I would like to use SYMPHONY in a distributed environment.  I am working on a project on which I would like to investigate and quantify the amount of time that could be saved by solving some integer programs on a small cluster.  It seems to me that SYMPHONY is a perfect candidate for this type of work.  So, I will need to use the --with-pvm flag.</div><div><br></div><div>I have built PVM from source.  I set the environment variables PVM_ROOT=/usr/share/pvm3 and PVM_ARCH=$($PVM_ROOT/lib/pvmgetarch) which is equivalent to LINUX64.  After make, I can confirm that I have the directory $PVM_ROOT/lib/$PVM_ARCH; this directory contains the files libfpvm3.a, libfpvm3.a, libpvm3.a, and libpvmtrc.a.</div><div><br></div><div>In /usr/share/SYMPHONY-5.6.1, when I try ./configure --with-pvm, the last few messages printed to screen are:</div><div>checking if user provides library for Pvm ... no</div><div>checking for /usr/share/pvm3/include/pvm3.h ... yes</div><div>checking whether symbol pvm_gettid is available with PVM ... no</div><div><br></div><div>This throws the error:</div><div>configure: error: Cannot find PVM library in system paths or in PVM_ROOT path:/usr/share/pvm3</div><div>configure: error: /bin/sh &#39;./configure&#39; failed for SYMPHONY</div><div><br></div><div>It seems that PVM is on my path since I can call pvm at the prompt.  Also, SYMPHONY is aware of PVM_ROOT as it was able to find pvm3.h and printed the correct directory in the &quot;configure: error:&quot; line.  Forgive my lack of understanding as I am new to Linux, new to PVM, and new to SYMPHONY and COIN-OR; but I cannot seem to figure out what I am doing wrong or what I am not configuring correctly.</div><div><br></div><div>Any help is appreciated.</div><div><br></div><div>Respectfully,</div><div><br></div><div>David</div><div><div class="h5"><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 22, 2014 at 1:20 AM, Ted Ralphs <span dir="ltr">&lt;<a href="mailto:ted@lehigh.edu" target="_blank">ted@lehigh.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi David,<br><br></div>Goodness, sorry for dropping this---things got very busy.<br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Thu, Oct 9, 2014 at 7:05 PM, Alfred Pennyworth <span dir="ltr">&lt;<a href="mailto:batcavecluster@gmail.com" target="_blank">batcavecluster@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dr. Ralphs,<div><br></div><div>Thank you for your timely and helpful reply!</div><div><br></div><div>I misspoke, I am trying to install CoinAll, but the ./configure --with-pvm step indicates the error is with Symphony.  I used svn to checkout release 1.7.4 of CoinAll.</div></div></blockquote><div><br></div></span><div>So, just to check, are you really wanting to use SYMPHONY in a distributed parallel mode? What is your reason for trying to configure with --with-pvm? The CoinAll release 1.7.4 include a version of SYMPHONY for which I think PVM support is a bit broken. To use SYMPHONY with PVM, you should switch to the most recent release (5.6.1). You can do this easily with svn by going into the SYMPHONY subdirectory and doing<br><br></div><div>svn switch <a href="https://projects.coin-or.org/svn/SYMPHONY/releases/5.6.1/SYMPHONY" target="_blank">https://projects.coin-or.org/svn/SYMPHONY/releases/5.6.1/SYMPHONY</a><br><br></div><div>If you just want to solve in parallel on a multi-core machine, this will happen by default with 5.6.1 using OpenMP. You do not need any configure options. OpenMP support is automatically enabled. <br></div><span><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Previously, I had trouble installing PVM from source, but a helpful gentleman, Dr. Kohl, straightened me out.  I have now gotten the source for PVM 3.4.6 and built it.  I believe it to be working correctly.  I have checked, and pvm3.h is in $PVM_ROOT/include.  In my specific case, PVM_ROOT is /usr/share/pvm3/ and the CoinAll directory is /usr/share/CoinAll-1.7.4/.</div><div><br></div><div>Though, I am still having difficulty with CoinAll.  After the checkout step, ./configure --with-pvm --enable-openmp (not sure if I need both, but the result is the same with or without the openmp flag) the error message is:</div><div>Cannot find PVM library in system paths or in PVM_ROOT path.</div></div></blockquote><div><br></div></span><div>This is a different problem. It is trying to find the PVM library, which should be in PVM_ROOT/lib/$PVM_ARCH, where PVM_ARCH is the architecture of the machine you are on. For me, it is LINUX64. Check to make sure there is such a directory and a library there. If not, perhaps you forgot to install? I can&#39;t remember, but it is possible, you also have to set the PVM_ARCH environment variable appropriately as well.<br></div><div> </div>Cheers,<br><br>Ted<span><font color="#888888"><br clear="all"></font></span></div><span><font color="#888888"><br>-- <br></font></span><div dir="ltr"><span><font color="#888888">Dr. Ted Ralphs</font></span><span><br>Professor, Lehigh University<br><a href="tel:%28610%29%20628-1280" value="+16106281280" target="_blank">(610) 628-1280</a><br>ted &#39;at&#39; lehigh &#39;dot&#39; edu<br><a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br></span></div>
</div></div>
</blockquote></div><br>
</div></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Dr. Ted Ralphs<br>Professor, Lehigh University<br>(610) 628-1280<br>ted &#39;at&#39; lehigh &#39;dot&#39; edu<br><a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br></div>
</div>