Re: F90 version of CCM3


Subject: Re: F90 version of CCM3
From: Wesley Jones (wesley@asd.sgi.com)
Date: Mon Aug 18 1997 - 17:53:14 MDT


For those that are interested in F90 on SGI/CRAY platforms, a new f90
compiler will be released for the SGI/CRAY Origin200(0), Onyx2, Octane
and O2. To compile and run on these platforms with the 7.2 compiler
(after it is released.)

1 line of code needs to be changed
        Line number 237 of wrapup.F should be changed from

#if ( defined SUN ) || ( defined SGI )
        to
#if ( defined SUN )

Remove -mpio from the "SGI" makefile

Then

>setenv F77 "f90 -cpp"
>setenv FC "f90"
>make

This will produce a shared-memory parallel version of the code.

I have not done extensive testing of CCM3.2 with the f90 compiler

WEs
Erik Kluzek wrote:
>
> Mike
>
> >
> > Does anyone know if there is a FORTRAN90 compatible version of CCM3
> > available, or has anyone attempted to compile CCM3 with f90 on NCAR's
> > CRAY C90 'antero'? If yes, what changes were necessary?
> >
>
> A F90 version of CCM3 is NOT available. However, you can compile
> CCM3 and run with f90 on antero -- actually this is your only choice. I think
> the only change was to change the Makefile so that it looked for the right
> cpp. No code changes. And I believe you can compile and run with f90 on the
> Suns as well. What you can't do is compile/run with f90 on the SGI. The reason
> being that Cray and Sun support both the Cray f77 pointers as well as f90 pointers
> whereas SGI only supports proper f90 pointers. Changing the Cray f77 pointers
> to f90 pointers in the model is a MAJOR EFFORT. They are all over the place.
> We do plan on doing that EVENTUALLY. But, it may be quite some time
> before it's completed and released. But, on the Cray's you can use f90 on
> CCM3 with no real problem...
>
> Erik
>
> Erik Kluzek, (CGD at NCAR)
> National Center for Atmospheric Research
> Boulder CO, (off) (303)497-1326 (fax) (303)497-1324
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

-- 
Wesley B. Jones, PhD                        wesley@asd.sgi.com          
Supercomputer Applications                  Phone:
(415)-933-2992               
Silicon Graphics Computer Systems           FAX: (415)-932-2992



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