Re: building ccm3.6.6 on nonNCAR Cray


Subject: Re: building ccm3.6.6 on nonNCAR Cray
From: Gudrun Magnusdottir (gudrun@uci.edu)
Date: Tue Feb 16 1999 - 18:56:33 MST


Dear CCMers:

I am responding to myself, but I wanted to pass the information on to the

list. Thanks to the excellent NPACI consultants at the University of
Texas, I knew what would solve my problem before my message even appeared

on the user email list. And my problem has now been solved. You need to

have the latest version of netcdf (3.4) installed in order to build the
model. (Editor's note: netCDF 3.3.1 or later is required to build CCM3.6
netCDF 2.x had a different user interface). The consultants have now
installed netcdf 3.4 and I've built the model.

Cheers,
Gudrun

Gudrun Magnusdottir wrote:

> 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

--
Gudrun Magnusdottir  http://www.ess.uci.edu/~gudrun/
Dept. of Earth System Science
University of California, Irvine, CA 92697-3100
Tel: 949 824 3520  Fax: 949 824 3256 email: gudrun@uci.edu



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