[GRASS-dev] batch-grass.sh not working with GRASS > 6.0

Markus Neteler neteler at itc.it
Fri Aug 18 07:44:06 EDT 2006


Robert,

please run the script with
sh -x scriptname
to better understand what happens.

We have a Wiki page dedicated to Shell batch jobs:
http://grass.gdf-hannover.de/wiki/GRASS_and_Shell
which may also be of help.

Markus

On Fri, Aug 18, 2006 at 12:29:42PM +0200, Robert Nuske wrote:
> Dear Developers,
> 
> does anybody know why batch-grass.sh 
> from the GRASS FAQ "How to use GRASS in batch mode?"
> does not work anymore?
> 
> I run the batch-grass.sh script for the last time successfully in May with 
> whatever cvs version was up-to-date at that time, probably 6.1.
> 
> After fiddling with my grass-scripts and cluelessly looking through 
> batch-grass.sh I tested all 6.x versions and found that my set-up works with 
> the 6.0 version but not with the newer versions.
> 
> Thats why I am wondering what changed in GRASS to that effect. And what do I 
> need to do, to get batch-grass.sh working again.
> 
> I very much appreciate any hints, tips and fixes.
> 
> cheers,
>   robert
> 
> --tests-----------------------------------------------------------
> simple test with one command:
> ./batch-grass.sh eifel nwz2 g.region -p
> 
> 6.0.2  is okay
> 
> grass-6.1.0 - 6.3.cvs give the following
> ./batch-grass.sh: line 62: 16750 Speicherzugriffsfehler  $*
> 
> 
> providing the grass commands in a file: 
> ./batch-grass.sh eifel nwz2 -file g_commands.sh
> 
> grass-6.0.2 again works
> 
> and the others fail with this message:
> sh: line 1: 17129 Speicherzugriffsfehler  g.region -p
> 
> 
> with:
> grass-6.3.cvs (cvs from 2006-08-17)
> grass-6.2.cvs (built from grass-6.2.cvs_src_snapshot_2006_08_12)
> grass-6.1.0   (built from grass-6.1.0.tar.gz)
> grass-6.0.2   (built from grass-6.0.2.tar.gz)
> 
> 
> 
> 
> _______________________________________________
> grass-dev mailing list
> grass-dev at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev

-- 
Markus Neteler  <neteler itc it>  http://mpa.itc.it/markus/
ITC-irst -  Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18        -       38050 Povo (Trento), Italy




More information about the grass-dev mailing list