From owner-sc22wg5@dkuug.dk  Wed Jun 18 20:19:05 2003
Received: (from majordom@localhost)
	by dkuug.dk (8.12.8p1/8.9.2) id h5IIJ5rx016022
	for sc22wg5-domo; Wed, 18 Jun 2003 20:19:05 +0200 (CEST)
	(envelope-from owner-sc22wg5@dkuug.dk)
X-Authentication-Warning: ptah.dkuug.dk: majordom set sender to owner-sc22wg5@dkuug.dk using -f
Received: from Princeton.EDU (root@postoffice01.Princeton.EDU [128.112.129.75])
	by dkuug.dk (8.12.8p1/8.9.2) with ESMTP id h5IIIsEc016017
	for <sc22wg5@dkuug.dk>; Wed, 18 Jun 2003 20:19:01 +0200 (CEST)
	(envelope-from adonev@Princeton.EDU)
Received: from smtpserver2.Princeton.EDU (smtpserver2.Princeton.EDU [128.112.129.148])
	by Princeton.EDU (8.12.9/8.12.9) with ESMTP id h5IIIqqE028473
	for <sc22wg5@dkuug.dk>; Wed, 18 Jun 2003 14:18:52 -0400 (EDT)
Received: from princeton.edu (atom.Princeton.EDU [128.112.143.9])
	(authenticated bits=0)
	by smtpserver2.Princeton.EDU (8.12.9/8.12.9) with ESMTP id h5IIIqNX029620
	(version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT)
	for <sc22wg5@dkuug.dk>; Wed, 18 Jun 2003 14:18:52 -0400 (EDT)
Message-ID: <3EF0AD0B.2060403@princeton.edu>
Date: Wed, 18 Jun 2003 14:18:51 -0400
From: Aleksandar Donev <adonev@Princeton.EDU>
Organization: Princeton Materials Institute, Princeton University
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: sc22wg5 <sc22wg5@dkuug.dk>
Subject: Re: (SC22WG5.2779) Modules TR
References: <200306181759.h5IHxU7U015922@dkuug.dk>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-sc22wg5@dkuug.dk
Precedence: bulk

Van.Snyder@jpl.nasa.gov wrote:

>I agree that host association is not perfect this purpose, but the
>problems are not as dire as you paint them.
>
Lawrie's original example in his J3 paper on the proposal was more 
convincing and I am not sure if it would compile or not under Van's 
draft. Something like a dummy argument for a separate procedure declared 
with

REAL, DIMENSION(N) :: x

where N is a parameter in the module which is overwritten in the 
submodule with a different value. Which N is the dimension of X 
referring to? Although technically this may lead to different interfaces 
(does the exact dimension of a dummy array argument matter?), I doubt a 
compiler would catch that.

Aleksandar


