From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,df46b1f903222a2d,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-05-24 06:47:41 PST Path: bga.com!news.sprintlink.net!sundog.tiac.net!usenet.elf.com!rpi!usc!howland.reston.ans.net!europa.eng.gtefsd.com!newsxfer.itd.umich.edu!jobone!ukma!news.cuny.edu!news From: jon@qcvaxa.acc.qc.edu (Jon Leong) Newsgroups: comp.unix.osf.osf1 Subject: FORTRAN executables not transportable? Date: Tue, 24 May 94 01:31:01 GMT Organization: Queens College, CUNY Message-ID: <2rrht2$ijd@news.cuny.edu> NNTP-Posting-Host: qcvaxa.acc.qc.edu Keywords: fortran 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