building ccm3.6.6 on nonNCAR Cray


Subject: building ccm3.6.6 on nonNCAR Cray
From: Gudrun Magnusdottir (gudrun@uci.edu)
Date: Fri Feb 12 1999 - 11:18:24 MST


Hi:

I want to run CCM3 on Cray J90 at the Univ. of Texas. I encounter
problems compiling when running the script build.cray_nonncar.csh.

First the following warning appears in several places:
f90 -c -I/usr/local/include advnce.f
CC-47 cpp: WARNING File = /work/uci/ux414307/ccm/run/obj/./misc.h,
Line = 3
  Macro "CRAY" has an incompatible redefinition.

  #define CRAY

Errors occur in the routine basinmat:
      rcode = NF_OPEN(locfn,NF_NOWRITE, ncid)
              ^
cf90-232 f90: ERROR BASINMAT, File = basinmat.f, Line = 259, Column =
15
  IMPLICIT NONE is specified in the local scope, therefore an explicit
type must
 be specified for function "NF_OPEN".
                            ^
cf90-113 f90: ERROR BASINMAT, File = basinmat.f, Line = 259, Column =
29
  IMPLICIT NONE is specified in the local scope, therefore an explicit
type must
 be specified for data object "NF_NOWRITE".

      RCODE = NF_INQ_DIMID(NCID, 'longitude', loni_id)
              ^
cf90-232 f90: ERROR BASINMAT, File = basinmat.f, Line = 264, Column =
15
  IMPLICIT NONE is specified in the local scope, therefore an explicit
type must
 be specified for function "NF_INQ_DIMID".

      IF (RCODE .NE. NF_NOERR) CALL HANDLE_ERR('BASINMAT',RCODE)
                     ^
cf90-113 f90: ERROR BASINMAT, File = basinmat.f, Line = 265, Column =
22
  IMPLICIT NONE is specified in the local scope, therefore an explicit
type must
 be specified for data object "NF_NOERR".

      RCODE = NF_INQ_DIM(NCID, loni_id, lon_nam, nlon_ncd)
              ^
cf90-232 f90: ERROR BASINMAT, File = basinmat.f, Line = 269, Column =
15
  IMPLICIT NONE is specified in the local scope, therefore an explicit
type must
 be specified for function "NF_INQ_DIM".

      RCODE = NF_INQ_VARID(NCID, 'DRNMAT', matr_id)
              ^
cf90-232 f90: ERROR BASINMAT, File = basinmat.f, Line = 292, Column =
15
  IMPLICIT NONE is specified in the local scope, therefore an explicit
type must
 be specified for function "NF_INQ_VARID".

      rcode = NF_GET_VARA_INT (ncid,matr_id,start,count,
CC-47 cpp: WARNING File = /work/uci/ux414307/ccm/run/obj/./misc.h,
Line = 3
  Macro "CRAY" has an incompatible redefinition.

  #define CRAY

              ^
          ^

cf90-232 f90: ERROR BASINMAT, File = basinmat.f, Line = 294, Column =
15
  IMPLICIT NONE is specified in the local scope, therefore an explicit
type must
 be specified for function "NF_GET_VARA_INT".

      rcode = NF_CLOSE(ncid)
              ^
cf90-232 f90: ERROR BASINMAT, File = basinmat.f, Line = 300, Column =
15
  IMPLICIT NONE is specified in the local scope, therefore an explicit
type must
 be specified for function "NF_CLOSE".

CC-47 cpp: WARNING File = /work/uci/ux414307/ccm/run/obj/./misc.h,
Line = 3
  Macro "CRAY" has an incompatible redefinition.

  #define CRAY
          ^

f90 -c -I/usr/local/include bilin.f
cf90: Cray CF90 Version 3.1.0.2 (f52p33g32137a44) Thu Feb 11, 1999
17:48:26
cf90: COMPILE TIME 0.505529 SECONDS
cf90: MAXIMUM FIELD LENGTH 521740 DECIMAL WORDS
cf90: 593 SOURCE LINES
cf90: 8 ERRORS, 0 WARNINGS, 0 OTHER MESSAGES, 0 ANSI
cf90: CODE: 0 WORDS, DATA: 0 WORDS

If someone has dealt with this before I would appreciate suggestions
for a quick fix.

Thanks,
Gudrun



This archive was generated by hypermail 2b27 : Thu Jun 01 2000 - 09:27:02 MDT