[Clp] configure errors, cannot find BLAS, /bin/sh ./configure failed for Ipopt

LMH lmh_users-groups at molconn.com
Wed Sep 26 23:48:47 EDT 2018


LMH wrote:
> John Forrest wrote:
>> I don't know enough about building on windows to give a definite answer but you could
>> try one or two things to get something working and then improve the situation.
>>
>> a) do configure with --without-blas --without-lapack
>>
>> or
>>
>> b) go into ThirdParty/Blas and Lapack and do get.Blas and get.Lapack
>>
>> John Forrest
>> On 25/09/18 17:42, LMH wrote:
>>> Hello
>>>
>>> This is the second time I have sent this message. I think there was a subscription
>>> issue with the first message. I apologize if this is a duplicate but I have not yet
>>> received the original so I have sent it again.
>>>
>>>
>>> I am trying to build clp under cygwin on a windows xp box. I have downloaded the most
>>> recent src using subversion and installed it to,
>>>
>>> C:\cygwin\lib\COIN-OS\
>>>
>>> It seemed like lib\ is where this should go, let me know if it should go in bin\ or
>>> somewhere in local\ instead.
>>>
>>> The configure script seems to run well but at the end I get,,
>>>
>>> checking whether -lblas has BLAS... no
>>> configure: error: cannot find BLAS
>>> configure: error: /bin/sh './configure' failed for Ipopt
>>>
>>> I have gfortran,
>>>
>>> $ which gfortran
>>> /usr/bin/gfortran
>>>
>>> $ gfortran -v
>>> Target: i686-pc-cygwin
>>> Thread model: posix
>>> gcc version 5.3.0 (GCC)
>>>
>>> As far as I can tell, my PATH is configured correctly.
>>>
>>> C:\cygwin\bin;C:\Program Files\Intel\iCLS
>>> Client\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program
>>> Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R)
>>> Management Engine Components\IPT;c:\dms;c:\dms\gnuplot;C:\Program
>>> Files\TortoiseSVN\bin
>>>
>>> I believe that I have BLAS installed in cygwin but the config script cannot seem to
>>> find it. I can post the entire configure script output, or any other output if that
>>> would help, just let me know.
>>>
>>> LMH
>>>
>>> _______________________________________________
>>> Clp mailing list
>>> Clp at list.coin-or.org
>>> https://urldefense.proofpoint.com/v2/url?u=https-3A__list.coin-2Dor.org_mailman_listinfo_clp&d=DwICAg&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=js2M0T-3OIMIVDvokcKjokJbk0F8QOCd0mT4FsVFE88&m=d0WfxyR11cyfOXA-T7rNQ2OGp4qkrePGbUjFuEMZZLY&s=xmebJ9kLTiaifIEAMtBgTDnwAcnFhj7f3H0DnzaHHrM&e=
>>>
>>>
>>>
>>
>> _______________________________________________
>> Clp mailing list
>> Clp at list.coin-or.org
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__list.coin-2Dor.org_mailman_listinfo_clp&d=DwICAg&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=G-rWCwMCBm3eUuw9HwVHnyOeSnSun6y799F3zRs5-x4&m=15JBJE5qc5hAwj760hY9tzyTy9aRHlJEFVt9QcVSfNQ&s=jUDp_AboHjY0zT3f-ewerzcDs11isWMJKN7kHQIbklI&e=
>>
>>
> 
> Thanks for the advice. I added the third party code as you suggested. The get scripts
> did not work because I had issues with wget and also some of the file names in the
> scripts do not match the files that were downloaded. I had to manually implement some
> of the steps in the get scripts.
> 
> After running configure -C, I get a different error.
> 
> checking whether LAPACK is already available with BLAS library... no
> checking whether -llapack has LAPACK... yes
> configure: Checking for Harwell subroutine library
> checking whether MUMPS is available... no
> configure: error: "No linear solver (such as MUMPS) available.  You need to provide
> at least one."
> configure: error: /bin/sh './configure' failed for Ipopt
> 
> There is nothing listed under MUMPS in the cygwin package manager. How do I go about
> resolving this?
> 
> LMH
> 
> _______________________________________________
> Clp mailing list
> Clp at list.coin-or.org
> https://urldefense.proofpoint.com/v2/url?u=https-3A__list.coin-2Dor.org_mailman_listinfo_clp&d=DwICAg&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=G-rWCwMCBm3eUuw9HwVHnyOeSnSun6y799F3zRs5-x4&m=N9fx_-dJ1omk9FGd1XVnM9jPBcJJbAO6zCf6Z2EEhBM&s=DPYXM-vxdVmLtp0X7xR6BMayOQT0RyRMiLJCz_5E968&e=
> 

I downloaded and built MUMPS Version 1.71 according to the cygwin instructions here,

https://sourceforge.net/projects/mumps/files/

The build seemed to go fine once I made the suggested local configuration changes.
When I re-ran ./config for coin-or, I still get the error,

checking whether MUMPS is available... no
configure: error: "No linear solver (such as MUMPS) available.  You need to provide
at least one."
configure: error: /bin/sh './configure' failed for Ipopt

I installed mumps to /lib and I suspect that it is being looked for in one of the bin
directories. the "which mumps" command doesn't return anything.

Should I move the mumps install directory to some other location like /bin or
/usr/local/bin, etc?

Should I add a ln somewhere that points to where mumps is now?

Do I have a different problem altogether?

Thanks,

LMH



More information about the Clp mailing list