[GRASS-dev] Re: race condition on cluster: "Unable to make mapset element"

Markus Neteler neteler at osgeo.org
Sat Aug 22 14:55:37 EDT 2009


(back to old problem)

On Wed, May 27, 2009 at 10:27 PM, Markus Neteler<neteler at osgeo.org> wrote:
> Hi,
>
> using GRASS on a cluster, I have troubles with very fast mini-jobs run
> in parallel:
>
> ERROR: Unable to make mapset element .tmp/blade07
>       (/home/neteler/grassdata/patUTM32/terra_lst1km20020730.LST_Day_1km.filt2.139412/.tmp/blade07):
>       File exists

Some few jobs even fail to lauch GRASS (GRASS is launched
with a new temporary mapset here):


************ Starting job at Sat Aug 22 20:05:33 CEST 2009 *************
SGE_ROOT /opt/SGE61
The cell in which the job runs default. Got 1 slots on 1 hosts
Cleaning up temporary files ...
Starting GRASS ...
Missing WIND file fixed
ERROR: Reading data path information from g.gisenv.
GISDBASE=[]
LOCATION_NAME=[]
MAPSET=[]

Check the </home/neteler/.grassrc6> file.
...

While "Missing WIND file fixed" is ok since it is a new mapset, the
error I don't understand. It comes from
lib/init.sh
apparently g.gisenv refused to work.

This happens in 10-20 of 3000 jobs. Using NFS if that matters.
Any idea?

Markus


More information about the grass-dev mailing list