pnetcdf nfmpi_put_vara_real_all problem

David Wong wong.david-c at epa.gov
Wed Sep 18 11:09:58 CDT 2013


Hi,

    I am able to create a file:

netcdf pCTM_CONC_1 {
dimensions:
         cols = 423 ;
         rows = 594 ;
         lays = 14 ;
         time = UNLIMITED ; // (0 currently)
         vars = 142 ;
variables:
         float NO2(time, lays, rows, cols) ;
         float NO(time, lays, rows, cols) ;
         float O(time, lays, rows, cols) ;

The code crashed with a segmentation fault (indicated the following line 
by traceback option):

         stat = nfmpi_put_vara_real_all (loc_pos%fileid, 
loc_pos%var_id(v), start, count, loc_data)

The argument for this call in one of the processor is:

loc_pos%fileid = 0
loc_pos%var_id(v) = 1
start =   1    1    1    1
count = 423   50   14    1
loc_data (size) = 423     50     14

I wonder what is the problem. Please advise.

Cheers,
David


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/parallel-netcdf/attachments/20130918/eb55192e/attachment.html>


More information about the parallel-netcdf mailing list