g95 fortran on genser code

4
G95 Fortran G95 Fortran on on GENSER code GENSER code GENSER meeting, 25 July 2006 Rafi Rafi Yaari Yaari CERN CERN PH/SFT PH/SFT

Upload: colleen-wiggins

Post on 02-Jan-2016

53 views

Category:

Documents


0 download

DESCRIPTION

GENSER meeting, 25 July 2006. G95 Fortran on GENSER code. Rafi Yaari CERN PH/SFT. Recommendations. Download g95 Compile your latest version Use the options listed in the next page Fix the eventual compilation errors - PowerPoint PPT Presentation

TRANSCRIPT

G95 Fortran G95 Fortran on on GENSER code GENSER code

GENSER meeting, 25 July 2006

Rafi Rafi YaariYaari

CERN CERN PH/SFTPH/SFT

R.Yaari CERN/PH/SFT

2

Download g95 Compile your latest version Use the options listed in the next page Fix the eventual compilation errors Run the tests, and compare Make a new release, or use conditional macros

if you get Compilation errors that you can’t fix, or the compiler crashes contact Andy Vaught

if you get Run-time errors which you can’t overcome, or results disagree significantly:

build a debug-library using -g and use gdb

or send me a copy!

RecommendationsRecommendations

R.Yaari CERN/PH/SFT

3

Options usedg95 -c -w -fstatic -ffixed-length-line-

132

[-fsloppy-char]

[-g]

[-fbound-check]

where -fstatic -fno-automatic

-fsloppy-char : prevents type checks when printing char variable

Link against CERNLIBs built with g77

R.Yaari CERN/PH/SFT

4

Patches ~/rafig/public/g95p/”generator”/patches

Patches are made by unix command:

diff -u file.orig file.new