[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

19990909: GRDDISP not working under McIDAS-7.6 compiled with SC5.0



>From: weather <address@hidden>
>Organization: NMSU/NSBF
>Keywords: 199909091440.IAA28776 McIDAS-X GRDDISP Sun SC5.0 f77

Robert,

>I guess I spoke too soon.  I discovered this morning that GRDDISP
>is not working on psnldm (SPARC machine with SC5.0).

I discovered the exact same thing yesterday afternoon!  I was helping a
site setup their ADDE remote server and the uwgrid.sh script when I
found that GRDCOPY and GRDDISP built with Sun's SC5.0 Fortran compiler
do not run/run correctly.  GRDCOPY was giving segmentation violations
and GRDDISP was giving errors about the sort conditions.  I found that
the SC4.2 Fortran compiler creates good executables that can run with
the SC5.0 shared Fortran libraries.  I was going to attempt to create a
simple test case that we could send to Sun to illustrate the problem
and update my Notes and Warnings web page to warn people about SC5.0.

>I had forgotten
>that this also happened when I built 7.5 on this machine. Tom's fix
>at that time was to recompile mcgget.for without optimization, I believe.
>I saw in the archives this AM that Hsie saw the same problem.

Right.  The problem this time was that mcgget.for compiled with no
optimization did not produce good executables, at least not for me.

>What do I need to do just to recompile mcgget.for alone, without
>optimization (f77 mcgget.for, no -o) does not work, which I
>should have known that was not right), if that is the fix here
>as well?

No, unfortunately the "fix" is compiling with SC4.2.  I can provide you
with grddisp.k and grdcopy.k to get you going, or I can provide you
with mcgget.o.  Please let me know which option you prefer.

>As with 7.5 there are no such problems on x86 with SC4.2.  I believe
>I remember Tom saying that x86 and SC5.0 had no problems either, on 7.5.

We have had no problems with SC5.0 on x86, nor have we had any problems
using gcc/f2c on x86.

>From address@hidden  Thu Sep  9 08:53:46 1999
>I notices there is a new (7 Sept 1999) patch for Sparc f77 5.0
>this is the patch id.  I can't tell if it applies or not.
>Here is the ID:

>Patch-ID# 107596-02

Mike Schmidt, our system administrator, checked our patch level for
SC5.0 and I believe installed _all_ patches to test to see if the
problem gets fixed.  My tests last evening showed that the patches did
not fix the problem I am seeing.

>From address@hidden  Thu Sep  9 09:01:16 1999

>This could be the fix, I don't know it does talk about code not
>compiling with optimization(last line of message), but sunsolve is down so I 
>can't view the referenced bug to see if it is f77 they are talking
>about

I will chat with Mike S. again this morning to make sure that all of
the patches were installed and I was using them in my tests.  In the
meantime I will put mcgget.o in the unix/760/fortran/SC5.0 directory
for you to grab and use in your rebuild of GRDDISP and GRDCOPY.  You
will need to:

o FTP the module to ~mcidas/mcidas7.6/src in binary mode
o touch mcgget.o  to make sure that it is newer than mcgget.for
o make grddisp.k grdcopy.k

>Patch-ID# 107357-04
>            Keywords: common compiler backend iropt cg fbe SC5.0
>            Synopsis: Compiler Common 5.0: Patch C 5.0, C++ 5.0, F77 5.0, F90 
>2.0
>            Date: Sep/07/99
>
>            Solaris Release: 2.5.1 2.6 7
>
>            SunOS Release: 5.5.1 5.6 5.7
>
>            Unbundled Product: C, C++, FORTRAN 77, Fortran 90
>
>            Unbundled Release: 5.0, 5.0, 5.0, 2.0
>
>            Relevant Architectures: sparc
>
>            BugId's fixed with this patch: 4248918 4251770 4237814 4209624 
>4246071 4217435 4249368 4252596 4202711 4193318 4193319 4195453 4196526 
>4192401 
>4188336 4194102 4194374 4195968 4197494 4190951 4201844 4200528 4195917 
>4203694 
>4226588
>
>            Changes incorporated in this version: 4248918 4251770 4237814
>
>            Patches accumulated and obsoleted by this patch: 
>
>            Patches which conflict with this patch: 
>
>            Patches required with this patch: 
>
>            Obsoleted by: 
>
>            Files included with this patch: 
>            <install_dir>/SUNWspro/SC5.0/bin/iropt
>            <install_dir>/SUNWspro/SC5.0/bin/cg
>            <install_dir>/SUNWspro/SC5.0/bin/fbe
>
>            Problem Description:
>
>            4248918 f90 fails to vectorize simple exp loop
>            4251770 ffortran not vectorizing exp
>            4237814 attaced  code extracted from a vendor code fails to 
> compile 
>with optimzation.

This sucks!  Sorry for the problems.

Tom