I could use some help fixing this error. Thanks in advance.
In file aacgm_init.f:65
fname(i:i) = char(filename(i))
1
Error: 'i' argument of 'char' intrinsic at (1) must be INTEGER
My code:
SUBROUTINE aacgm_init(...
Hi NickFort
I did as you suggested and now my code looks like:
write (*,*) 'short_line: ', nstp, x, y, z, hemisphere
write (*,100) nstp,x,y,z,h,hemisphere
100 format ('short_trline: ',I5,5(E4.2))
I receive this error:
100 format ('short_trline: ',I5,5(E4.2))
1
Error: Unclassifiable...
Nevermind my previous post. Instead, I decided to send the data to standard output by changing my code to:
write (*,*) 'short_trline: ', nstp, x, y, z, hemisphere
But I still have the following errors:
hemisphere = float(dir) * z
1
Error: Type of argument 'a' in call to...
Thanks you.
I changed my code to:
write (*,'short_trline:',nstp,x,y,z,h,hemisphere)
Now however, I receive the error:
write (*,'short_trline:',nstp,x,y,z,h,hemisphere)
1
Error: Syntax error in WRITE statement at (1)
Little help debugging please? Thanks in advance.
I receive this error message when compiling my code using FORTRAN g95:
In file short_trl.f:171
type (*,'short_trline:',nstp,x,y,z,h,hemisphere)
1
Error: Unexpected array reference at (1)
Here's my code...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.