[GRASS-dev] Problem with R on cluster (HPC)

Rainer M Krug r.m.krug at gmail.com
Thu Oct 9 04:29:55 EDT 2008


On Thu, Oct 9, 2008 at 9:51 AM, Markus Neteler <neteler at osgeo.org> wrote:
> Rainer,
>
> On Wed, Oct 8, 2008 at 7:25 PM, Rainer M Krug <r.m.krug at gmail.com> wrote:
>> Hi
>>
>> I am trying to run a simulation on an HPC (high performance cluster).
>> To simulate, I have to start GRASS on each node and execute a script.
>> I wrote the script into .grass.bashrc in my home directory, which is
>> available on all nodes.
>>
>> The .grass.bashrc is as follow:
>
> AFAIK this is just the wrong place.

Right - I realized this morning the environmental variable
GRASS_BATCH_JOB: it is doing exactly what I need.
It is working now.

>
> http://grass.osgeo.org/grass64/manuals/html64_user/variables.html
> "To get personal BASH shell definitions (aliases, color listing
> option, ...) into GRASS, store them in:
>  $HOME/.grass.bashrc"
>
> Did you take a look at
> http://grass.osgeo.org/wiki/Parallel_GRASS_jobs
> ? Maybe that helps how to set it up.

Thanks - that one pointed out GRASS_BATCH_JOB as well.

Thanks,

Rainer


>
> Markus
>



-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Faculty of Science
Natural Sciences Building
Private Bag X1
University of Stellenbosch
Matieland 7602
South Africa


More information about the grass-dev mailing list