[Ipopt] Errors from f2c when compiling Blas and Lapack

Tove Bergdahl tove.bergdahl at modelon.com
Wed Jan 11 05:41:04 EST 2012


Dear all,

I'm trying to compile Ipopt with Microsoft Visual Studio and to do that I'm following the steps in README.txt found in BASDIR\Ipopt\MSVisualStudio\v8. The problem is that I'm getting errors from f2c.exe when compiling third party code in Blas and Lapack with the convert bat-files.

I'm using Ipopt-3.10.1 and f2c.exe from the link in the README file: http://www.netlib.org/f2c/mswin/ (this was version 20100827).


The error when compiling Blas is:

..\..\..\..\ThirdParty\Blas\xerbla.f:
   xerbla:
Error on line 35 of ..\..\..\..\ThirdParty\Blas\xerbla.f: Declaration error for len_trim: unknown intrinsic function


The errors when compiling Lapack are:

..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f:
   dlarft:
Error on line 149 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: syntax error
Error on line 150 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: misplaced ENDDO
Error on line 160 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: nested loops with variable lastv
Error on line 161 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: syntax error
Error on line 162 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: misplaced ENDDO
Error on line 183 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: Execution error endif out of place
Warning on line 184 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: there is a branch to label 20 from outside block
Error on line 185 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: Execution error else out of place
Error on line 187 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: nested loops with variable i
Error on line 204 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: nested loops with variable lastv
Error on line 205 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: syntax error
Error on line 206 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: misplaced ENDDO
Error on line 220 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: nested loops with variable lastv
Error on line 221 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: syntax error
Error on line 222 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: misplaced ENDDO
Error on line 243 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: Execution error endif out of place
Error on line 245 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: Execution error endif out of place
Warning on line 246 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: there is a branch to label 40 from outside block
Error on line 247 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: Execution error endif out of place
Error on line 252 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: DO loop or BLOCK IF not closed


Is this something that you recognize?


Thanks and best regards,
Tove


Tove Bergdahl, MSc
Software developer & Technical support

Phone direct: +46 46 286 2209
Email: tove.bergdahl at modelon.com<mailto:erik.aberg at modelon.com>

[cid:image001.png at 01CCD051.702A23C0]
________________________________
Modelon AB
Ideon Science Park
SE-223 70 Lund, Sweden

Phone: +46 46 286 2200
Fax: +46 46 286 2201


Web: http://www.modelon.com<http://www.modelon.com/>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20120111/0605a798/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 5754 bytes
Desc: image001.png
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20120111/0605a798/attachment.png>


More information about the Ipopt mailing list