RE: [FLASH-USERS] Compilation problem with FLASH2.4

From: Andrew Siegel <siegela@mcs.anl.gov>
Date: Thu Oct 07 2004 - 15:44:48 CDT

You need to include -ipo on the link line if you compile with either -ipo or
-fast. -andrew

-----Original Message-----
From: owner-flash-users@flash.uchicago.edu
[mailto:owner-flash-users@flash.uchicago.edu] On Behalf Of Manodeep Sinha
Sent: Thursday, October 07, 2004 2:39 PM
To: flash-users@flash.uchicago.edu
Subject: [FLASH-USERS] Compilation problem with FLASH2.4

I am trying to compile FLASH2.4 on a 2.4.26-gentoo-r6 linux machine with
ifc as my fortran compiler. The error generated is in the final linking
phase with the following message --

-----------------------------------------------------------------------
/usr/bin/ld:Cosmology.o: file format not recognized; treating as linker
script
/usr/bin/ld:Cosmology.o:1: syntax error
gmake[1]: *** [flash2] Error 1
----------------------------------------------------------------------

I looked at the .o files and a significant number of them are of size 45
bytes and contain only the following line

----------------------------------------------------------------------
Intel(R) IPO compilation -- dummy object file
----------------------------------------------------------------------

I am using ifc v8.0 & mpich 1.2.5. mpif90 has not been compiled properly
on my system and will not compile FLASH -- hence the choice of ifc (and
icc).

Thanks in advance,
Manodeep
Received on Thu Oct 7 15:52:24 2004

This archive was generated by hypermail 2.1.8 : Thu Aug 31 2006 - 21:20:48 CDT