Changeset 25663
- Timestamp:
- 10/08/20 20:18:25 (4 years ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/m4/issm_options.m4
r25662 r25663 209 209 SYSTEM_FMEMOPEN="no" 210 210 if test "${IS_MAC}" == "yes"; then 211 AC_MSG_CHECKING([if system libc has fmemopen])212 211 if [[ $(system_profiler SPSoftwareDataType | $(which grep) "System Version:" | sed -e "s/[[:space:]]*System Version: macOS //" | cut -d "." -f 2) -ge 13 ]]; then 213 212 SYSTEM_FMEMOPEN="yes" 213 AC_DEFINE([_SYSTEM_FMEMOPEN_], [1], [does system libc have fmemopen]) 214 214 fi 215 215 fi 216 216 AM_CONDITIONAL([SYSTEM_HAS_FMEMOPEN], [test "${SYSTEM_FMEMOPEN}" == "yes"]) 217 AC_MSG_RESULT([${SYSTEM_FMEMOPEN}])218 217 219 218 IS_WINDOWS=no -
issm/trunk-jpl/src/c/main/issm_dakota.cpp
r25627 r25663 41 41 42 42 /*Create directory structure for model outputs:*/ 43 #ifdef (_SYSTEM_FMEMOPEN_) 43 44 statistics=DakotaDirStructure(argc,argv); 45 #endif 44 46 45 47 /* Parse input and construct Dakota LibraryEnvironment, performing input data checks*/ … … 88 90 89 91 /* Run statistics if requested:*/ 92 #ifdef (_SYSTEM_FMEMOPEN_) 90 93 if(statistics)DakotaStatistics(argc,argv); 94 #endif 91 95 92 96 /*free allocations:*/ … … 98 102 return 0; 99 103 #else 100 Cout << "ISSM Dakota 104 Cout << "ISSM Dakota executable was compiled without support of Dakota! Will just return now!" << "\n"; 101 105 return 1; 102 106 #endif
Note:
See TracChangeset
for help on using the changeset viewer.