[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

KROC & occam on Linux



Peter asked me to let prove that KROC on Linux is really on the way
and programs can be compiled (see script below)

I have just compiled Peter's classic test program in two flavours and
put the binaries at this URL:

http://www.hensa.ac.uk/parallel/occam/projects/occam-for-all/kroc/linux/

commstime.occ  CommsTime source code
par-ct	       commstime.occ compiled with a PAR in the PROC Delta 
seq-ct	       commstime.occ compiled with a SEQ in the PROC Delta

Note binaries are for ELF Linux only.

Dave
----------------------------------------------------------------------
foobar 5$ uname -a
Linux foobar 2.0.30 #3 Tue Jun 24 03:49:52 CDT 1997 i586 unknown
foobar 6$ kroc commstime.occ
Warning-oc-commstime.occ(182)- Parameter error is not used
Warning-oc-commstime.occ(182)- Parameter keyboard is not used
Warning-oc-commstime.occ(182)- Parameter error is not used
Warning-oc-commstime.occ(182)- Parameter keyboard is not used
TRAN386 - occam ETC code to 386 code converter. Copyright M D Poole 1997
foobar 7$ ls -l commstime
-rwxrwxr-x   1 djb1     ofa         65199 Jul  7 18:50 commstime*
foobar 8$ file commstime
commstime: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically linked, not stripped
foobar 9$ ./commstime

CommsTime in occam ...

Last value received = 1000015
Time = 5508380 microsecs
Time per loop = 5508 nanosecs
Time per context switch = 688 nanosecs
Last value received = 2000015
Time = 5508560 microsecs
Time per loop = 5508 nanosecs
Time per context switch = 688 nanosecs
foobar 10$ 

[OK, this is a rather slow PC :-) ]