From d42085028b2be1df33232e7d6033663719dc7ac9 Mon Sep 17 00:00:00 2001 From: LonelyProf Date: Sat, 20 Aug 2022 11:23:28 +0100 Subject: [PATCH] Minor update to documentation --- README.md | 6 ++++-- python_examples/GUIDE.md | 5 ++--- python_examples/README.md | 3 ++- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 18fdd77..ded4cf1 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ A few examples consist of individual routines or modules, rather than working programs, so there is no need to build them. -The build process for the Fortran examples has been tested using SCons v4.2.0 +The build process for the Fortran examples has been tested using SCons v4.4.0 (and some earlier versions back to v2.5.1 with minor changes to the `SConstruct` file). If you don't like using SCons, or can't get it to work, it is not difficult to compile the programs using other methods. @@ -77,7 +77,7 @@ it is advisable to __compile each example in its own build directory__ (which is what the `SConstruct` file is configured to do) or to delete all intermediate files before each individual compilation. -We have used gfortran v11.2.0 (and earlier versions back to v6.3) for testing, +We have used gfortran v12.1.0 (and earlier versions back to v6.3) for testing, but have attempted to stick to code which conforms to the Fortran 2008 standard. In gfortran v6, calling the intrinsic `random_seed()` function would generate the same sequence of random numbers every time. @@ -100,6 +100,8 @@ Unfortunately, due to the enormous variety of computing platforms and compilers, __we cannot offer more specific advice on the build process.__ The Python versions do not require building, they are simply run through the Python interpreter. +They have been tested with Python 3.10.6 +(and before that, versions back to 3.6.0). ## Reporting errors If you spot an error in these program files, or the accompanying documentation, diff --git a/python_examples/GUIDE.md b/python_examples/GUIDE.md index 18458bc..98d198b 100644 --- a/python_examples/GUIDE.md +++ b/python_examples/GUIDE.md @@ -40,10 +40,10 @@ the main aim of these examples is to illustrate ideas in the text, not to provide programs for practical use. The reader should feel free to experiment with ways to make the programs run faster! -In the past few years, the community has been making the transition from Python 2 to Python 3. +In the past few years, the community has made the transition from Python 2 to Python 3. There are some incompatibilities between the two, and since a choice had to be made, -we have settled on __Python 3__ for these examples. +we settled on __Python 3__ for these examples. We indicate this by the string ``` #!/usr/bin/env python3 @@ -56,7 +56,6 @@ or just `python sample_mean.py`, depending on your particular installation of Python. (Of course, in most cases, it will also be necessary to input data to the program.) The examples _will not work_ with Python 2! -They have been tested with Python 3.7.5 (and before that, 3.6.0). For an introduction to the differences between Python 2 and Python 3, see the [What's New in Python 3.0](https://docs.python.org/3/whatsnew/3.0.html "What's New in Python 3.0") page. The most obvious changes are diff --git a/python_examples/README.md b/python_examples/README.md index 17efa84..eb14702 100644 --- a/python_examples/README.md +++ b/python_examples/README.md @@ -30,5 +30,6 @@ and are written in Python3 using the NumPy and SciPy libraries. The [User Guide](./GUIDE.md) contains some comments on the Python language, some notes to assist in running the programs, and some typical results. -We have used Python 3.9.5 (and some earlier versions back to 3.6.0) for testing. The Python versions do not require building, they are simply run through the Python interpreter. +They have been tested with Python 3.10.6 +(and before that, versions back to 3.6.0).