I would like to submit the following change to facilitate the use of GRASS on clusters/in parallel jobs:
Index: lib/init/init.sh =================================================================== --- lib/init/init.sh (revision 33097) +++ lib/init/init.sh (working copy) @@ -159,7 +159,11 @@ export GIS_LOCK # Set the global grassrc file -GISRCRC="$HOME/.grassrc6" +if [ -n "$GRASS_BATCH_JOB" ] ; then + GISRCRC="$HOME/.grassrc6.`uname -n`" +else + GISRCRC="$HOME/.grassrc6" +fi # Set the session grassrc file if [ "$MINGW" ] ; then This change will render GISRCRC individual if running GRASS in parallel on a series of machines. For a "normal" user the behavior is as before. Any objections? Markus _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
