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

publicaciones de 2 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.
Imagen de ucentpw

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

Try this code.. give attention to () brackets

Inicie sesión para dejar un comentario.