Re: run with Fortran 90


Subject: Re: run with Fortran 90
From: Erik Kluzek (erik@ra.cgd.ucar.edu)
Date: Tue Oct 21 1997 - 09:29:04 MDT


> I'm trying to run CCM3 with Fortran 90 on non-Cray machine, but now encount a
> problem. The problem is that when the model get the value of th varible hfield
> whose address is defined throught POINTER statement and LOC statement, it
> displays an error "the memory cann't be read or written". Did anyone encount
> this problem and know how to resolve it?

CCM3 uses Cray pointers (not F90-pointers), which normally won't even compile under
F90 on non-Cray machines. In your case it seem's to compile, but obviously doesn't
work correctly. SUN has F90 compilers that allow Cray pointers. So on SUN machines
you can use either F90 or F77. CCM3 doesn't work under F90 on the SGI, but does
under F77. And Cray pointers are allowed in F90 on the Crays. So the first
suggestion would be to try a F77 compiler if you have one. If not see if you can
get one, or use a different machine...

Erik

Erik Kluzek, (CGD at NCAR)
National Center for Atmospheric Research
Boulder CO, (off) (303)497-1326 (fax) (303)497-1324
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!



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