Download "Installation Manual".

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
INSTALLATION: In spite of the fact that the ParJava environment has been implemented by the
Java there is a platform depended part of libraries, which deal with MPI. The implementation of a
massage passing layer by pure Java is actual problem for us, and a solution of it will allow to get full
portability of ParJava libraries.
At the current moment there are two types of the ParJava distributions:

The first one is an archive file included source codes of native-libraries;

The second one is an archive file included precompiled native-libraries intended for Solaris
and Linux OS.
In the first case compilation of native-libraries is needed. In the last case it is enough to unpack the
archive file and set environment variables.
Installation of the ParJava distribution included source codes of native-libraries:
1. The first, please make sure that following software is installed:

ND LAM – It is the implementation of message passing interface (MPI). The ParJava
environment has been implemented with using the 6.3.1. version of the LAM.

JDK 1.2. (or later) – The Java Development Kit is the Java run time system, the Java
compiler, the Java API, and other.

GCC 2.95 – It is the C/C++ compiler by GNU, which needed to create native-libraries.
2. To compile native-libraries it is necessary to make sure that the JAVA_HOME, LAMHOME
environment variables are presented and point to directories contained the JDK and LAM. If these
variables are not presented, please set its manually into your configuration files
NOTE:

Moreover, to avoid conflicts concerned with the LAM tools execution we recommend
to set path to the JavaVM place as the first entry in the PATH environment variable.
(for example, PATH=$JAVA_HOME/bin:<…>).
3. Extract the ParJava.tar.gz archive file
#gunzip ParJava.tar.gz
#tar xvf ParJava.tar
4. The ParJava directory will be created. This directory contains libraries of the ParJava
environment. To install (to compile native-libraries, to prepare the .PJ configure directory and etc.)
you have to execute setup inside of it.
#./setup
5. Please, add the ParJava/classes path to the CLASSPATH and the ParJava/lib to the
LIBRARY_PATH.
6. To lunch the ParJava environment you should execute the dev command inside ParJava directory.
#dev&
Installation of the ParJava distribution included precompiled native-libraries for the Solaris
and the Linux OS:
1. The first, please make sure that following software is installed:

ND LAM – It is the implementation of message passing interface (MPI). The ParJava
environment has been implemented with using the 6.3.1. version of the LAM.

JDK 1.2. (or later) – The Java Development Kit is the Java run time system, the Java
compiler, the Java API, and other.
2. Extract the ParJava-Linux-i386 archive file if you have the Linux and ParJavaSolaris-sparc in the Solaris case.
#gunzip <the archive file name>.tar.gz
#tar xvf < the archive file name>.tar
3. The ParJava directory will be created. This directory contains libraries of the ParJava
environment. To install (to compile native-libraries, to prepare the .PJ configure directory and etc.)
you have to execute setup inside of it.
#./setup
5. Please, add the ParJava/classes path to the CLASSPATH and the ParJava/lib to the
LIBRARY_PATH.
NOTE:

Moreover, to avoid conflicts concerned with the LAM tools execution we recommend to
set path to the JavaVM place as the first entry in the PATH environment variable. (for
example, PATH=$JAVA_HOME/bin:<…>).
6. To lunch the ParJava environment you should execute the dev command inside ParJava directory.
#dev&
NOTE: If you have any problems caused by installation, please send your questions to
[email protected]