g95 netcdf / mac architectures

Felipe Pimenta felipepimenta at gmail.com
Sun Mar 21 10:49:30 PDT 2010


Dear users,

I've installed g95 and netcdf in two macs. The first is a MacBook Pro
(Intel 2.53 GHz) with Mac OS X 10.6.2.

After installation I obtain:

$port installed
g95 @0.91_2+darwin_10+gcc42 (active)
netcdf @4.1_1+g95 (active)

The second mac  is PowerPC G5, 2.5 GHz with Mac OS X 10.5.8. The
installation results on:

$port installed
g95 @0.91_2 (active)
netcdf @4.1_1+g95 (active)

(differnt only for the variant on g95). These computers compile a code
in different ways, see below.

The PowerPC compilation is smooth. The Intel generates a long list of
warnings during the compilation. Here's a piece of these warnings:

g95	 -O5   -c -o areas_masks.o areas_masks.f
areas_masks.f: In function ‘areas_masks__’:
areas_masks.f:44: warning: will never be executed
areas_masks.f:37: warning: will never be executed
areas_masks.f:32: warning: will never be executed
areas_masks.f:25: warning: will never be executed
areas_masks.f:17: warning: will never be executed
g95	 -O5   -c -o advave.o advave.f
advave.f: In function ‘advave_’:
advave.f:160: warning: will never be executed
advave.f:151: warning: will never be executed
...etc

I've noticed that some lines are in the start of a "do loop". Both
generate an executable, however.

Are the warnings related to their architectures? Any hints on how to fix this?

Many thanks,

Felipe

-- 
==========================================
Felipe M. Pimenta
R. Murta 147, Campeche, Florianópolis
Santa Catarina, Brasil, 88066-125
Phone: (55) 48  3334-1636
==========================================


More information about the macports-users mailing list