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 post / 0 nuovi
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione
Ritratto di ucentpw

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

Try this code.. give attention to () brackets

Accedere per lasciare un commento.