[MINC-users] Problem in Parallel mode

Parya Mamayyez Siahkal parya.momayyezsiahkal at mail.mcgill.ca
Mon Oct 26 10:22:09 EDT 2009


Hi Andrew,

The files I am using are all MINC1 files.
Does this help?

In terms of where this error messages are being generated, it is just at
the beginning of the program where I am trying to initialize the volume:

volume_io::set_volume_real_value(_cf_minc_volume,n,z,y,x,0,value);

thanks,
Parya


Andrew Janke wrote:
> 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
>
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www2.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>
>   



More information about the MINC-users mailing list