[OS X] VIz5D on MacOS-X 10.4 f77

Stewart Dickson dickson at cs.unca.edu
Mon Oct 17 17:13:46 EDT 2005


Hey, Andy,

Thanks for the suggestion!

It looks like installing g77 from Fink did the trick.

BTW...  Hey, I work for NOAA, too -- small world, eh?
http://www.ncdc.noaa.gov/oa/ncdc.html

Cheers,

-Stewart Dickson, Scientific Matter Expert -- Visualization
NOAA National Climatic Data Center
151 Patton Avenue
Asheville, North Carolina 28801-5001
<Stewart.Dickson at noaa.gov>

Andy Jacobson wrote:

>>
>
> Hi Stewart,
>
>     I'm not much of a fortran person, but from this error message:
>
>> fort77  -g -O2 -c -o igmk3d.o `test -f igmk3d.f || echo './'`igmk3d.f
>> igmk3d.f:
>>    igmk3d:
>>    ignm3d:
>>    igqt3d:
>>    igop3d:
>>    igmp3d:
>>    iggt3d:
>> Error on line 172: Statement order error: declaration after DATA
>>    igpt3d:
>>    igcf3d:
>
>
>
>     ...it appears to me that while compiling the file igmk3d.f, the  
> compiler found a variable declaration after a fortran DATA  
> statement.  Some observations:
>
>     (1) It would appear you are not using g77 as your fortran  
> compiler.  You might find that switching to g77 (obtain it via fink),  
> your problem magically goes away.
>
>     (2) It might also be possible to edit the source code and change  
> the order of the statements somwhere around line 172.  This, however,  
> would be treating symptoms and not causes, and I do not recommend  
> this course of action.  I think your problem lies in the particular  
> fortran compiler.
>
>     Keep us advised,
>
>         Andy
>
> -- 
> Andy Jacobson
>
> andy.jacobson at noaa.gov
>
> Program in Atmospheric and Oceanic Sciences
> Sayre Hall, Forrestal Campus
> Princeton University
> PO Box CN710 Princeton, NJ 08544-0710 USA
>
> Tel: 609/258-5260  Fax: 609/258-2850
>
>
>
>



More information about the OSX mailing list