USA

To develop a Fortran program on an HP NonStop system (formerly Tandem), follow these steps:

  1. Access the Development Environment:
    • Log in to the HP NonStop system using your credentials.
    • Ensure you have the necessary permissions to create and manage files.
  2. Prepare Your Fortran Source Code:
    • Use a text editor available on the NonStop system to write your Fortran code.
    • Save your source code with an appropriate filename, typically with a .FOR extension.
  3. Compile the Fortran Program:
    • HP NonStop systems provide a Fortran compiler that supports the ANSI FORTRAN 77 standard with specific extensions.
    • To compile your program, use the following command in the system’s command-line interface:
      nginx
      F77 sourcefile

      Replace sourcefile with the name of your Fortran source file.

  4. Link the Program:
    • After compilation, link the object file to create an executable.
    • Use the linker command:
      nginx
      LINK objectfile, executablefile

      Replace objectfile with your compiled object file and executablefile with your desired executable name.

  5. Execute the Program:
    • Run your executable by typing its name in the command-line interface:
      nginx
      RUN executablefile

      Ensure that the executable has the necessary permissions to run.

  6. Debugging and Optimization:
    • Utilize available debugging tools on the NonStop system to troubleshoot any issues.
    • Refer to the HP FORTRAN Reference Manual for guidance on optimization techniques and advanced features.

Additional Resources:

  • For detailed information on HP’s implementation of the FORTRAN 77 language and its extensions, consult the FORTRAN Reference Manual.
  • For insights into the NonStop system architecture and programming environment, refer to the HP NonStop Basics.

By following these steps and utilizing the provided resources, you can effectively develop and run Fortran programs on HP NonStop systems.

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.


Page dynamically generated on

Brooks Computing Systems, LLC
Quality, Reliability & Service