Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: jon@qcvaxa.acc.qc.edu (Jon Leong)
Subject: FORTRAN executables not transportable?
Date: Tue, 24 May 94 01:31:01 GMT	[thread overview]
Message-ID: <2rrht2$ijd@news.cuny.edu> (raw)

In an attempt to take advantage of idle CPU cycles, I FTPed a FORTRAN 
executable (a.out) from one Alpha OSF/1 system to another but it would
not run.  The Alpha with the idle cycles does not have a F77 compiler. 
That is why I was trying to deal with executables.

The error message I got was: 

   375:a.out: /sbin/loader: Fatal Error: Main's RLD_VERSION is 3,
   the correct version should be 1

I looked through the "f77", "loader" and "ld" man pages but was unable
to find anything to fix this problem. 

Does this mean that FORTRAN executables are not transportable? 

I figured that, starting from an object file, if I could form the
executable on the "idle" Alpha, it would have the correct loader version
but so far I've had little success.  Whenever I try using:

                           ld prog.o

I get a bunch of error messages saying that it can't find the basic
FORTRAN functions such as "for_open", "for_exit", "sqrt", etc.
Surprisingly, this happens on both Alphas; even the one with f77. By the
way, both Alphas are running OSF/1 version 2.0.  The "idle" Alpha *DOES*
have the basic FORTRAN libraries loaded (whatever came with the
operating system CDs). 

It seems that the only way I can get an executable from an object file
is to use the command: 
                            f77 prog.o

But of course, the problem is that I don't have f77 on the Alpha that I
want to run the program on. 

Unfortunately, the College did not see fit to buy any of the docs (hard
copy or CD) for the Alphas and since I am primarily a VMS person, I'm
flying blind. 

Any help would be appreciated.

Thanks in advance.

Jon Leong                                          JON@QCVAXA.BITNET
VAX Systems Manager                                JONQC@CUNYVM.CUNY.EDU
Academic Computer Center
Queens College, NYC


             reply	other threads:[~1994-05-24  1:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-05-24  1:31 Jon Leong [this message]
1994-05-24 16:20 ` FORTRAN executables not transportable? John R. Reagan
1994-05-24 18:22   ` Castor Fu
1994-05-24 21:43 ` FORTRAN executables not transportable? (Summary) jon
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox