teaching fortran across cultures & continents ian chivers (rhymney consulting) & jane...

33
Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training over the last 3 years: Copenhagen, January 2008 Ottawa, Canada, March 2008 Centre for Ecology & Hydrology, Wallingford, UK, March 2009 University of Ulster, December 2009 SHMU, Bratislava, Slovakia, February 2011 Shoreham-by-Sea, UK, October 2011 BCS Fortran Specialist Group 1 25 March 2022

Upload: beverly-poole

Post on 26-Dec-2015

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

Teaching Fortran across cultures & continents

Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus)

•A range of our international Fortran training over the last 3 years:

Copenhagen, January 2008

Ottawa, Canada, March 2008

Centre for Ecology & Hydrology, Wallingford, UK, March 2009

University of Ulster, December 2009

SHMU, Bratislava, Slovakia, February 2011

Shoreham-by-Sea, UK, October 2011

BCS Fortran Specialist Group 119 April 2023

Page 2: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

Teaching Fortran across cultures & continents

We try to teach with NAG’s Fortran Builder IDE (Integrated Development Environment)

easy editing, compiling, linking & running

version 5.3 Fortran compiler good error messages

BCS Fortran Specialist Group 219 April 2023

Page 3: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

Copenhagen, Denmark, 2008

Danish Technical University (DTU)

Introduction to Fortran 95

BCS Fortran Specialist Group 319 April 2023 3

Page 4: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

DTU January 2008

• our experiences: cold! using Copenhagen’s rail system eating & drinking

very expensive!!!

19 April 2023BCS Fortran Specialist Group 4

Page 5: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

DTU January 2008

• what was required: introduction to Fortran 95 as a precursor to an

MPI course

• who:• Mathematical modelling Ph D students

• class of 30• wide range of programming experience

19 April 2023BCS Fortran Specialist Group 5

Page 6: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

DTU January 2008

• Fortran compiler(s) NAG Sun gfortran

• operating system

• Sun solaris

19 April 2023BCS Fortran Specialist Group 6

Page 7: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

Ottawa March 2008

National Resources Canada (NRCAN)

BCS Fortran Specialist Group 719 April 2023 7

Page 8: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

Ottawa March 2008

BCS Fortran Specialist Group 819 April 2023 8

Page 9: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

BCS Fortran Specialist Group 919 April 2023

Ottawa March 2008

Spider by Louise Bourgeois outside National Gallery of Canada, Ottawa

Page 10: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

NRCAN March 2008

• our experiences: scary taxi drive from airport to Ottawa snow!!! using public transport & the snow!

very difficult to get around – so much snow very cold!!!

French

19 April 2023BCS Fortran Specialist Group 10

Page 11: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

NRCAN March 2008

• what was required: introduction to Fortran 95 & conversion from

Fortran 77

• who (15): economists in National Resources department

of Canadian Government oil shale & gas modelling US were lead site but no experience of oil shale US had started to introduce Fortran 95 features

19 April 2023BCS Fortran Specialist Group 11

Page 12: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

NRCAN March 2008

• Fortran compiler(s) visual studio 6 & Intel compiler

Fortran 95 standard

• operating system Windows XP

19 April 2023BCS Fortran Specialist Group 12

Page 13: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

BCS Fortran Specialist Group 1319 April 2023

Centre for Ecology & Hydrology Wallingford UK March 2009

Centre for Ecology & Hydrology (CEH)

Introduction to Fortran 95

Page 14: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

CEH March 2009

• our experiences: very bright group of young scientists extensive and advanced use of Fortran

amongst experienced colleagues Wallingford – lovely old market town!

19 April 2023BCS Fortran Specialist Group 14

Page 15: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

CEH March 2009

• what was required: introduction to Fortran 95

• who (4): scientists working with Fortran 77/ 95 code

and statistical package R

19 April 2023BCS Fortran Specialist Group 15

Page 16: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

CEH March 2009

• Fortran compiler(s) NAG Fortran builder & NAG compiler from

command prompt

• operating system Windows XP

19 April 2023BCS Fortran Specialist Group 16

Page 17: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

University of Ulster

Belfast December 2010

BCS Fortran Specialist Group 1719 April 2023 17

Page 18: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

University of Ulster

• our experiences: lack of public transport very welcoming & friendly group tutor had a very bad cold

visit to local health centre

delayed flight home snow!!!

19 April 2023BCS Fortran Specialist Group 18

Page 19: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

University of Ulster

• what was required: introduction to Fortran 95

for use with mechanical engineering package

• who (6): mechanical engineering Ph D students

no programming experience

staff range of programming experience

19 April 2023BCS Fortran Specialist Group 19

Page 20: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

University of Ulster

• Fortran compiler(s) NAG Fortran Builder

• operating system Windows XP

19 April 2023BCS Fortran Specialist Group 20

Page 21: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

Bratislava Slovakia 2011

SHMU, Bratislava, Slovakia, February 2011

BCS Fortran Specialist Group 2119 April 2023 21

Page 22: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

SHMU Bratislava

senior meteorologist with punched cards!!

BCS Fortran Specialist Group 2219 April 2023 22

Page 23: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

Snow not predicted!!

SHMU Bratislava

BCS Fortran Specialist Group 2319 April 2023 23

Page 24: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

BCS Fortran Specialist Group 2419 April 2023

Bryndzové Pierogies

(Sheep cheese Pierogies)

SHMU Bratislava

Page 25: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

SHMU Bratislava

• our experiences: very hospitable cold!! english only spoken in hotel public transport

trams & buses

Slovakian food & wine Czech beer!

19 April 2023BCS Fortran Specialist Group 25

Page 26: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

SHMU Bratislava

• what was required: introduction to modern Fortran with IBM’s XL

Fortran compiler for AIX, V13.1 compiler options for optimisation introduction to MPI

• who (11): meteorologists

range of programming experience

19 April 2023BCS Fortran Specialist Group 26

Page 27: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

• Fortran compiler(s) XL Fortran compiler for AIX, V13.1

supports a lot of Fortran 2003 standard

• operating system AIX - unix

SHMU Bratislava

19 April 2023BCS Fortran Specialist Group 27

Page 28: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

Shoreham-by-Sea harbour

Shoreham-by-Sea UK 2011

BCS Fortran Specialist Group 2819 April 2023 28

Page 29: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

BCS Fortran Specialist Group 2919 April 2023

Which Fortran compiler?

Shoreham-by-Sea beach

Page 30: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

Shoreham-by-Sea October 2011

• our experience: lack of compiler support for Fortran 2003/

2008 standards NAG Fortran compiler for OO Intel compiler for OpenMP & coarrays

Intel MPI library needed

19 April 2023BCS Fortran Specialist Group 30

Page 31: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

Shoreham-by-Sea October 2011

• what is required: advanced features of modern Fortran

www.fortranplus.co.uk/adv_fortran.html introduction to object oriented programming in

Fortran introduction to parallel programming

MPI, OpenMP, Coarray Fortran

• who (6): mechanical engineers

19 April 2023BCS Fortran Specialist Group 31

Page 32: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

• Fortran compiler(s) Intel parallel studio XE 2011 v 12 compiler gfortran v 4.7 NAG Fortran compiler v 5.3

• operating system Windows & Linux

Shoreham-by-Sea October 2011

19 April 2023BCS Fortran Specialist Group 32

Page 33: Teaching Fortran across cultures & continents Ian Chivers (Rhymney Consulting) & Jane Sleightholme (Fortranplus) A range of our international Fortran training

Compiler Support for the Fortran 2003 and 2008 standards

On the Fortranplus website:www.fortranplus.co.uk/fortran_info.html

19 April 2023BCS Fortran Specialist Group 33