WebMO Home Page
   Pro Features
   Enterprise Features
   Compare Features
   System Requirements
   Screen Shots
   Working Demo
   Support & Tutorials
   Support Forum
   Revision History
   Mailing List
   Educational Resources
   License Info
   Buy WebMO Pro/Ent
   Obtain Free License
WebMO - Computational chemistry on the WWW
Recent news

WebMO 19.0 is now available for free download!

WebMO 19.0 Pro and Enterprise have a variety of additional features and is available for purchase.

The WebMO app is now available for iOS and Android.

March 31, 2020
Portland Group F77 Installation Instructions for Linux

  1. Obtain Portland Group Fortran 77 compiler
    The Portland Group Fortran compiler is a commercial software product and must be purchased from The Portland Group. Currently PGI offers a free 15-day trial of their compiler products.
  2. Install Portland Group Fortran compiler
    1. Setup installation directories
      % su
      # /bin/csh
      # cd /usr/local
      # mkdir pgi
      # setenv PGI /usr/local/pgi
    2. Uncompress archive
      # cd /tmp
      # mkdir pgi
      # cd pgi
      # cp /{download_dir}/linux86-F77_tar.gz /tmp/pgi
      # gunzip linux86-F77_tar.gz
      # tar xpf linux86-F77_tar
    3. Install pgf77
      # /tmp/pgi/install
      Read and accept the terms of the license agreement
      Install package 2 (F77 only)
      Select 'y' and change the installation location to /usr/local/pgi
      Create an evaluation license if you have not yet purchased pgf77
      Read and accept the terms of the license agreement
      Enter your name, username as 'root', and email address
      Select 'y' to make the files in the installation directory read only
      # chmod -R 755 /usr/local/pgi
      # chown -R root:root /usr/local/pgi
      # exit
  3. Obtain a permenant license key for the compiler
    Without a permenant license the compiler and all derived executables will cease to function after 15 days.
    1. Purchase Portland Group Fortran 77 compiler from from The Portland Group.
    2. Follow the instructions given in PGI's email to obtain a FlexLM license key
    3. Using your favorite text editor, paste the resulting license key into the /usr/local/pgi/license.dat file
  4. Setup the PGI environment
    % su
    # cd /usr/local/pgi
    # vi pgisetup
    i (to enter insert mode)
    setenv PGI /usr/local/pgi
    set path = ($PGI/linux86/bin $path)
    setenv LM_LICENSE_FILE $PGI/license.dat
    lmgrd.rc start
    <Esc>:wq (to quit and save)
    # touch flexlm.log
    # chmod 666 flexlm.log
    # exit
  5. Running pgf77
    Using the FlexLM license, pgf77 can be run by any user so long as only a single copy of pgf77 is run at any given time. Before using pgf77, you must execute the following command to start the FlexLM daemon and correctly setup the environment:
    % /bin/csh
    $ source /usr/local/pgi/pgisetup
    After using pgf77, you may execute the following command to stop the FlexLM daemon:
    $ /usr/local/pgi/linux86/bin/lmgrd.rc stop

Additional notes for using pgf77 version 3.1 under Red Hat Linux 7.X

As of this writing, the current version of pgf77 is version 3.2-4, which installs under Red Hat Linux as described above. The previous version of pgf77 was 3.1-3, which installed properly under Red Hat Linux 6.2. The best solution for installing pgf77 under Red Hat Linux 7.2 is to upgrade to the latest version of the compiler, in which case the following instructions are irrelevant. However, it is possible to (re)install the older version 3.1 pgf77 compiler under the newer operating system Red Hat Linux 7.2 as follows.

  1. Install the compiler as in step 2 above, except do not create an evaluation license. (The license creation process fails due to the use of old libraries in these utilties and the unix epoch counter problem.)
  2. Download new license utilities. Gunzip and untar them over the installed versions.
    # cd /usr/local/pgi
    # tar xzvf linux86_glibc2.tar.gz
  3. If it is necessary to obtain a new license key because the compiler is being moved to a new machine, manually determine the host id with
    # /usr/local/pgi/linux86/bin/lmutil hostid
    visit the PGI Online License Key System and delete the previous license key, wait for an email confirmation, generate a new key with the current hostid, and paste the license key into the /usr/local/pgi/license.dat file. Edit the license.dat file to reflect the machine's hostname and the installation directory.
  4. Update the pgf77 library routines. (The default libraries are not compatible with glibc2.2.)
    # cd /usr/local/pgi
    # cp linux86/lib-glibc-212/* linux86/lib
    Alternatively, download the latest trial version of the compiler, extract the linux86/lib-glibc-22 directory and copy it into the linux86/lib directory
    # cd /usr/local/pgi
    # tar xzvf /{download_dir}/linux86-F77.tar.gz linux86/lib-glibc-22
    # cp linux86/lib-glibc-22/* linux86/lib
  5. Set up the PGI environment and run pgf77 as in steps 4 and 5 above.
Copyright © 2001, WebMO, LLC, all rights reserved.