Opened 12 years ago

Closed 12 years ago

#298 closed defect (fixed)

Use typeSizes before in array.f90

Reported by: Ian Culverwell Owned by: Ian Culverwell
Priority: normal Milestone: 6.1
Component: ropp_utils Version: 6.0
Keywords: array.f90 Cc:

Description

In ROMSAF Helpdesk enquiry 147 ROPP user Ben Ruston reports that:

For the PGI 12.x compiler I had to add:

use typeSizes


before the "implicit none" statement in arrays.f90.

I've tested this change with intel and IBM-AIX compiler (only tested compile on IBM). could this change be made to the ROPP repository?

thanks
Ben

We'll consider this for ROPP6.1, after due testing on the standard compilers.

Change history (2)

comment:1 by Ian Culverwell, 12 years ago

Included in ROPP6.1.

comment:2 by Ian Culverwell, 12 years ago

Resolution: fixed
Status: newclosed

Causes problems for some compilers if netcdf not already installed (ie the build is looking for the netcdf typesizes module rather than the ropp typesizes module, even if the latter has (just) been built. Users need to be aware of this, so put this in ropp_utils/arrays/arrays.f90:

! The "use typesizes" line below is needed for the PGI 12.x compiler.
! If netcdf is not installed, some compilers will need it commented out.
  use typeSizes

But if netcdf is installed (as it almost certainly will be!), then no problems with the test folder, so close ticket.

Note: See TracTickets for help on using tickets.