[Wrf-users] wrfcamx Compiling
Dmitry N. Mikushin
maemarcus at gmail.com
Mon Sep 24 11:16:09 MDT 2012
Dear Hossein,
Fortran compiler should insert the right function version, depending on the type of argument (such functions are called intrinsics). So the following form would be equivalent:
pi = acos(-1.0_8)
Here _8 means 8-byte float (real), i.e. double precision. Try to replace your dacos with this.
- D.
----- Original message -----
> Dear all
>
> When i use "make" command to compile wrfcamx program i got this error:
>
> ifort
> -c -o interp_cart.o -O2 -mieee-fp -align dcommons -convert big_endian
> -ipo -static /home/mechanic/NETCDF/include interp_cart.f90
> interp_cart.f90(28):
> warning #7319: This argument's data type is incompatible with this
> intrinsic procedure; procedure assumed EXTERNAL. [DACOS]
> pi = dacos(-1.0)
> ---------------------^
> interp_cart.f90(28): error #6404: This name does not have a type, and
> must have an explicit type. [DACOS] pi = dacos(-1.0)
> ---------------^
> compilation aborted for interp_cart.f90 (code 1)
> make: *** [interp_cart.o] Error 1
> --------
> Can anybody help me with this?
>
> Thanks
> in advance
> Hossein
More information about the Wrf-users
mailing list