[GRASSLIST:5500] Re: use GRASS on a beowulf linux cluster

Moritz Lennert mlennert at club.worldonline.be
Mon Jan 24 10:05:17 EST 2005


On Sun, January 23, 2005 21:36, Eric Pante said:
> Dear listers,
>
> I am trying to write a shell script to use GRASS on a beowulf linux cluster.
> In order to launch jobs on different nodes of the cluster, I was told to
> write a shell script that would first initiate the grass environment, run
> the grass commands, and then close grass ; I would launch the script using
> rsh.
>
> I wrote a script which first grass command is "grass53 /home/eric/a/b" (1).
> This successfully initiates the grass environment, but the rest of the
> commands does not run. When I manually exit the
> grass environment, I have an error message such as (for example):
> "i.texture: command not found" . I try to pipe the command (1) without any
> luck. What is the proper way to do this?

I am no expert, but I think that "initiate the grass environment" means
setting necessary GRASS environment variables, not launching the grass53
executable (BTW, you might want to switch to the stable 5.4 version...).

See "Batch usage of GRASS" at

http://grass.itc.it/gdp/grass5tutor/HTML_en/c1825.html#batch

Moritz




More information about the grass-user mailing list