Show
Ignore:
Timestamp:
12/25/05 12:19:02 (3 years ago)
Author:
gary
Message:

cleaning up programs

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/tsuite/programs/mpi/mpi.c

    r13 r119  
    11/*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" 
    74 
    85/* This flag indicates where we are multi-processing.\ 
     
    1613/*lint -e506  constant value Boolean */ 
    1714 
    18 #include "cddrive.h" 
    1915 
    2016#ifdef _MSC_VER 
     
    447443                                n = cdRead( "iterate convergence "  );/**/ 
    448444#                       else  
    449                                 sprintf(chLine,"iterate %li", ITERATIONS); 
     445                                sprintf(chLine,"iterate %i", ITERATIONS); 
    450446                                n = cdRead( chLine  ); 
    451447#                       endif 
     
    630626                                if( (lgOK=cdLine( "Fe2b", FeII_Bands[n][0] , &relative , &absolute ))<=0 ) 
    631627                                { 
    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); 
    634630                                } 
    635631                                grid.pred[n+nLines] = log10(MAX2(1e-30,relative) );