Suppressing Math Coprocessor Use by a FORTRAN Application

Last reviewed: July 19, 1995
Article ID: Q47749
The information in this article applies to:
  • Microsoft FORTRAN for MS-DOS, versions 4.0, 4.01, 4.1, 5.0, and 5.1
  • Microsoft FORTRAN for OS/2, versions 4.1, 5.0, 5.1

To prevent a FORTRAN program linked with the emulator math library from using the math coprocessor, modify your environment to define the symbol NO87. Enter the following command at the operating system prompt:

   SET NO87=TRUE

When NO87 is defined to contain any string, no FORTRAN application will use the coprocessor. Instead, each application displays the "use of coprocessor suppressed" message.

To suppress coprocessor use for all FORTRAN applications under MS-DOS, edit your AUTOEXEC.BAT file to include the SET command. Under OS/2, edit your CONFIG.SYS file to include the SET command.

For more information, see page 16 of the Microsoft FORTRAN "Advanced Topics" manual for version 5.1, page 17 of the Microsoft FORTRAN "Advanced Topics" manual for version 5.0, or page 204 of the Microsoft FORTRAN "User's Guide" for versions 4.x. The index lists this information under the heading "Environment Variables, NO87." In FORTRAN version 3.2, see the README.TXT file for information on the NO87 environment variable.


Additional reference words: kbinf 4.00 4.01 4.10 5.00 5.10
KBCategory: kbprg kbhw
KBSubcategory: FORTLngIss


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 19, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.