Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

thread safty on SGI

Has anyone running a multithreaded program seen problems on an SGI. Here is what I am doing...


I have a program that creates a lot of netCDF files. Various threads can be reading from any file but only one thread will ever be writing. Now, on the SGI, and only the, SGI data inside the netcdf lib get corrupted. I send in a valid record id for put_rec(data,id) and inside the lib this get set to some goofy value.

Am I breaking the standards for netcdf?? Or is this a bug. I have seen problems with thread safe I/O on the SGI in the past but I am not sure if this is the case here.

BTW, I am using the C++ version of this and I have tried many of the 3.5.1 beta versions. (Right now I am using beta 11)

Thanks
Matt


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690