On Mon, 07 Mar 2005 08:07:17 -0500, Ed Hill <ed@xxxxxxx> wrote:
> On Mon, 2005-03-07 at 13:00 +0100, yongtao yang wrote:
> > I know this is a very vague message and I might be looking at
> > something totally unirrelevant, just hope somebody has similar
> > experience or know a bit of possible cause.
>
> Hi Yongtao,
>
> I think this has been discussed on this list earlier, but to condense:
>
> 1) the netCDF libs aren't thread-safe and
> 2) you're using OpenMP which is threads-based.
>
> So take a close look at your code and make sure that you don't have two
> threads (or two MPI processes!) trying to simultaneously write to (or in
> any way modify) the same netCDF file.
>
> Ed
>
Hello, Edward
Thank you very much for the reply. The thread-unsafeness of netCDF is
a new information for me and I will check the my code for possible
simultanous access to the netCDF file.
Hopefully I will be able to fix he problem. Thanks again.
--
Yongtao Yang
email: yongtao.yang@xxxxxxxxx