Hi Phillippe,
I have just tried the same version of netcdf with pgi 5.1-6 and
the 'make test' runs all the way through. However, inspecting
the output shows that one of the test failed, namely 'ncvarget'.
Nevertheless the 'Total number of failures' reported is 0!!! I
haven't seen the problem that you describe below.
Cheers, Jacob
* Philippe Poilbarbe <philippe.poilbarbe@xxxxxxxxxxxx> [2005-01-12 14:51]:
> Hello,
>
> I have a test problem with F90 and Version 3.6.0.
>
> At the end of this message there is the output of the test program
> (netcdf_test.f90).
> I have added an another trace output of the 'pressure' variable (print
> *, pressure) to
> make sure that it is normal.
>
> The environment is:
> uname -a: Linux px-105.ferme 2.6.7-1.492custom #1 SMP Fri Jul 23
> 10:32:17 UTC 2004 i686 athlon i386 GNU/Linux
> Portland group F90 compiler: 5.1.3
> C compiler: gcc 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
>
> Did anybody have the same kind of problem ?
>
> Thanks,
> Ph.P.
>
> ======================
>
> netcdf_test.f90:
> ./netcdf_test
> 950.0000 951.0000 952.0000 953.0000
> 954.0000 955.0000 956.0000 957.0000
> 958.0000 959.0000 960.0000 961.0000
> 962.0000 963.0000 964.0000 965.0000
> 966.0000 967.0000 968.0000 969.0000
> 970.0000 971.0000 972.0000 973.0000
> example_good.cdl example.cdl sont différents: octet 881, ligne 37
> *** Failure ***
> *** example_good.cdl 2000-04-05 21:33:14.000000000 +0200
> --- example.cdl 2005-01-11 10:21:31.624884000 +0100
> ***************
> *** 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] Erreur 1
> make[2]: Quitte le répertoire
> `/data/du2_dev/dev/PRODUITS/src/netcdf/Distrib/netcdf-3.6.0/src/f90'
> make[1]: *** [subdir_target] Erreur 1
> make[1]: Quitte le répertoire
> `/data/du2_dev/dev/PRODUITS/src/netcdf/Distrib/netcdf-3.6.0/src'
> make: *** [f90/test] Erreur 2
>
>
--
Jacob Weismann Poulsen <jwp@xxxxxx>
Fingerprint: 9315 DC43 D2E4 4F70 3AA8 F8F0 9DA0 B765 F5C8 7D26
>From owner-netcdfgroup@xxxxxxxxxxxxxxxx 12 2005 Jan -0700 08:26:34
Message-ID: <wrx6522d5xx.fsf@xxxxxxxxxxxxxxxxxxxxxxx>
Date: 12 Jan 2005 08:26:34 -0700
From: Ed Hartnett <ed@xxxxxxxxxxxxxxxx>
In-Reply-To: <41E5295D.5030301@xxxxxxxxxxxx>
To: Philippe Poilbarbe <philippe.poilbarbe@xxxxxxxxxxxx>
Subject: Re: Test problem with F90 and V3.6.0
Received: (from majordo@localhost)
by unidata.ucar.edu (UCAR/Unidata) id j0CFQg8E027336
for netcdfgroup-out; Wed, 12 Jan 2005 08:26:42 -0700 (MST)
Organization: UCAR/Unidata
Keywords: 200501121526.j0CFQZv2027328
Cc: netcdfgroup@xxxxxxxxxxxxxxxx
References: <41E5295D.5030301@xxxxxxxxxxxx>
Lines: 34
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-netcdfgroup@xxxxxxxxxxxxxxxx
Precedence: bulk
Reply-To: Ed Hartnett <ed@xxxxxxxxxxxxxxxx>
Philippe Poilbarbe <philippe.poilbarbe@xxxxxxxxxxxx> writes:
> Hello,
>
> I have a test problem with F90 and Version 3.6.0.
>
> At the end of this message there is the output of the test program
> (netcdf_test.f90).
> I have added an another trace output of the 'pressure' variable (print
> *, pressure) to
> make sure that it is normal.
>
> The environment is:
> uname -a: Linux px-105.ferme 2.6.7-1.492custom #1 SMP Fri Jul 23
> 10:32:17 UTC 2004 i686 athlon i386 GNU/Linux
> Portland group F90 compiler: 5.1.3
> C compiler: gcc 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
>
> Did anybody have the same kind of problem ?
>
This problem is caused by a bug in that version of the Portland F90
compiler.
Portland has a free patch on their site, I believe. Here we just
upgraded to the latest version of the Portland compiler and that fixes
the problem.
Please let me know if this doesn't work for you.
Thanks!
Ed Hartnett
Unidata