Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: D. Unger <unger@tfa.th-darmstadt.de>
Subject: Problem porting a f77-exec. to alpha/linux
Date: Thu, 5 Jun 1997 18:12:11 +0200 (MET DST)	[thread overview]
Message-ID: <199706051612.SAA07689@luchs.ttm.maschinenbau.th-darmstadt.de> (raw)

I have a f77 program which contains the following non-standard (but
usable on AIX, Solaris, Intel/linux, DU) lines of code:

	...
      call system('hostname > temp123456')
      call system('whoami >> temp123456')
      call system('pwd >> temp123456')
      call system('date >> temp123456')
      open(unit=11,file='temp123456',status='old')
      rewind(unit=11)
      read(11,'(a80)') host
	...

After compiling/linking statically (so that all run-time libs are
bound into the executable) on a Digital Unix Alpha, this code
runs fine on the DU Alpha, but when PORTING THE EXECUTABLE to an 
Alpha running Linux, I get the error message
	forrtl: severe (29): file not found, unit 11, file temp123456
	Command exited with non-zero status 29
and the program stops. Apparently the file temp123456 hasn't been created
and the system call didn't work,

	but why?

Any ideas are greatly appreciated,
	Ditmar.

-- 
                                \\\|///
                               \\ ~ ~ //
                               (/ @ @ /)
 ----------------------------oOOo-(_)-oOOo-------------------------------
|                                                                        |
|   Ditmar Unger                           E-mail:                       |
|   Fachgebiet Turbomaschinen              unger@tfa.th-darmstadt.de     |
|   und Fluidantriebstechnik                                             | 
|   TH Darmstadt                           Tel.  +49  (0) 6151 16-2603   |
|   Petersenstr. 30                        Fax.                16-5559   |
|   D - 64287 Darmstadt                                                  |
|                                                                        |
|   WWW:	http://www.th-darmstadt.de/fb/mb/tfa/Welcome.html        |
 ------------------------------------------------------------------------

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

             reply	other threads:[~1997-06-05 16:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-06-05 16:12 D. Unger [this message]
1997-06-05 17:34 ` Problem porting a f77-exec. to alpha/linux T. S. Horsnell
  -- strict thread matches above, loose matches on Subject: below --
1997-06-05 19:21 Craig Burley
1997-06-05 20:39 Craig Burley
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