[comp.parallel] help needed on CM error---summary

ags@seaman.cc.purdue.edu (Dave Seaman) (05/10/91)

In article <1991May9.204131.1475@menudo.uh.edu> bchs1k@menudo.uh.edu (Edward S. Chen) writes:
>
>We seem to have run across the following error when trying to compile a
>FORTRAN program on the Connection machine.
>
>  431:	      entry ktuple(m,ddmin,maxd,nt,dis,loc,nw)
>      	                     ^
>***  FATAL ERROR: in file cmsn.fcm in phase BUILD
>     Duplicate dummy arguments appear in different positions not yet
>     supported.
     
I am no Connection Machine expert, but the message seems to be saying that
"ddmin" also appears in the subroutine argument list, as in:

		subroutine foo(bar,baz,ddmin)
				       ^^^^^
		...
		entry ktuple(m,ddmin,maxd,nt,dis,loc,nw)
			       ^^^^^

Where "ddmin" is third in one argument list and second in the other.  This is
perfectly legal Fortran, but the message suggests that the compiler can't
handle it.

--
Dave Seaman
ags@seaman.cc.purdue.edu

===================================================
To: comp-parallel@apple.com
Path: well!rchrd
From: decwrl!well.sf.ca.us!well!rchrd@uunet.UU.NET (Richard Friedman)
Newsgroups: comp.parallel
Subject: Re: help needed
Date: 12 May 91 04:37:16 GMT
References: <1991May9.204131.1475@menudo.uh.edu>
Lines: 27


bchs1k@menudo.uh.edu (Edward S. Chen) writes:


>We seem to have run across the following error when trying to compile a
>FORTRAN program on the Connection machine.

>  431:	      entry ktuple(m,ddmin,maxd,nt,dis,loc,nw)
>      	                     ^
>***  FATAL ERROR: in file cmsn.fcm in phase BUILD
>     Duplicate dummy arguments appear in different positions not yet
>     supported.
>     

Were any of the arguments in this ENTRY statement also on the 
subprogram header statement?  Not many compilers will allow:

    subroutine xyz(a,b,c)
     ....
    entry dork(h,b,p)
                 ^
     ...
    end
-- 
/\=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=/\
\/Richard Friedman (415)540-5216  |     rchrd@well.sf.ca.us  \/
/\Pacific-Sierra Rsrch (Berkeley) | or well!rchrd@apple.com  /\
\/=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\/

-- 
=========================== MODERATOR ==============================
Steve Stevenson                            {steve,fpst}@hubcap.clemson.edu
Department of Computer Science,            comp.parallel
Clemson University, Clemson, SC 29634-1906 (803)656-5880.mabell