University of California at Berkeley Department of Electrical Engineering & Computer Sciences Instructional Support Group /share/b/pub/fortran-old.help ***************************************************************************** THIS DOCUMENT IS OUT OF DATE AND IS HERE FOR HISTORICAL REFERENCE ONLY ***************************************************************************** July 1 2004 CONTENTS: FORTRAN on the Instructional UNIX Systems NAG Fortran Libraries NAG Toolpack SUN Forte compilers fcheck FORTRAN on the Instructional UNIX Systems ----------------------------------------- SolarisX86 (po.eecs, torus.cs, PCs in 277 Soda and C10 Soda): /usr/sww/bin/g77 <----- GNU FORTRAN compiler /usr/sww/opt/SUNWspro/bin/f77 <----- Sun FORTRAN compiler Solaris SPARC (quasar.cs, SunRays in 271 Soda, etc): /usr/sww/bin/g77 <----- GNU FORTRAN compiler /usr/sww/opt/SUNWspro/bin/f77 <----- Sun FORTRAN compiler To read the on-line manual pages, where available, type: setenv MANPATH ${MANPATH}:/usr/sww/man:/usr/sww/opt/SUNWspro/man man f77 man g77 Debugging: gdb can work with Fortran code, with the command "set lang fortran". See /share/b/pub/gdb.help for more information. NAG Fortran Libraries --------------------- The NAG Fortran library (from Numerical Algorithms Group, Downers Grove, IL) includes Fortran77 and Fortran90 compilers and a suite of specialized libraries. It is available for DEC Alpha UNIX, HP9000/700, IBM RS/6000, Intel Linux, SGI IRIX, SunOS 4.1x, Sun Solaris 2.x and Windows 95/NT. EECS Instruction paid for this software and technical support in 1999, but the software is no longer installed. UC Berkeley has a campus agreement with the vendor. NAG can be purchased under the agreement from IS&T Software Distribution (238 Evans Hall, 643-9725, products@socrates.berkeley.edu, http://softdist.berkeley.edu/). Departments may get technical support by paying $250 per year for a contact person. Support may be ordered directly from NAG. Our sales representative is Mike Modica, (630) 971-2337, or modica@nag.com. The following products and updates were included: * NAG Fortran 77 Library * NAG Fortran 90 Library * NAG Fortran 90 Compiler * NAG Fortram SMP Library (Fortran 77) * NAG C Library * NAG Parallel Libraries (in MPI and PVM versions) * IRIS Explorer (scientific visualization) * Axiom (symbolic algebra) * Genstat (general statistical package) * GLIM (statistical package focused on generalized linear interactive modeling) For information on these products, see http://www.nag.co.uk/ To compile with the NAG library, use a command such as: % f77 test.f -lnag14b % f77 test.f -lnag16a To list the functions in this library, use a command such as: % ar -t /usr/local/lib/libnag14b.a % ar -t /usr/local/lib/libnag16a.a "naghelp" is an on-line references for the Mark 16 functions and can be invoked with the 'naghelp' command, such as % /share/n/nag/bin/naghelp These are some useful files subdirectories in nag: nagfl16df/doc/summary summary of the Mark 16 library nagfl16df/doc/news new features of the Mark 16 library nagfl16df/doc/essint "Essential Introduction" to Mark 16 library nagfl16df/doc/* about BLAS, LAPACK, NAG routine dependencies nagol16a/summaries/* text files for the "naghelp" utility nagfl16df/source/* Mark 16 (libnag16a.a) source files nagfl16df/examples/* sample Fortran files using NAG functions NAG Toolpack ------------ This is public domain software from Numerical Algorithms Group. Release 2.5 source files are avaiable in /home/k/NAG/toolpack-2.5 SUN Forte compilers ------------------- (Mar 2001) The SUN Forte compilers (v 6) are installed on on all Solaris SPARC and X86 systems in EECS, in the /usr/sww/opt/SUNWspro directory. It includes C, C++ and Fortran. For more information about usage and licensing for SUN Forte, please see /share/b/pub/forte.help. fcheck ------ We no longer support DEC Ultrix (Jan 2000). This section will be retained here for a while in case we need it for reference. | 'fcheck' Fortran semantic analyze: | | 'fcheck' was a Fortran semantic analyzer based on NAG Toolpack, like | 'lint'. It was only available on the Instructional DEC systems. It | was installed in /share/a/bin/fcheck and ~~cs9a/bin/fcheck. | | 'fckeck' is a /bin/csh script that calls 'istla', a DEC mips binary | using the NAG tool interface. The NAG tools are available only for | the DEC systems. EECS Instructional & Eloectronics Support 377 & 386 Cory, 333 Soda inst@eecs.berkeley.edu esg@eecs.berkeley.edu