Mike,
That is because your "ALAT" is also in the dummy list.
It is a good practice, that you can compile your fortran code
use your fortran compiler first. If there is no error, then
try WRAPIT.
Regards,
Wei Huang
huangwei_at_ucar.edu
VETS/CISL
National Center for Atmospheric Research
P.O. Box 3000 (1850 Table Mesa Dr.)
Boulder, CO 80307-3000 USA
(303) 497-8924
On Oct 12, 2009, at 8:40 AM, Michael Notaro wrote:
> Why does the following yield an "Invalid declaration...of ALAT" error
> from wrapit?
> How can I use COMMON blocks without getting an error?
>
> C NCLFORTSTART
> subroutine prog(ALAT)
> real ALAT
> C NCLEND
> COMMON/SNOW/ALAT
> stop
> end
>
> Thanks, Mike
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Oct 12 2009 - 08:47:41 MDT
This archive was generated by hypermail 2.2.0 : Thu Oct 15 2009 - 09:30:48 MDT