A parallel modula-2 compiler for the PRAM emulator is available in the file pm2.tar.Z File pm2.tar.Z contains also some example algorithms implemented in pm2. Parallel Modula-2 Compiler pm2 programming language is Modula-2/Pascal mixture having extensions for parallel execution in a PRAM. Parallelism is expressed by pardo-loop- structure. Additional features include privat/shared variables, two synchronization strategies, load balancing and parallel dynamic memory allocation. The compiler produces PRAM assembler that can be executed by the PRAM emulator. Since the language is a PRAM-programming language, its features depend heavily on the PRAM, e.g. it supports the same memory models than the emulator. The compiler (and the language) should be considered as an experimental version. The implementation still has some restrictions and loss of efficiency, but it usually works. The compiler can be installed and used if an ANSI C compiler (preferably with cpp and make-utility for convenience) is available. Good luck! Simo Juvaste, University of Joensuu, FINLAND email: sjuva@cs.joensuu.fi -- Pasi Hamalainen, phamal@cs.joensuu.fi -- | Pasi Hamalainen phamal@cs.joensuu.fi | |--------------------------------------------------------| | if ( (void **)Buf != NULL && *((void **)Buf) != NULL ) | | { free( *((void **)Buf) ); *((void **)Buf) = NULL; } |