
$Id: README,v 1.3 2000/05/31 17:48:57 yamauchi Exp $
	README : Mpi2Java
	       Parallel Radiosity and Ray-Tracing Renderer for Java.

			Copyright (C) 2000-5-31 YAMAUCHI Hitoshi 

This directory contains Parallel multi-pass renderer `Mpi2Java'.
Mpi2Java is implemented parallel Radiosity method (based on
Progressive refinement method) and parallel distributed Ray-Tracing
method.

1. Requirement for building Mpi2Java 

	mpiJava-1.2.with.MaedaPatch.tar.gz is compiled.
	JDK1.2 or later installed

2. Build

	gunzip Mpi2Java.{version}.tar.gz 
	tar xvf Mpi2Java.{version}.tar
	cd Mpi2Java/jp/ac/tohoku/is/archi/mpi2/
	configure
	make

   Please put both Mpi2Java directory and $MPIJAVAROOT(default
   mpiJava-1.2) directory in same directory. When they are putted in
   same directory, configure may find the mpiJava-1.2 directory. If
   configure can not find mpiJava-1.2 directory, try below two things.

        1. Set `prunjava' command on your PATH. Configure thinks
	   prunjava is in $MPIJAVAROOT/src/scripts/prunjava.

        2. Set environment variable $MPIJAVALIB as `$MPIJAVAROOT/lib'.

   Second method is more directory and it must be works, however, 
   I strongly recommend set prunjava on your path to do parallel
   rendering.

3. Test 

   add $MPIJAVAROOT/lib/classes to your CLASSPATH.
   add $MPIJAVAROOT/lib to your LD_LIBRARY_PATH.
   add $MPIJAVAROOT/src/scripts and . to your PATH
	(If your path is not include `.', file not found error
	 will be happen. This is current mpiJava implementation.)
	
   `prunjava numprocs JavaCommand' will start to parallel program.
   A sample is in Mpi2Java/jp/ac/tohoku/is/archi/mpi2/sampledat/1PE/4tri.
   Please try to type ./tes.sh at  
   Mpi2Java/jp/ac/tohoku/is/archi/mpi2/sampledat/1PE/4tri.
   
   Some messages are output and finally save.test.out file is created.
