Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
I had the same problem like you on RS6000. There is a bug in the code which unidata admitedly will fix in the future(I don't know when). You can get around it by requesting -g (debugger activated) instead of -O (code optimization). That should work pretty well. Good luck. Stefano Niscov
netcdfgroup
archives: