Changeset 119 for trunk/tsuite/programs/mpi/mpi.c
- Timestamp:
- 12/25/05 12:19:02 (3 years ago)
- Files:
-
- 1 modified
-
trunk/tsuite/programs/mpi/mpi.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tsuite/programs/mpi/mpi.c
r13 r119 1 1 /*main program to call cloudy to generate a large loc data cube */ 2 #include <stdio.h> 3 #include <string.h> 4 #include <stdlib.h> 5 #include <math.h> 6 #include <assert.h> 2 #include "cddefines.h" 3 #include "cddrive.h" 7 4 8 5 /* This flag indicates where we are multi-processing.\ … … 16 13 /*lint -e506 constant value Boolean */ 17 14 18 #include "cddrive.h"19 15 20 16 #ifdef _MSC_VER … … 447 443 n = cdRead( "iterate convergence " );/**/ 448 444 # else 449 sprintf(chLine,"iterate % li", ITERATIONS);445 sprintf(chLine,"iterate %i", ITERATIONS); 450 446 n = cdRead( chLine ); 451 447 # endif … … 630 626 if( (lgOK=cdLine( "Fe2b", FeII_Bands[n][0] , &relative , &absolute ))<=0 ) 631 627 { 632 fprintf(stderr,"did not find %s %.1f % li\n","Fe2b",FeII_Bands[n][0],lgOK);633 fprintf(ioDATA,"did not find %s %.1f % li\n","Fe2b",FeII_Bands[n][0],lgOK);628 fprintf(stderr,"did not find %s %.1f %i\n","Fe2b",FeII_Bands[n][0],lgOK); 629 fprintf(ioDATA,"did not find %s %.1f %i\n","Fe2b",FeII_Bands[n][0],lgOK); 634 630 } 635 631 grid.pred[n+nLines] = log10(MAX2(1e-30,relative) );
