[Ipopt] Compiling Ipopt with pgi compliers

Jonathan Hogg jonathan.hogg at stfc.ac.uk
Thu Jan 26 07:10:51 EST 2012


Pascal,

Can you send a copy of your config.log so we can see what the actual 
problem was?

Jonathan.

On 24/01/12 14:57, Cote, Pascal (RTA) wrote:
>
> 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.
>
>
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt


-- 
Scanned by iCritical.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20120126/fc59320e/attachment.html>


More information about the Ipopt mailing list