From chemistry-request@server.ccl.net  Tue Jul 18 02:23:09 2000
Received: from hydra.chem.rug.nl (hydra.chem.rug.nl [129.125.35.229])
	by server.ccl.net (8.8.7/8.8.7) with ESMTP id CAA22155
	for <CHEMISTRY@ccl.net>; Tue, 18 Jul 2000 02:23:08 -0400
Received: from [129.125.7.13] (theochem1.chem.rug.nl [129.125.7.13]) by hydra.chem.rug.nl (AIX4.2/UCB 8.7/8.7) with ESMTP id IAA27786 for <CHEMISTRY@ccl.net>; Tue, 18 Jul 2000 08:23:01 +0200 (MET DST)
Mime-Version: 1.0
X-Sender: swart@hydra.chem.rug.nl
Message-Id: <p04310103b599a8775230@[129.125.7.13]>
In-Reply-To: <200007180207.KAA15755@ms.dicp.ac.cn>
References: <200007180207.KAA15755@ms.dicp.ac.cn>
Date: Tue, 18 Jul 2000 08:25:30 +0200
To: CHEMISTRY@ccl.net
From: Marcel Swart <m.swart@chem.rug.nl>
Subject: Re: CCL:question about compiling FORTRAN codes under LINUX and SGI
Content-Type: text/plain; charset="us-ascii" ; format="flowed"

>Dear Netters:
>I had compiled FORTRAN codes under linux with g77 and SGI with f77, 
>but it gave me the following warning
>under linux:
>
>x.f: In subroutine 'x':
>x.f:126: warning:
>    call b(s, ij, it, bb)
>    1
>x.f: b1:  call b(o1, o2, it, bb)
>    2
>Argument #1 of 'B' is one type at(2) but is some other type at (1) 
>[info -f g77 M GLOBALS]
>
>But under SGI with f77, it is compiled without any warning and error.
>Could you tell me the reason?
>I hope someone can help me do it correctly.
>thank you very much!!!

This means probably that you have not declared either s or o1 explicitly,
and f77 at SGI takes the default for this (real), while this default 
does not seem to be present with g77, or is different from the 
explicit declaration of either s or o1.

-- 
------------------------------------------------
drs. Marcel Swart

Theoretical Chemistry (MSC)
Molecular Dynamics (GBB)

Rijksuniversiteit Groningen
Chemistry Department
Nijenborgh 4
9747 AG Groningen
The Netherlands

tel : +31 - (0)50 - 3634377
fax : +31 - (0)50 - 3634441

E-mail : m.swart@chem.rug.nl
WWW: http://theochem.chem.rug.nl/~marcel/
------------------------------------------------

