[mpich-discuss] Jumpshot and mpich2-1.3.3rc1

Anthony Chan chan at mcs.anl.gov
Tue Mar 8 15:03:15 CST 2011


I agree with everything that Dave just said.
Here are couple points that I would like to add related
to java.

----- Original Message -----

> > 1) java installed on my machine isn't working with Jumpshot.
> > gij --version
> > gij (GNU libgcj) version 3.4.6 20060404 (Red Hat 3.4.6-11)

Your Linux distro seems to be very old!  Do you have "yum" on
your system ?  If so, you could do "yum search openjdk" or
"yum search java" and install whatever appropriate for your system.
If not, you need to go to either Oracle or IBM java sites to download
a version that is working for your system.

> > 3) Has JRE env been deprecated, as it doesn't work anymore?
> 
> No idea, Anthony can probably answer this.

Both JRE_HOME and JAVA_HOME are supported in the recent releases
of MPE2 and/or MPICH2.  Here is what I did for my installed version
of jumpshot to use env variable JRE_HOME/JAVA_HOME to set the JVM

/home/chan/mpich_work/install> bin/jumpshot -show
GUI_LIBDIR is set. GUI_LIBDIR = /home/chan/mpich_work/install/lib
/usr/bin/java -Xms32m -Xmx512m -jar /home/chan/mpich_work/install/lib/jumpshot.jar
/home/chan/mpich_work/install> readlink -f /usr/bin/java
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java
/home/chan/mpich_work/install> setenv JRE_HOME /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre
/home/chan/mpich_work/install> bin/jumpshot -show
GUI_LIBDIR is set. GUI_LIBDIR = /home/chan/mpich_work/install/lib
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java -Xms32m -Xmx512m -jar /home/chan/mpich_work/install/lib/jumpshot.jar
/home/chan/mpich_work/install> unsetenv JRE_HOME
/home/chan/mpich_work/install> setenv JAVA_HOME /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre
/home/chan/mpich_work/install> bin/jumpshot -show
GUI_LIBDIR is set. GUI_LIBDIR = /home/chan/mpich_work/install/lib
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java -Xms32m -Xmx512m -jar /home/chan/mpich_work/install/lib/jumpshot.jar


More information about the mpich-discuss mailing list