[cam-users] CCM3 on CRAY SV1
Rick Toracinta
toracint@polarmet1.mps.ohio-state.edu
Tue, 22 Apr 2003 11:10:10 -0400 (EDT)
Greetings,
I'm hoping someone can shed some light on a plaguing problem. I'm
attempting to run the CCM3 (version 3.6.16) on a CRAY SV1 at the
Ohio Supercomputer Center (OSC). I have successfully compiled and
run the code on the SV1 in the recent past (10 months ago). In the
last weeks, I came across a series of syntax errors when trying to
compile on the SV1. It seems the compiler doesn't like
"dangling" concatenation characters (//) at the end of a line that
is continued on the next line. For instance, this code segment
from getfil.F gives a compilation error:
tmpnam = datadir(1:lencs(datadir)) // '/' //
$ locfn(1:lencs(locfn))
So, to correct this, I simply moved the concatenation
characters to the next line:
tmpnam = datadir(1:lencs(datadir)) // '/'
$ // locfn(1:lencs(locfn))
and that allowed the code to compile correctly. However, it appears
that the REAL problem, on execution, is that the program won't
concatenate the strings regardless of syntax (e.g., whether the
command is one line or continued on multiple lines). In the
above examples, the code doesn't cat the filename onto the directory
path. tmpnam is set to datadir, it tries (unsuccessfully) to open the
directory, and aborts.
This problem never occurred running CCM3 previously on the SV1.
I've been told by the folks at OSC that there was a compiler
upgrade a few months ago. However, suggestions thus far from
the OSC technical folks haven't resolved the problem. Furthermore,
they have _not_ been able to duplicate the failed concatenation
using a simple test program. I realize this is probably
compiler/platform specific, but has anyone else encountered a similar
problem running CCM3 on a CRAY or have any suggestions on how to
resolve this?
Many thanks,
Rick Toracinta
Byrd Polar Research Center
The Ohio State University
Columbus, OH