[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20040809: netCDF "make test" failure on Linux AMD Opteron using pgf90



Lin Li,

> To: address@hidden
> From: Lin Li <address@hidden>
> Subject: AMD Opteron version
> Organization: Ohio State
> Keywords: 200408091438.i79EcbaW005418 netCDF test AMD Opteron

The above message contained the following:

> I was trying to install netcdf-3.5.0/1 on Redhat Fedora-64 for AMD Opteron
> box. The configure, make run ok. But the make test command produced the
> following messages:
> 
> netcdf_test.f90:
> example_good.cdl example.cdl differ: byte 881, line 37
> *** Failure ***
> *** example_good.cdl    2000-04-05 15:33:14.000000000 -0400
> --- example.cdl 2004-08-09 10:27:28.000000000 -0400
> ***************
> *** 34,43 ****
>     953, 954, 955,
>     956, 957, 958,
>     959, 960, 961,
> !   962, 963, 964,
> !   965, 966, 967,
> !   968, 969, 970,
> !   971, 972, 973 ;
>   
>    lat = -90, -87.5, -85, -82.5 ;
>   
> --- 34,43 ----
>     953, 954, 955,
>     956, 957, 958,
>     959, 960, 961,
> !   950, 951, 952,
> !   953, 954, 955,
> !   956, 957, 958,
> !   959, 960, 961 ;
>   
>    lat = -90, -87.5, -85, -82.5 ;
>   
> make[2]: *** [test] Error 1
> make[2]: Leaving directory `/home/lli/packages/netcdf-3.5.0/src/f90'
> make[1]: *** [subdir_target] Error 1
> make[1]: Leaving directory `/home/lli/packages/netcdf-3.5.0/src'
> make: *** [f90/test] Error 2
> 
> The same version (3.5.0) on Redhat 7.3 runs ok. The fortran compilers on
> both machines are PGI kits. 

I suspect that you are using version 5.1 of the Portland Group
Fortran-90 compiler (pgf90).  This compiler has a bug that causes array
sections to be incorrectly passed as arguments.  The solution is to use
a different version of the compiler.  I believe Portland Group has a fix
for this bug.

If my suspicion is incorrect, then please tell me.

> Thanks,
> 
> Lin
> System Admin

Regards,
Steve Emmerson

> NOTE: All email exchanges with Unidata User Support are recorded in the
> Unidata inquiry tracking system and then made publically available
> through the web.  If you do not want to have your interactions made
> available in this way, you must let us know in each email you send to us.