Tutorial on Fortran 90 ====================== Version 2.2 for WWW ------------------- Bo Einarsson National Supercomputer Centre Linkoeping university SE-581 83 LINKOEPING SWEDEN Tel + 46 13 281432 Fax + 46 13 282535 Email boein@nsc.liu.se 1.1 INTRODUCTION ---------------- This version of the tutorial on Fortran 90 can be used on UNIX, Windows 3.1, Windows 95, and Apple Macintosh. It has only relative links for all files which are direct part of the tutorial, and uses absolute links only for external Web-pages. The reason is that it should be possible to use the book without any telephone or network connection. 1.2 Web-readers at local use ---------------------------- The Web-readers discussed below all have the property that they can be used locally (stand alone), if Winsocket has been installed. An alternative is to instal a "dummy" version of Winsocket, which does nothing. With the next version of Mosaic a "null" Winsocket will be provided. When I wish to use the system locally I just disconnect the electric power to my external modem. If I am already running Web on the net, I close the connection with closing the supervising program, usually trumpet. Files in HTML on PC using MS-DOS are supposed to end with .htm, but most Web-browsers also permit call of files using the usual UNIX-extension .html. The addresses have therefore not been changed from the previous UNIX version in this respect. 1.2a NCSA Mosaic 2.0 for Microsoft Windows 3.1 ---------------------------------------------- This Web-reader had in a previous version the property that it could be used locally (stand alone), even if no Winsocket had been installed, and was therefore very suitable. The system has a few differences compared with on a UNIX-system: a) It is more critical with respect to national characters given with for example ä for ä. The semicolon is now compulsory. This is of course no major problem with this English version. b) I have not found any satisfactory solution on how to write a typewriter or teletype or Courier font for the Fortran-words in the text. This is further discussed in the document pc_e.html. 1.2b NCSA Mosaic 2.1 for Microsoft Windows 3.1 ---------------------------------------------- In addition to the problems discussed above a completely new and rather serious problem appears with this revision. When I start Mosaic for local use, and do not have the modem turned on, the Window system gives the following message: "SYSTEM ERROR, CAN NOT WRITE ON UNIT AUX" and it gives the two alternatives "ABORT" and "TRY AGAIN". If I click on "ABORT" the Mosaic system starts correctly! The reason for this problem is probably that the revised Mosaic tests for World Wide connection, before starting. With the modem turned on, the revised Mosaic works well. A work-around is available. Add the following two lines to the windows\system.ini file: [DEBUG] OUTPUTTO=NUL An additional problem is that the system crashes (has to be rebooted) if you, while without a network connection, click on an external link. All these problems also apply to NCSA Mosaic 2.1.1. The problem with having to reboot after an attempt to connect to an external link in local mode has however been solved. If you wait for a while you will get the error message "HTAccess: Error accessing". If you then click on OK you can proceeed. 1.2c Netscape Navigator 2.0 for Microsoft Windows 3.1 ----------------------------------------------------- The teletype font works fine. 1.2d Netscape Navigator 2.0 for the Russian version of Microsoft Windows 95 --------------------------------------------------------------------------- See the discussion in pc_e.html on how the national characters are treated. 1.2e Microsoft Internet Explorer for Microsoft Windows 3.1 ---------------------------------------------------------- This Web-reader works fine in both version 2.01 and 2.1. 1.2f Netscape Navigator Gold ---------------------------- This Web-browser (in version 3.0b6 for UNIX) works fine. 1.2g IBM Web Explorer using OS/2 Warp 3 --------------------------------------- This works fine. At local installation it is recommended to unpack the ZIP-file with Unzip from Info-Zip. 1.3 New and revised routines ---------------------------- This list of new and revised routines is now only available in the HTML-document "pc_e.html". 1.4 Installation ---------------- The tutorial is now available either as a MS-DOS diskette or as a single compressed ZIP-file or tar-file. Main page, with links to all other pages is f77to90.html. Pictures are in the subdirectory gifs and source code in the subdirectory code. The chapters are c(digit).html and the appendices are a(digit).html. All other document names are self explanatory, except fortran.html, which includes external links to other Fortran documents. a) Installation from a diskette on Windows 3.x At delivery on a diskette this can be used directly, but I recommend installation on the disk memory with the command xcopy a:\ d:\f77to90 /s /e /v where a (or b) is the diskette unit and d (or c) is the disk memory. My proposal for a directory name is f77to90. b) Installation from a compressed ZIP-file You can obtain the tutorial as a compressed ZIP-file using anonymous ftp from the computer ftp.nsc.liu.se on the file pub/bibliotek/f77to90.zip. On your computer you put the file f77to90.zip on the directory where you wish the subdirectory f77to90 to be created. There you give the command pkunzip -d f77to90.zip on MS-DOS and unzip f77to90.zip on UNIX. You then get the files installed on one directory with the HTML-files, one subdirectory gifs with pictures and one subdirectory code with the source code. Under Windows 95 you have to use the program "WinZip for Windows 95" in order to manage the long filenames. On Macintosh you unpack with the program "Zipit", with the alternative "conversion to PC-files" switched off. You can now also obtain the tutorial as a self-extracting file under Windows 95 using anonymous ftp from the computer ftp.nsc.liu.se on the file pub/bibliotek/f77to90.exe. c) From a compressed tar-file You can obtain the tutorial as a compressed tar-file using anonymous ftp from the computer ftp.nsc.liu.se on the file pub/bibliotek/f77to90.tar.Z. If you have received the file on an MS-DOS diskette from me I name the file F7TO9TAR.Z. When installing on a UNIX computer you are supposed to change the file name to f77to90.tar.Z. On your computer you put the file f77to90.tar.Z on the directory where you wish the subdirectory f77to90 to be created. There you give the commands uncompress f77to90.tar.Z followed with tar xvf f77to90.tar on UNIX. You then get the files installed on one directory with the HTML-files, one subdirectory gifs with pictures and one subdirectory code with the source code. d) From a self-extracting Macintosh archive The self-extracting Macintosh archive form of the tutorial is now available using anonymous ftp from the computer ftp.nsc.liu.se on the file /pub/bibliotek/f77to90.sea. This archive is however not updated as often as the zip and tar versions, since we do not have easy access to a Macintosh computer. e) Updates Updates are available from http://www.nsc.liu.se/~boein/f77to90/pc_e.html#1.3 You are welcome to contact Bo Einarsson (Email: boein@nsc.liu.se) for further information! Last modified: 10 September 1998