[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference star::wizards

Title: "ASK THE WIZARDS"
Moderator:QUARK::LIONEL
Created:Mon Oct 30 1995
Last Modified:Mon May 12 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1857
Total number of notes:3728

1716.0. "Closed: Fortran/C on Ovms 7.1 run on Ovms 6.2?" by STAR::JKEENAN () Thu Apr 24 1997 10:25

Return-Path: "VMS001::WWW"@vms001.das-x.dec.com
Received: by vmsmkt.zko.dec.com (UCX V4.1-12, OpenVMS V6.2 VAX);
	Wed, 9 Apr 1997 15:07:51 -0400
Received: from vms001 by mail13.digital.com (8.7.5/UNX 1.5/1.0/WV)
	id PAA27060; Wed, 9 Apr 1997 15:04:33 -0400 (EDT)
Date: Wed, 9 Apr 1997 14:07:44 -0400
Message-Id: <[email protected]>
From: "VMS001::WWW"@vms001.das-x.dec.com (09-Apr-1997 1407)
To: [email protected], [email protected], [email protected]
Subject: Ask the Wizard: '[email protected]'
X-VMS-To: [email protected]

Remote Host: (null)
Browser Type: Mozilla/3.01 (Macintosh; U; PPC)
Remote Info: <null>
Name: Joann Nault
Email Address: [email protected]
CPU Architecture: Alpha
Version: v 6.2
Questions: 

If I create an executable program (from Fortran/C) on an
OpenVMS 7.1, will I be able to run the same program
(exe only) on an OpenVMS 6.2 system?
T.RTitleUserPersonal
Name
DateLines
1716.1QUARK::LIONELFree advice is worth every centThu Apr 24 1997 12:3932
You asked:

>If I create an executable program (from Fortran/C) on an
>OpenVMS 7.1, will I be able to run the same program
>(exe only) on an OpenVMS 6.2 system?

Not by default - while OpenVMS is generally upwards compatible, it is 
generally NOT downwards compatible.  Changes to the run-time libraries may
prevent execution on older OpenVMS versions.

You can create executables on V7.1 to run on V6.2 - to do so, create a directory
with a copy of all of the .OLB and .EXE files from SYS$LIBRARY of a V6.2
system.  Then, before you link, define the following logical names:

	$ DEFINE SYS$LIBRARY disk:[dir]  ! the directory you created
	$ DEFINE MTHRTL SYS$LIBRARY:MTHRTL  (needed on VAX only)

An alternative is to link on the V6.2 system.

Before you do this, check the Fortran and C documentation (release notes) to
see if there are compiler compatibility issues.  Depending on what version of
Fortran you have, installation of a Fortran Run-Time Library kit may be 
necessary on the V6.2 system.


Steve Lionel                      mailto:[email protected]
Fortran Development               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 information on DIGITAL Fortran, see http://www.digital.com/fortran