Identifier length exceeds the maximum of 31 characters

I use the sun f90 compiler to compile a subroutine. However, the compiler told me the subroutine's name is too long. Deos anybody know how to solve this problem? I really need such long subroutine name. Many thanks!

% f90 -DCAM -DNO_SHR_VMATH -DHIDE_SHR_MSG -inline=%auto -fast -g -fsimple=1 -fns=no -O4 -DHIDE_MPI -g -c gfdl_column_diagnostics_mod.F90

gfdl_column_diagnostics_mod.F90", Line = 379, Column = 15: ERROR: Identifier length exceeds the maximum of 31 characters.

[494 byte] By [lasga] at [2007-11-27 6:03:47]
# 1

Which version of the compiler are you using? The compiler

will tell you which version it is if you use the option -V. You

can also run the version command on the compiler's

executable file.

The limit on the length of an identifier was increased to 127

characters in 2005.

Bob Corbett

rpcorbetta at 2007-7-12 16:46:56 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2
Thanks for your reply!The version we use is: Sun WorkShop 6 update 2 Fortran 95 6.2 2001/05/15Must we update our compiler to enable longer identifiers?
lasga at 2007-7-12 16:46:56 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 3

> Thanks for your reply!

>

> The version we use is:

>

> Sun WorkShop 6 update 2 Fortran 95 6.2 2001/05/15

>

> Must we update our compiler to enable longer

> identifiers?

Yes, I am afraid so. You can download the latest version at no charge

from Sun's website. I suggest waiting until Monday or Tuesday to

download it.

You might have a problem mixing old and new .mod files with such an

old version of the compiler. You should plan on recompiling all your

files that contain modules.

Bob Corbett

rpcorbetta at 2007-7-12 16:46:56 > top of Java-index,Development Tools,Solaris and Linux Development Tools...