Tutorial on Fortran 90 ====================== PC version 2.1 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. 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. Files in HTML on PC are supposed to end with .htm, but this system also permits call of files using the usual UNIX-extension .html. The addresses have therefore not been changed from the previous UNIX version in this respect. 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. 1.2c Netscape Navigator 2.0 for Microsoft Windows 3.1 ----------------------------------------------------- Files in HTML on PC are supposed to end with .htm, but this system also permits call of files using the usual UNIX-extension .html. The addresses have therefore not been changed from the previous UNIX version in this respect. The teletype font works fine. 1.3 New and revised routines ---------------------------- This is a list of all new and revised routines from that version 2.0 was distributed. a2.html 1996-03-23 Minor correction a4.html 1996-03-30 Minor update a8.html 1996-03-30 Minor update a9.html 1996-03-30 Minor update alpha.html 1996-03-09 New (Digital UNIX) asa.html 1996-03-23 New c15.html 1996-03-30 Minor update cray.html 1996-04-13 Minor update digital.html 1996-02-17 Minor update epsilon.f90 1996-03-09 New random.f90 1996-03-23 New sum.f90 1996-03-09 New parasoft.html Removed parasoft.txt Removed All these changes are included in version 2.1. This is a list of all new and revised routines from that version 2.1 was distributed. answers.html 1996-06-06 Minor update a5.html 1996-06-06 Minor correction a6.html 1996-06-11 Minor update a7.html 1996-05-08 Update with F c1.html 1996-04-17 Minor update c7.html 1996-06-06 Minor update fortran.html 1996-05-14 Minor update f77to90.html 1996-05-16 Minor update f95.html 1996-06-07 Minor update preface.html 1996-06-11 Minor update references.html 1996-05-07 Minor update bo.html 1996-06-06 Minor update yurij.html 1996-06-06 Minor update tpkf.f New TPK procedure in F tpk90.f New TPK procedure in Fortran 90 authors.gif New The authors flag_sve.gif New Swedish flag of the same size as the British and the Russian. pc_e.html 1996-06-11 readme.txt 1996-06-11 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 nsc.liu.se (130.236.100.5) 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. c) From a compressed tar-file You can obtain the tutorial as a compressed tar-file using anonymous ftp from the computer nsc.liu.se (130.236.100.5) on the file pub/bibliotek/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 If you are interested in this form, or any other form, please contact Bo Einarsson (Email: boein@nsc.liu.se). 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 information! Last modified: 11 June 1996