[MITgcm-support] compile problems with regional statistics
Brian Rose
brose at MIT.EDU
Thu Sep 30 15:42:44 EDT 2010
Hi all,
I'm trying to turn on the regional statistics feature in the diagnostics package.
When I modify DIAG_OPTIONS.h to include
#define DIAGSTATS_REGION_MASK
I get the following compiler errors:
fortcom: Error: diagnostics_readparms.f, line 1775: A COMMON block data object must not be an automatic object. [DIAGST_REGMASK]
Real*8 diagSt_regMask(1-OLx:sNx+Olx,1-Oly:sNy+Oly,
-------------------^
fortcom: Error: diagnostics_readparms.f, line 1776: A specification expression object must be a dummy argument, a COMMON block object, or an object accessible through host or use association [SIZREGMSK]
& sizRegMsk,nSx,nSy)
-------------------------------^
compilation aborted for diagnostics_readparms.f (code 1)
I'm compiling with ifort+mpi on beagle. My optfile is attached below. I'm not sure what other info about my setup is necessary to help me diagnose what's wrong... please let me know!
Cheers
Brian
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Brian E.J. Rose, PhD
Postdoctoral Associate, Climate Dynamics
Department of Earth, Atmospheric and Planetary Sciences
Massachusetts Institute of Technology
office: 54-1721 phone: 617-253-5935
email: brose at mit.edu
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20100930/3a561c1b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linux_amd64_ifort+mpi_beagle
Type: application/octet-stream
Size: 2589 bytes
Desc: not available
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20100930/3a561c1b/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20100930/3a561c1b/attachment-0001.htm>
More information about the MITgcm-support
mailing list