[cam-users] public/private F90 issues
Cathryn Meyer
cathryn.meyer at yale.edu
Thu Oct 7 17:05:40 MDT 2004
This is more of a Fortran90 issue, but perhaps one of you could help me
out with it:
I am trying to read in the cloud fraction (cloud(i,k)) from
cloud_fraction.F90 into sst_data.F90 so I can recalculate sst's in
aquaplanet mode, however I am not sure what needs to be made public (or
in which code) in order for me to do this. I have tried simply adding
cloud_fraction or cldfrc to the 'use' list in the code sst_data.F90,
however when I try to compile the model using gmake I get the following
error:
------------------------------------------------------------
PGF90-S-0084-Illegal use of symbol cldfrc - not public entity of module
(/home/ccm33/cam1/models/atm/cam/src/ocnsice/dom/sst_data.F90: 38)
0 inform, 0 warnings, 1 severes, 0 fatal for sst_data
gmake: *** [sst_data.o] Error 2
-------------------------------------------------------------
However the procedure cldfrc is stated as public in cloud_fraction.F90.
So I am not sure exactly what needs to be made public in order for all
this to work. Any advice any of you could offer would be most appreciated.
Thanks,
Cathy
--
Cathryn Meyer
Department of Geology and Geophysics
Yale University
cathryn.meyer at yale.edu
(203)432-1959
More information about the cam-users
mailing list