From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,a4ea9fca1ac6223e X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-07-18 16:31:22 PST Path: bga.com!news.sprintlink.net!news.onramp.net!convex!news.duke.edu!MathWorks.Com!yeshua.marcam.com!charnel.ecst.csuchico.edu!olivea!decwrl!pa.dec.com!jac.zko.dec.com!quark.enet.dec.com!lionel From: lionel@quark.enet.dec.com (Steve Lionel) Newsgroups: comp.sys.dec Subject: Re: Need Fortran Lic. to run Fortran .EXEs? Date: 18 Jul 1994 20:48:40 GMT Organization: Digital Equipment Corporation, Nashua NH Distribution: world Message-ID: <30epr8$cqq@jac.zko.dec.com> References: <18JUL199411513226@vx.cis.umn.edu> Reply-To: lionel@quark.enet.dec.com (Steve Lionel) NNTP-Posting-Host: quark.zko.dec.com X-Newsreader: mxrn 6.18-17 In article <18JUL199411513226@vx.cis.umn.edu>, tkennedy@vx.cis.umn.edu (Tim Kennedy) writes: |>Hi folks; |> |>Bit of a problem here... |> |>Our .exe files won't run on a client's new VMS system. |>We've been told that he needs to buy a Fortran license. |>Truth or salestalk? False. There is no additional license to run Fortran applications on any OpenVMS system beyond that necessary to run VMS itself. This is true of all OpenVMS compiled languages (and essentially true for other Digital platforms though you may need to include the libraries with the application; the license allows this.) Assuming you're referring to OpenVMS VAX, what you may have done is installed DEC Fortran V6.0 or later, which includes a new math library, and failed to heed the multiple warnings (in the installation guide, release notes and displayed during installation) that tell you that images linked on that system may not be runnable on other OpenVMS VAX systems which don't also have DEC Fortran installed. This is not due to lack of a license but rather DEC Fortran installs a MTHRTL.EXE with a "bumped" global section image identification and images linked against it won't run on systems that don't also have the updated MTHRTL.EXE (which is also included in OpenVMS VAX V6.1.) The release notes tell you how to avoid being bitten by this, as follows: 1.1.1.3 New Math Library Considerations DEC Fortran provides new, revised versions of the VMS Math Library shareable images MTHRTL.EXE and VMTHRTL.EXE. (The shareable image UVMTHRTL.EXE, which is functionally identical to MTHRTL, is also provided.) Due to a significant number of new entry points defined in MTHRTL, required by DEC Fortran, the global section match ident of that image was required to be changed. While previously linked images will run with the new MTHRTL, newly linked images will not run on other OpenVMS VAX systems (V6.0 or earlier) which do not have the new MTHRTL. In addition, images linked against the new MTHRTL which are then translated by the DECmigrate product will not run on OpenVMS AXP systems. The following paragraphs explain how to compile and link applications so that they may run on these other systems. The new support will be included with OpenVMS VAX Version 6.1. Until that version is available, you must reinstall the DEC Fortran kit each time you install a new version of OpenVMS VAX. The installation procedure preserves the OpenVMS-supplied shareable images under the names FORTRAN$MTHRTL-VMS, FORTRAN$VMTHRTL-VMS and FORTRAN$UVMTHRTL-VMS. To link an image so that it will run on OpenVMS versions that lack the enhanced RTL images use the following method: $ DEFINE/USER MTHRTL FORTRAN$MTHRTL-VMS $ DEFINE/USER VMTHRTL FORTRAN$VMTHRTL-VMS $ LINK program %LINK-I-IDMISMCH, GSMATCH of 81,00800C in shareable image SYS$COMMON:[SYSLIB]MTHRTL-VMS.EXE;1 differs from GSMATCH of 81,00800D in shareable image library SYS$COMMON:[SYSLIB]IMAGELIB.OLB;1 The LINK-I-IDMISMCH informational message can be ignored. This will cause the linker to always look for the saved copy of MTHRTL and VMTHRTL and will avoid the linker informational diagnostic. In addition, any Fortran modules should be compiled with the command qualifier /MATH_LIBRARY=V5. This causes the compiler to not use any of the new entry points, thus allowing error-free linking against the old MTHRTL, but the associated performance enhancements will be lost. This qualifier also allows Fortran object modules to be linked on other OpenVMS VAX systems which don't have the updated math library. See section Section 2.4.1.4 for more details. If you need further assistance, send me mail; include a more detailed description of "won't run". -- Steve Lionel Mail: lionel@quark.enet.dec.com DEC Fortran Development WWW: http://www.digital.com/info/slionel.html Digital Equipment Corporation 110 Spit Brook Road, ZKO2-3/N30 Nashua, NH 03062-2698 "Free advice is worth every cent" For a summary of Digital's Internet services, send mail to info@digital.com