Newsgroups: comp.os.parix,comp.lang.fortran
From: arno@cs.leidenuniv.nl  (Arno van Duin)
Subject: PARIX/FORTRAN read problem
Organization: Dept. of Math. and Comp. Sci. ; Univ. of Leiden ; the Netherlands
Date: 3 Aug 1994 15:33:43 GMT
Message-ID: <31odcn$bgf@nic.wi.leidenuniv.nl>

Hi,

Using PARIX on our 16 node Parsytec I encountered the following problem when I
try to read from a file in a FORTRAN program.

My program (test.f) is:

      program test
      character*15 chtest
      open(unit=11,file='test.f')
      read(11,'(a)') chtest
      close(11)
      write(*,*) chtest
      end

After making the executable test.px with the following commands:

/usr/parix/bin/f77.px  -I/usr/parix/include -DACE -c test.f

/usr/parix/bin/ld /usr/parix/lib/ldfile_n  -Ar -c -e _ParixMain /usr/parix/lib/crt0.o  -Y L,/usr/parix/lib -Y U,/usr/parix/usr/lib test.o -o test.px -lc -lcrt -lOS -lF77 -lI77 -lm

running the program on one processor:

run -c0 1 1 test

gives:

run : Creating 1 * 1 descriptor by calling mkdesc.
run : Requesting network by calling saconfig.
run : Starting D-Server at trans link 0.
dofio: [-1] end of file
logical unit 11, named 'test.f'
lately reading sequential formatted external I/O
part of last format: (a)
part of last data:       end^J|
/usr/parix/bin/run: 12648 Abort - core dumped
run : Returning network by calling saconfig.
run : Terminating with result = 0.

BTW the program runs fine on our HP9000 (ergo no programming error).

Has anyone encountered similar problems?
Does anybody out there spot the (obvious??) error?


Thanks in advance,

Arno

--
Arno van Duin
High Perf. Comp. Division         Informatica room 152
Dep. of Comp. Science             Niels Bohrweg 1
Leiden University                 2333 CA  Leiden
P.O. Box 9512                     Tel    : +31 71 277052
2300 RA  Leiden                   Fax    : +31 71 276985
Holland                           e-mail : arno@cs.leidenuniv.nl


-- 
Arno van Duin
High Perf. Comp. Division         Informatica room 152
Dep. of Comp. Science             Niels Bohrweg 1
Leiden University                 2333 CA  Leiden
P.O. Box 9512                     Tel    : +31 71 277052
2300 RA  Leiden                   Fax    : +31 71 276985
Holland                           e-mail : arno@cs.leidenuniv.nl

