[gmx-users] FFTW installation error: cannot compile a simple Fortran program

Florian Haberl Florian.Haberl at chemie.uni-erlangen.de
Wed Apr 19 14:05:34 CEST 2006

On Wednesday 19 April 2006 13:16, Ge Sunny wrote:
> Hi,
> I am trying to install FFTW from fftw3-3.0.1-4.src.rpm on Fedora Core 4:
> $ rpmbuild --rebuild fftw3-3.0.1-4.src.rpm
> GNU Fortran 3.2.3 g77 is available in the system. However, the installation
> fails with the error in Fortran compilation:
> ... ...
> checking for g77... g77
> checking whether we are using the GNU Fortran 77 compiler... no
> checking whether g77 accepts -g... yes
> checking how to get verbose linking output from g77... configure: WARNING:
> compilation failed
> checking for Fortran 77 libraries...
> checking for dummy main to link with Fortran 77 libraries... none
> checking for Fortran 77 name-mangling scheme... configure: error: cannot
> compile a simple Fortran program
> See `config.log' for more details.
> error: Bad exit status from /var/tmp/rpm-tmp.15046 (%build)
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.15046 (%build)
> I would be grateful if anyone has any idea on how to solve the error.

Your system don`t have any working fortran compiler, reinstall it, or try 
another compiler like Intel icc and ifc.  

Have you tried to compile normal source code, does it work, or any other 
fortran code?

> Thanks
> Sunny
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today - it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> _______________________________________________
> gmx-users mailing list    gmx-users at gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-users
> Please don't post (un)subscribe requests to the list. Use the
> www interface or send it to gmx-users-request at gromacs.org.
> Can't post? Read http://www.gromacs.org/mailing_lists/users.php



 Florian Haberl                        
 Universitaet Erlangen/ Nuernberg
 Naegelsbachstr 25
 D-91052 Erlangen
 Mailto: florian.haberl AT chemie.uni-erlangen.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-users/attachments/20060419/c1297488/attachment.sig>

More information about the gromacs.org_gmx-users mailing list