[mpich-discuss] request to enhance jumpshot script for portability

chong tan chong_guan_tan at yahoo.com
Mon Dec 29 19:05:47 CST 2008


version used : 1.0.8
 
the current jumpshot script created by config has the JAVA path and MPICH2 installation path hard coded in.  This make shipping jumpshot to a different env impossible without hacking.
 
I am requesting that the jumpshot/jumpshot.in code (in src/mpe2/src/slog2sdk/bin) be enhanced with the following changes:
 
# Set JAVA environment
if [ "XX${JRE}" = "XX" ] ; then
    JVM=<JAVA path during configure>/bin/java  ###
else
    JVM=${JRE}/bin/java
fi
JVMOPTS=""                                                 ###
# Assume user's environmental JVMFLAGS is better than what configure found.
JVMFLAGS=${JVMFLAGS:-${JVMOPTS}}       ###
# Set PATH to various jar's needed by the GUI
MPIEXEC_PATH=`which mpiexec`
echo ${MPIEXEC_PATH}
if [ "XX${MPIEXEC_PATH}" = "XX" ] ; then
   GUI_LIBDIR=<MPICH2 install path>/lib         ###
else
   GUI_LIBDIR=$(dirname $(dirname $MPIEXEC_PATH))/lib
fi


where path in <> are hard coded like the existing code.  the env var JRE (or any name the MPICH2 group prefers) decides where to pickup the JRE.  lines marked ### are lines from 1.0.8 release.
 
this will make relocating jumpshot to a different system easy.
 
thanks
tan
 


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20081229/0cf7dd9e/attachment.htm>


More information about the mpich-discuss mailing list