Re: fortran95 error
- From: dpb <none@xxxxxxx>
- Date: Fri, 31 Aug 2007 12:54:36 -0500
ron wrote:
On Aug 31, 6:28 pm, "Dr Ivan D. Reid" <Ivan.R...@xxxxxxxxxxxx> wrote:....On Fri, 31 Aug 2007 10:01:26 -0700, ron <jelaimartr...@xxxxxxxxx>
wrote in <1188579686.746611.95...@xxxxxxxxxxxxxxxxxxxxxxxxxxx>:
I would like to seek your opinion on my program error that I stuck
right now.The
error is " attempt to call a subroutine as if it were a real (kind=1)
function"
....You should tell us details of operating system and compiler version
for best help. At a guess you are using a subroutine like:
x = subrt (y,z)
instead of
call subrt(y,z)
or perhaps you've mislabelled a function
subroutine funct(a,b)
when you meant
real function funct(a,b)
i'm using Plato3 wersion 3.30 (silverfrost lmt 2007)
While Dr. Reid made two very good guesses, if one of those two isn't the solution, what would be of more help would to post the code segment that demonstrates the error -- the declarations of the function/subroutine and the call or referencing statement at a minimum, ideally a minimum compilable section that illustrates the problem...
--
.
- Follow-Ups:
- Re: fortran95 error
- From: Dr Ivan D. Reid
- Re: fortran95 error
- References:
- fortran95 error
- From: ron
- Re: fortran95 error
- From: Dr Ivan D. Reid
- Re: fortran95 error
- From: ron
- fortran95 error
- Prev by Date: Re: Error LNK2019
- Next by Date: Re: TRANSPOSE and MATMUL interaction
- Previous by thread: Re: fortran95 error
- Next by thread: Re: fortran95 error
- Index(es):
Relevant Pages
|