compiling with fortran errors

compiling with fortran errors

Hello

It 's my first time with Fortran, I use compaq visual Fortran 6.1 i, Windows 7 win32, When compiling an error message appears :

 

ompiling Fortran...
D:\Travaux \for.f90\Reservoir1D.f90
D:\Travaux \for.f90\Reservoir1D.f90(1444) : Error: Syntax error, found IDENTIFIER 'G' when expecting one of: ( * :: , <END-OF-STATEMENT> ; : ) + . - % (/ [ ] /) . ** / > ...
dflow = rfd * (qoutt / g_sw / rad / sqrt g * grad_rho)**(1.0/3.0)
-------------------------------------------------^
D:\Travaux de thèse\modeling\Joumine\for.f90\Reservoir1D_420.f90(1444) : Error: This name does not have a type, and must have an explicit type. [SQRT]
dflow = rfd * (qoutt / g_sw / rad / sqrt g * grad_rho)**(1.0/3.0)
--------------------------------------------^
Error executing df.exe.

joum_observed_part1.exe - 2 error(s), 0 warning(s)

Can you please Help me to understand what's this problem and solve it

2 帖子 / 0 全新
最新文章
如需更全面地了解编译器优化,请参阅优化注意事项

dflow = rfd * (qoutt / g_sw / rad / sqrt(g * grad_rho))**(1.0/3.0)

Try this code.. give attention to () brackets

发表评论

登录添加评论。还不是成员?立即加入