Hi,<br><br>The attached program writes a file of form <br><br>netcdf test {<br>// file format: CDF-5 (big variables)<br>dimensions:<br> Clen1 = 12 ;<br> Clen2 = 6 ;<br>variables:<br> char string1(Clen1) ;<br>
char string2(Clen2, Clen1) ;<br>data:<br><br> string1 = "abcdefghijkl" ;<br><br> string2 =<br> "1bcdefghijkl",<br> "2bcdefghijkl",<br> "3bcdefghijkl",<br> "4bcdefghijkl",<br>
"5bcdefghijkl",<br> "6bcdefghijkl" ;<br>}<br><br>The program works fine when using #include <pnetcdf.inc> but when trying to use pnetcdf.mod<br>it incorrectly gives an error, I believe that the module interface just needs to be expanded to include multi-dimensional character strings. I am using code from the repository svn v1100 <br>
<br clear="all"> mpxlf95_r pnetcdf-write-bug.F -I/contrib/parallel-netcdf/svn1100/include -L/contrib/parallel-netcdf/svn1100/lib -lpnetcdf -qfixed<br>"pnetcdf-write-bug.F", line 79.48: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.<br>
** main === End of Compilation 1 ===<br>1501-511 Compilation failed for file pnetcdf-write-bug.F.<br><br>-- <br>Jim Edwards<br><br><font>CESM Software Engineering Group<br>National Center for Atmospheric Research<br>Boulder, CO <br>
303-497-1842<br></font><br>