[Ipopt] Compiling Ipopt with pgi compliers

Cote, Pascal (RTA) Pascal.Cote at riotinto.com
Tue Jan 24 09:57:01 EST 2012


Hello,

I would like to know if someone had successfully compiled Ipopt with pgi compliers (pgcpp, pgcc and pgf90 version 11.10) on a linux OS. I tried many configure options but the configure script always failed at that following step:

>> checking how to get verbose linking output from pgf90... -v
>> checking for Fortran libraries of pgf90...  -l -L/opt/pgi/linux86-64/11.10/lib -L/usr/lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.6 -lpgmp -lpthread -lpgf90 ->> lpgf90_rpm1 -lpgf902 -lpgf90rtl -lpgftnrtl -lnspgc -lpgc -lrt -lm
>> configure: Corrected Fortran libraries: -Wl,--start-group  -l -L/opt/pgi/linux86-64/11.10/lib -L/usr/lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.6 -lpgmp -lpthread -lpgf90 -lpgf90_rpm1 -lpgf902 -lpgf90rtl -lpgftnrtl -lnspgc -lpgc -lrt -lm -Wl,--end-group
>> checking for dummy main to link with Fortran libraries... unknown
>> configure: error: linking to Fortran libraries from C fails
>> See `config.log' for more details.
>> configure: error: /bin/sh './configure' failed for Ipopt


It seems that the script is not enable to link a fortran lib with a C program.


Thank you.
Pascal


Avis:
Ce message et toute pi?ce jointe sont la propri?t? de Rio Tinto et sont destin?s seulement aux personnes ou ? l'entit? ? qui le message est adress?. Si vous avez re?u ce message par erreur, veuillez le d?truire et en aviser l'exp?diteur par courriel. Si vous n'?tes pas le destinataire du message, vous n'?tes pas autoris? ? utiliser, ? copier ou ? divulguer le contenu du message ou ses pi?ces jointes en tout ou en partie.

Notice:
This message and any attachments are the property of Rio Tinto and are intended solely for the named recipients or entity to whom this message is addressed. If you have received this message in error please inform the sender via e-mail and destroy the message. If you are not the intended recipient you are not allowed to use, copy or disclose the contents or attachments in whole or in part.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20120124/eeb51285/attachment.html>


More information about the Ipopt mailing list