[Scip] (no subject)

Jose L Walteros jl.walteros at gmail.com
Thu May 16 19:05:01 MEST 2013


Hi Stefan,

I am replying this email just to you and not the SCIP list because I don't
want to add more noise to the list.

I will try to be more specific to what I did so you can give a better
feedback about the issue.

I want to compile the scipoptsuite-3.0.1 with both standard mode and debug
mode. I was having problems with the ZLIB library so I am using
ZIMPLE=false READLINE=false ZLIB=false. I compiled it first with the debug
option and the compilation went through. However, when I compiled it again
without the debugging option, I am getting the following error (as I
mentioned before)

** Creating necessary soft-links.
rm: cannot remove directory
`/c/SCIP/scipoptsuite-3.0.1/scip-3.0.1/lib/spxinc':
Is a directory
make[1]: *** [/c/SCIP/scipoptsuite-3.0.1/scip-3.0.1/lib/spxinc] Error 1
make[1]: Leaving directory `/c/SCIP/scipoptsuite-3.0.1'
make: *** [scipbinary] Error 2

I followed your suggestion of fixing the SOPLEXINCLINK with based on the
ZIMPLINCLINK rule. The finale rules are as follows:


$(SOPLEXINCLINK): softlinkmsg $(SCIPDIR)
@rm -f $@
@$(LN_s) $(SOPLEXINC) $@

$(SOPLEXLIBLINK): softlinkmsg $(SCIPDIR)
@rm -f $@
@$(LN_s) $(SOPLEXLIB) $@

$(ZIMPLINCLINK): softlinkmsg $(SCIPDIR)
@rm -f $@
@$(LN_s) $(ZIMPLINC) $@

$(ZIMPLLIBLINK): softlinkmsg $(SCIPDIR)
ifeq ($(ZIMPL),true)
@rm -f $@
@$(LN_s) $(ZIMPLLIB) $@
endif

Unfortunately, the error persists. I also try to follow your previous
suggestion (I quote your previous email)

try removing also the line
   @rm -f $@
from scipoptsuite-3.0.1/Makefile.****doit

Stefan

It did not work either.

I completely understand if this thing is natural and obvious for you. It is
clear that you are familiar with the Makefiles and know every single detail
about them. Athough, this technical details of the software are not trivial
for me and the least thing that I would like to do is messing with the
makefiles myself trying to fix the problem. I hope that you can help me
with this.

-Jose




On Wed, May 15, 2013 at 12:13 PM, Jose L Walteros <jl.walteros at gmail.com>wrote:

> Hi,
>
> I modified as you suggested as follows:
>
> $(SOPLEXINCLINK): softlinkmsg $(SCIPDIR)
>  @$(LN_s) $(SOPLEXINC) $@
>
> $(SOPLEXLIBLINK): softlinkmsg $(SCIPDIR)
> @rm -f $@
>  @$(LN_s) $(SOPLEXLIB) $@
>
> $(ZIMPLINCLINK): softlinkmsg $(SCIPDIR)
> @rm -f $@
>  @$(LN_s) $(ZIMPLINC) $@
>
> $(ZIMPLLIBLINK): softlinkmsg $(SCIPDIR)
> ifeq ($(ZIMPL),true)
>  @rm -f $@
> @$(LN_s) $(ZIMPLLIB) $@
> endif
>
> It is now giving me this error:
>
> ** Creating necessary soft-links.
> rm: cannot remove directory
> `/c/SCIP/scipoptsuite-3.0.1/scip-3.0.1/lib/zimplinc/
> zimpl': Is a directory
> make[1]: *** [/c/SCIP/scipoptsuite-3.0.1/scip-3.0.1/lib/zimplinc/zimpl]
> Error 1
> make[1]: Leaving directory `/c/SCIP/scipoptsuite-3.0.1'
> make: *** [scipbinary] Error 2
>
>
> On Wed, May 15, 2013 at 6:08 AM, Stefan Vigerske <stefan at math.hu-berlin.de
> > wrote:
>
>> Hi,
>>
>> try removing also the line
>>   @rm -f $@
>> from scipoptsuite-3.0.1/Makefile.**doit
>>
>> Stefan
>>
>>
>> On 05/14/2013 11:37 PM, Jose L Walteros wrote:
>>
>>> Hi all,
>>>
>>> I am having some problems to compile the scipoptsuite-3.0.1 using minGW
>>>
>>> First, I used make ZIMPL=false READLINE=false ZLIB=false. and it worked,
>>> but when compiling the debugging option
>>>
>>> make ZIMPL=false READLINE=false ZLIB=false OPT=dbg
>>>
>>> I got:
>>>
>>> ** Creating necessary soft-links.
>>> rm: cannot remove directory
>>> `/c/SCIP/scipoptsuite-3.0.1/**scip-3.0.1/lib/spxinc':
>>> Is a directory
>>> make[1]: *** [/c/SCIP/scipoptsuite-3.0.1/**scip-3.0.1/lib/spxinc] Error
>>> 1
>>> make[1]: Leaving directory `/c/SCIP/scipoptsuite-3.0.1'
>>> make: *** [scipbinary] Error 2
>>>
>>> I tried to follow a previous post from Feb 19 2013 that suggested
>>> removing
>>> the extra -s on the Makefile.doit, but it does not work
>>>
>>>
>>>  I found the problem. In scipoptsuite-3.0.1/Makefile.**doit:
>>>>
>>>> $(SOPLEXINCLINK):    softlinkmsg $(SCIPDIR)
>>>>        @rm -f $@
>>>>        @$(LN_s) -s $(SOPLEXINC) $@
>>>>
>>>
>>> Could you please help me with this.
>>>
>>> -J
>>>
>>>
>>>
>>> ______________________________**_________________
>>> Scip mailing list
>>> Scip at zib.de
>>> http://listserv.zib.de/**mailman/listinfo/scip<http://listserv.zib.de/mailman/listinfo/scip>
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserv.zib.de/mailman/private/scip/attachments/20130516/d3a03cc7/attachment.html


More information about the Scip mailing list