[cam-users] error at trcaers_suite.F90

Brian Eaton eaton at ucar.edu
Tue Jul 13 10:57:59 MDT 2004


CAM-3.0 still contains code that requires autopromotion of real variables to
double.  The ifort option for this is -autodouble.  Setting this option
will also autopromote real literals, which should solve the problem you
report below.

On Fri, Jul 02, 2004 at 12:35:47PM +0100, Ananth wrote:
> When I tried to compile CAM 3.0 using ifort intel
> compiler,it gave error in tracers_suite.F90
> file,saying type of actual & dummy arguments differ.
> Functions causing error are setpindxtr & setsmoothtr.
> 
> o/p is:
> fortcom: Error: tracers_suite.F90, line 187: The type
> of the actual argument differs from the type of the
> dummy argument.   [800.]
>    indx = setpindxtr(800.)
> fortcom: Error: tracers_suite.F90, line 190: The type
> of the actual argument differs from the type of the
> dummy argument.   [.876]
>      call setsmoothtr(indx,q,.876)
> 
> what changes to the code should I make?
> Thanx in advance....
> 
> ________________________________________________________________________
> Yahoo! India Careers: Over 50,000 jobs online
> Go to: http://yahoo.naukri.com/
> _______________________________________________
> cam-users mailing list
> cam-users at ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/cam-users


More information about the cam-users mailing list