[Ipopt] Compiling Ipopt with pgi compliers

Stefan Vigerske stefan at math.hu-berlin.de
Thu Jan 26 06:44:39 EST 2012


Hi,

> 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.

I guess pgi compilers are not actively supported.
You could post a bug report at
  https://projects.coin-or.org/BuildTools/newticket
but more details on the failure would be needed.
See https://projects.coin-or.org/BuildTools/wiki/user-troubleshooting

Stefan


>
>
> 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


-- 
Stefan Vigerske
Humboldt University Berlin, Numerical Mathematics
http://www.math.hu-berlin.de/~stefan


More information about the Ipopt mailing list