How to speedup program compiled by G95 ?

From: Jean-Baptiste FAURE (faure_at_lyon.cemagref.fr)
Date: 01/31/05


Date: Mon, 31 Jan 2005 13:56:15 +0100

Dear all,

I plan to migrate from cvf (6.1 under w2k sp4) to g95 to compile my
program solving some unstationnary hyperbolic PDE. My problem is that
the computation time is five times longer with g95 than cvf.

Compilation options are :

cvf :
/alignment:rec4byte /alignment:commons /architecture:p6
/assume:buffered_io /assume:noaccuracy_sensitive /check:bounds
/check:noflawed_pentium /check:power /check:overflow /compile_only
/debug:none /fltconsistency /fpe:0 /math_library:fast /nologo
/optimize:3 /stand:f90 /threads /traceback /transform_loops /tune:p6
/warn:argument_checking /warn:declarations /warn:unused

g95 : -fimplicit-none -fstatic -C -O3

I tried -O1, -O2 and -O4 without improvement. Is there some other
compilation option that can make g95 compiled program more efficient ?
Perhaps some things like /math_library:fast or /architecture:p6 ?

Many thanks in advance for any help

-- 
Jean-Baptiste FAURE
Cemagref - Unité de Recherche Hydrologie-Hydraulique
Tel: 04 72 20 87 76 - Fax: 04 78 47 78 75 - Web: http://www.lyon.cemagref.fr
Cemagref-Lyon 3bis, quai Chauveau C.P.220 69336 Lyon cedex09 FRANCE