Problem with shape/reshape with netCDF F90 library

Charlie Zender <[email protected]> Sun, 12 Oct 2003 17:07:25 -0700
Newsgroups gmane.comp.compilers.g95
Message-ID <[email protected]>
Hi Andy,

I tried building the netCDF Fortran90 library with g95 snapshot
dated 20031010. The errors are printed below. I will send the three
files typeSizes.f90, netcdf.f90, and netcdf_expanded.f90 as
separate attachments in a followup email.

Thanks,
Charlie
-- 
Charlie Zender, zender at uci dot edu, (949) 824-2987, Department of
Earth System Science, University of California, Irvine CA 92697-3100

make[2]: Entering directory `/data/zender/tmp/netcdf-3.5.1-beta10/src/f90'
g95 -c -O typeSizes.f90
g95 -c -O netcdf.f90
 In file netcdf_expanded.f90:2480

     Included at netcdf.f90:53

     values(:, :, :, :, :, :, :) = reshape(defaultIntArray(:), shape(values))
                                                             1
Error: 'shape' argument of 'reshape' intrinsic at (1) must be an array of constant size
 In file netcdf_expanded.f90:2446

     Included at netcdf.f90:53

     values(:, :, :, :, :, :) = reshape(defaultIntArray(:), shape(values))
                                                          1
Error: 'shape' argument of 'reshape' intrinsic at (1) must be an array of constant size
 In file netcdf_expanded.f90:2412

     Included at netcdf.f90:53

     values(:, :, :, :, :) = reshape(defaultIntArray(:), shape(values))
                                                       1
Error: 'shape' argument of 'reshape' intrinsic at (1) must be an array of constant size
 In file netcdf_expanded.f90:2378

     Included at netcdf.f90:53

     values(:, :, :, :) = reshape(defaultIntArray(:), shape(values))
                                                    1
Error: 'shape' argument of 'reshape' intrinsic at (1) must be an array of constant size
 In file netcdf_expanded.f90:2344

     Included at netcdf.f90:53

     values(:, :, :) = reshape(defaultIntArray(:), shape(values))
                                                 1
Error: 'shape' argument of 'reshape' intrinsic at (1) must be an array of constant size
 In file netcdf_expanded.f90:2310

     Included at netcdf.f90:53

     values(:, :) = reshape(defaultIntArray(:), shape(values))
                                              1
Error: 'shape' argument of 'reshape' intrinsic at (1) must be an array of constant size
 In file netcdf_expanded.f90:2276

     Included at netcdf.f90:53

     values(:) = reshape(defaultIntArray(:), shape(values))
                                           1
Error: 'shape' argument of 'reshape' intrinsic at (1) must be an array of constant size
 In file netcdf_expanded.f90:2242

     Included at netcdf.f90:53

     values(:, :, :, :, :, :, :) = reshape(defaultIntArray(:), shape(values))
                                                             1
Error: 'shape' argument of 'reshape' intrinsic at (1) must be an array of constant size
 In file netcdf_expanded.f90:2208

     Included at netcdf.f90:53

     values(:, :, :, :, :, :) = reshape(defaultIntArray(:), shape(values))
                                                          1
Error: 'shape' argument of 'reshape' intrinsic at (1) must be an array of constant size
 In file netcdf_expanded.f90:2174

     Included at netcdf.f90:53

     values(:, :, :, :, :) = reshape(defaultIntArray(:), shape(values))
                                                       1
Error: 'shape' argument of 'reshape' intrinsic at (1) must be an array of constant size
 In file netcdf_expanded.f90:2140

     Included at netcdf.f90:53

     values(:, :, :, :) = reshape(defaultIntArray(:), shape(values))
                                                    1
Error: 'shape' argument of 'reshape' intrinsic at (1) must be an array of constant size
 In file netcdf_expanded.f90:2106

     Included at netcdf.f90:53

     values(:, :, :) = reshape(defaultIntArray(:), shape(values))
                                                 1
Error: 'shape' argument of 'reshape' intrinsic at (1) must be an array of constant size
 In file netcdf_expanded.f90:2072

     Included at netcdf.f90:53

     values(:, :) = reshape(defaultIntArray(:), shape(values))
                                              1
Error: 'shape' argument of 'reshape' intrinsic at (1) must be an array of constant size
 In file netcdf_expanded.f90:2038

     Included at netcdf.f90:53

     values(:) = reshape(defaultIntArray(:), shape(values))
                                           1
Error: 'shape' argument of 'reshape' intrinsic at (1) must be an array of constant size
make[2]: *** [netcdf.o] Error 1
make[2]: Leaving directory `/data/zender/tmp/netcdf-3.5.1-beta10/src/f90'
make[1]: *** [subdir_target] Error 1
make[1]: Leaving directory `/data/zender/tmp/netcdf-3.5.1-beta10/src'
make: *** [f90/all] Error 2
zender@ashes:/data/zender/tmp/netcdf-3.5.1-beta10/src$


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php