Changeset 9582


Ignore:
Timestamp:
09/02/11 09:34:47 (14 years ago)
Author:
Mathieu Morlighem
Message:

Fixed serial dakota (bad cast of parameters)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/modules/Dakotax/Dakotax.cpp

    r9571 r9582  
    7070        /*Retrieve parameters: */
    7171        #ifdef _SERIAL_
    72         FetchMatlabData((DataSet**)&parameters,mxGetField((mxArray*)femmodel,0,"parameters"));
     72        printf("-------------- file: Dakotax.cpp line: %i\n",__LINE__);
     73        FetchMatlabData((Parameters**)&parameters,mxGetField((mxArray*)femmodel,0,"parameters"));
     74        printf("-------------- file: Dakotax.cpp line: %i\n",__LINE__);
    7375        #else
    7476        parameters=femmodel->parameters;
    7577        #endif
    76 
    77         PetscSynchronizedPrintf(MPI_COMM_WORLD,"hello %i\n",my_rank);
    78         PetscSynchronizedFlush(MPI_COMM_WORLD);
    79 
    80 
    8178
    8279        /*Recover dakota_input_file, dakota_output_file and dakota_error_file, in the parameters dataset in parallel */
Note: See TracChangeset for help on using the changeset viewer.