Ignore:
Timestamp:
10/08/20 20:18:25 (4 years ago)
Author:
jdquinn
Message:

BUG: Do not run Dakota statistics if fmemopen is not available

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/main/issm_dakota.cpp

    r25627 r25663  
    4141
    4242        /*Create directory structure for model outputs:*/
     43        #ifdef (_SYSTEM_FMEMOPEN_)
    4344        statistics=DakotaDirStructure(argc,argv);
     45        #endif
    4446
    4547        /* Parse input and construct Dakota LibraryEnvironment, performing input data checks*/
     
    8890
    8991        /* Run statistics if requested:*/
     92        #ifdef (_SYSTEM_FMEMOPEN_)
    9093        if(statistics)DakotaStatistics(argc,argv);
     94        #endif
    9195
    9296        /*free allocations:*/
     
    98102        return 0;
    99103        #else
    100         Cout <<  "ISSM Dakota  executable was compiled without support of Dakota! Will just return now!" << "\n";
     104        Cout <<  "ISSM Dakota executable was compiled without support of Dakota! Will just return now!" << "\n";
    101105        return 1;
    102106        #endif
Note: See TracChangeset for help on using the changeset viewer.