Changeset 3259
- Timestamp:
- 01/26/12 21:06:42 (4 months ago)
- Location:
- branches/mcxtrace-1.0
- Files:
-
- 3 modified
-
lib/share/mccode-r.c (modified) (2 diffs)
-
lib/share/monitor_nd-lib.c (modified) (2 diffs)
-
nlib/monitors/Monitor_nD.comp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/mcxtrace-1.0/lib/share/mccode-r.c
r3253 r3259 783 783 "info [ \"URL: http://www.mccode.org/\"\n" 784 784 " \"Editor: %USR\"\n" 785 " \"Creator:%SRC simulation ( McStas)\"\n"785 " \"Creator:%SRC simulation (" MCCODE_STRING ")\"\n" 786 786 " \"Date: Simulation started (%DATL) %DAT\"\n" 787 787 " \"File: %FIL\" ]\n}\n" … … 4898 4898 /* merge run_num from MPI nodes */ 4899 4899 if (mpi_node_count > 1) { 4900 double ncount=(double)mcrun_num;4901 mc_MPI_Sum(&ncount, 1);4902 mcrun_num = (long long)ncount;4900 double mcrun_num_double = (double)mcrun_num; 4901 mc_MPI_Sum(&mcrun_num_double, 1); 4902 mcrun_num = (unsigned long long)mcrun_num_double; 4903 4903 } 4904 4904 #endif -
branches/mcxtrace-1.0/lib/share/monitor_nd-lib.c
r3127 r3259 358 358 if (Vars->Flag_per_st) { 359 359 if (Vars->Flag_Auto_Limits) 360 strncat(Set_Vars_Coord_Label, "/s t", 30);360 strncat(Set_Vars_Coord_Label, "/sr", 30); 361 361 } 362 362 if (XY > 1 && Vars->Coord_Number) … … 573 573 if (Vars->Flag_per_st) { 574 574 if (Vars->Flag_Auto_Limits) 575 strncat(Vars->Coord_Label[0], "/s t", 30);575 strncat(Vars->Coord_Label[0], "/sr", 30); 576 576 else 577 577 printf("Monitor_nD: %s: Flux per steradian requires Auto limits mode\n" -
branches/mcxtrace-1.0/nlib/monitors/Monitor_nD.comp
r3256 r3259 288 288 if (strstr(Vars.option, "auto") && mpi_node_count > 1) 289 289 printf("Monitor_nD: %s is using automatic limits option 'auto' together with MPI.\n" 290 "WARNING this will probably create incorrect output\n", NAME_CURRENT_COMP);290 "WARNING this may create incorrect distributions (but integrated flux will be right).\n", NAME_CURRENT_COMP); 291 291 #endif 292 292 %}
