From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,df46b1f903222a2d X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-05-25 18:34:08 PST Path: bga.com!news.sprintlink.net!uunet!usc!howland.reston.ans.net!usenet.ins.cwru.edu!ns.mcs.kent.edu!kira.cc.uakron.edu!malgudi.oar.net!news.ysu.edu!psuvm!news.cuny.edu!news From: jon@qcvaxa.acc.qc.edu Newsgroups: comp.unix.osf.osf1 Subject: RE: FORTRAN executables not transportable? (Summary) Date: Tue, 24 May 94 21:43:05 GMT Organization: Queens College, CUNY Message-ID: <2rtoti$e4p@news.cuny.edu> References: ,<2rrht2$ijd@news.cuny.edu> NNTP-Posting-Host: qcvaxa.acc.qc.edu Keywords: fortran Abbreviated version of my original post: > 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 > > Does this mean that FORTRAN executables are not transportable? > > By the way, both Alphas are running OSF/1 version 2.0. Apparently, I was mistaken about both Alphas having version 2.0 of the operating system. A few of the replies that I got pointed that out. A double check of the "idle" Alpha showed that it was only running version 1.2A. This explained why the RLD_VERSIONs did not match up. I received several replies which all told me to add the "-non_shared" option to the compilation command. Apparently, a default executable uses the dynamically linked libraries whereas in my situation, I need to have the library routines "built into" the executable. Anyway, the "-non_shared" option fixed it and I am able to run the executable on the Alpha that doesn't have a FORTRAN compiler. Thanks to all that replied. Jon Leong Queens College City University of New York