[MINC-users] Problem in Parallel mode

Andrew Janke a.janke at gmail.com
Mon Oct 26 01:11:21 EDT 2009


Hi Parya,


> I am using minc library to read and write 4D volumes.
> The code works fine when I am not running it in parallel.
> Even in the parallel mode, I don't have any problem with sufficiently
> small volumes.
>
> However, as soon as the volume gets a bit  big(e.g. 30*40*40), and I
> want to run the code in parallel, I'll get different kind of error
> messages at different runs, some of them are:
>
>  ncvarid: ncvarid: ncid 3ncid 6: NetCDF: Variable not found: NetCDF:
> Variable not found
> LocalParallelCF: posixio.c:571: px_get: Assertion `pxp->bf_refcount <=
> 0' failed.
> LocalParallelCF: posixio.c:248: px_pgin: Assertion `*posp ==
> ((off_t)(-1)) || *posp == lseek(nciop->fd, 0, 1)' failed.
>
> I have switched between minc1 and minc2, but the same kind of errors are
> being generated.

Having not seen your code I can't comment much except to ask if the
file in question is MINC1 or MINC2 (use file 'fred.mnc' to find out,
MINC1 is netcdf, MINC2 is HDF). both the MINC1 and MINC2 libraries can
read minc1 files and this might be muddying the water.

--
Andrew Janke
(a.janke at gmail.com || http://a.janke.googlepages.com/)
Canberra->Australia    +61 (402) 700 883



More information about the MINC-users mailing list