Ticket #13633: patch-mpncra.c

File patch-mpncra.c, 587 bytes (added by takeshi@…, 17 years ago)
Line 
1--- src/nco/mpncra.c.orig       2007-12-19 10:11:55.000000000 +0900
2+++ src/nco/mpncra.c    2007-12-19 10:12:16.000000000 +0900
3@@ -1204,7 +1204,7 @@
4 
5     /* Add time variable to output file
6        NB: nco_cnv_arm_time_install() contains OpenMP critical region */
7-    if(CNV_ARM && prg == ncrcat) (void)nco_cnv_arm_time_install(out_id,base_time_srt);
8+    if(CNV_ARM && prg == ncrcat) (void)nco_cnv_arm_time_install(out_id,base_time_srt,dfl_lvl);
9 #ifdef ENABLE_MPI
10     nco_close(out_id); 
11     printf("DEBUG: Mgr prc_rnk %d closed out file %d after fixing date, time \n", prc_rnk, out_id);