32 #ifndef OUTPUT_MESSAGES_LINUX_H 33 #define OUTPUT_MESSAGES_LINUX_H 45 =
"┌───────────────────────────────────────────────────────────────┐\n";
48 =
"├───────────────────────────────────────────────────────────────┤\n";
51 =
"└───────────────────────────────────────────────────────────────┘\n";
74 =
"│ Number of CPU threads: %9lu │\n";
77 =
"├───────────────────────────────────────────────────────────────┤\n" 78 "│ Simulation details │\n" 79 "├───────────────────────────────────────────────────────────────┤\n";
82 =
"├───────────────────────────────────────────────────────────────┤\n" 83 "│ Initialization │\n" 84 "├───────────────────────────────────────────────────────────────┤\n";
88 =
"├───────────────────────────────────────────────────────────────┤\n" 89 "│ Computational resources │\n" 90 "├───────────────────────────────────────────────────────────────┤\n";
93 =
"├───────────────────────────────────────────────────────────────┤\n" 95 "├──────────┬────────────────┬──────────────┬────────────────────┤\n" 96 "│ Progress │ Elapsed time │ Time to go │ Est. finish time │\n" 97 "├──────────┼────────────────┼──────────────┼────────────────────┤\n";
100 =
"├───────────────────────────────────────────────────────────────┤\n" 101 "│ Checkpointing │\n" 102 "├───────────────────────────────────────────────────────────────┤\n";
106 =
"├───────────────────────────────────────────────────────────────┤\n" 108 "├───────────────────────────────────────────────────────────────┤\n";
111 =
"├───────────────────────────────────────────────────────────────┤\n" 112 "│ End of computation │\n" 113 "└───────────────────────────────────────────────────────────────┘\n";
117 =
"│ Elapsed time: %11.2fs │\n";
120 =
"│ Recovered from time step: %8ld │\n";
123 =
"│ Peak memory in use: %8luMB │\n";
126 =
"│ Total execution time: %8.2fs │\n";
129 =
"│ This leg execution time: %8.2fs │\n";
134 =
"│ Reading simulation configuration: ";
137 =
"│ Domain dimensions: %42s │\n";
145 =
"│ Simulation time steps: %9lu │\n";
148 =
"│ Sensor mask type: Index │\n";
151 =
"│ Sensor mask type: Cuboid │\n";
154 =
"│ Git hash: %s │\n";
158 =
"kspaceFirstOrder3D-OMP v1.2";
162 =
"│ FFT plans creation: ";
165 =
"│ Pre-processing phase: ";
168 =
"│ Data loading: ";
171 =
"│ Memory allocation: ";
174 =
"│ Current host memory in use: %8luMB │\n";
178 =
"│ %2li%c │ %9.3fs │ %9.3fs │ %02i/%02i/%02i %02i:%02i:%02i │\n";
181 =
"├──────────┴────────────────┴──────────────┴────────────────────┤\n";
184 =
"└──────────┴────────────────┴──────────────┴────────────────────┘\n";
188 =
"│ Number of time steps completed: %10u │\n";
191 =
"│ Creating checkpoint: ";
194 =
"│ Sampled data post-processing: ";
197 =
"│ + Storing checkpoint data: ";
200 =
"│ + Storing FFTW wisdom: ";
203 =
"│ Loading FFTW wisdom: ";
206 =
"│ + Storing sensor data: ";
209 =
"│ + Reading input file: ";
212 =
"│ + Reading checkpoint file: ";
215 =
"│ + Reading output file: ";
218 =
"│ + Creating output file: ";
231 =
"│ Checkpoint interval: %8lus │\n";
234 =
"│ Compression level: %8lu │\n";
237 =
"│ Print progress interval: %8lu%% │\n";
240 =
"│ Benchmark time steps: %8lu │\n";
243 =
"├───────────────────────────────────────────────────────────────┤\n" 244 "│ Sampling flags │\n" 245 "├───────────────────────────────────────────────────────────────┤\n";
248 =
"│ Sampling begins at time step: %8lu │\n";
251 =
"│ Copy sensor mask to output file: Yes │\n";
258 =
"│ Build information │\n" 259 "├───────────────────────────────────────────────────────────────┤\n" 260 "│ Build number: kspaceFirstOrder3D v2.16 │\n" 261 "│ Build date: %*.*s │\n" 262 "│ Build time: %*.*s │\n";
266 =
"│ Git hash: %s │\n";
270 =
"│ Operating system: Linux x64 │\n";
273 =
"│ Operating system: Windows x64 │\n";
276 =
"│ Operating system: Mac OS X x64 │\n";
280 =
"│ Compiler name: GNU C++ %.19s │\n";
283 =
"│ Compiler name: Intel C++ %d │\n";
286 =
"│ Compiler name: Visual Studio C++ %d │\n";
290 =
"│ Instruction set: Intel AVX 2 │\n";
293 =
"│ Instruction set: Intel AVX │\n";
296 =
"│ Instruction set: Intel SSE 4.2 │\n";
299 =
"│ Instruction set: Intel SSE 4.1 │\n";
302 =
"│ Instruction set: Intel SSE 3 │\n";
305 =
"│ Instruction set: Intel SSE 2 │\n";
309 =
"├───────────────────────────────────────────────────────────────┤\n" 310 "│ Contact email: jarosjir@fit.vutbr.cz │\n" 311 "│ Contact web: http://www.k-wave.org │\n" 312 "├───────────────────────────────────────────────────────────────┤\n" 313 "│ Copyright (C) 2017 Jiri Jaros and Bradley Treeby │\n" 314 "└───────────────────────────────────────────────────────────────┘\n";
322 "├───────────────────────────────────────────────────────────────┤\n" 323 "│ Mandatory parameters │\n" 324 "├───────────────────────────────────────────────────────────────┤\n" 325 "│ -i <file_name> │ HDF5 input file │\n" 326 "│ -o <file_name> │ HDF5 output file │\n" 327 "├───────────────────────────────┴───────────────────────────────┤\n" 328 "│ Optional parameters │\n" 329 "├───────────────────────────────┬───────────────────────────────┤\n";
333 =
"│ -r <interval_in_%%> │ Progress print interval │\n" 334 "│ │ (default = %2ld%%) │\n" 335 "│ -c <compression_level> │ Compression level <0,9> │\n" 336 "│ │ (default = %1ld) │\n" 337 "│ --benchmark <time_steps> │ Run only a specified number │\n" 338 "│ │ of time steps │\n" 339 "│ --verbose <level> │ Level of verbosity <0,2> │\n" 340 "│ │ 0 - basic, 1 - advanced, │\n" 342 "│ │ (default = basic) │\n" 343 "│ -h, --help │ Print help │\n" 344 "│ --version │ Print version and build info │\n" 345 "├───────────────────────────────┼───────────────────────────────┤\n" 346 "│ --checkpoint_file <file_name> │ HDF5 checkpoint file │\n" 347 "│ --checkpoint_interval <sec> │ Checkpoint after a given │\n" 348 "│ │ number of seconds │\n" 349 "├───────────────────────────────┴───────────────────────────────┤\n" 351 "├───────────────────────────────┬───────────────────────────────┤\n" 352 "│ -p │ Store acoustic pressure │\n" 353 "│ │ (default output flag) │\n" 354 "│ │ (the same as --p_raw) │\n" 355 "│ --p_raw │ Store raw time series of p │\n" 356 "│ --p_rms │ Store rms of p │\n" 357 "│ --p_max │ Store max of p │\n" 358 "│ --p_min │ Store min of p │\n" 359 "│ --p_max_all │ Store max of p (whole domain) │\n" 360 "│ --p_min_all │ Store min of p (whole domain) │\n" 361 "│ --p_final │ Store final pressure field │\n" 362 "├───────────────────────────────┼───────────────────────────────┤\n" 363 "│ -u │ Store ux, uy, uz │\n" 364 "│ │ (the same as --u_raw) │\n" 365 "│ --u_raw │ Store raw time series of │\n" 367 "│ --u_non_staggered_raw │ Store non-staggered raw time │\n" 368 "│ │ series of ux, uy, uz │\n" 369 "│ --u_rms │ Store rms of ux, uy, uz │\n" 370 "│ --u_max │ Store max of ux, uy, uz │\n" 371 "│ --u_min │ Store min of ux, uy, uz │\n" 372 "│ --u_max_all │ Store max of ux, uy, uz │\n" 373 "│ │ (whole domain) │\n" 374 "│ --u_min_all │ Store min of ux, uy, uz │\n" 375 "│ │ (whole domain) │\n" 376 "│ --u_final │ Store final acoustic velocity │\n" 377 "├───────────────────────────────┼───────────────────────────────┤\n" 378 "│ -s <time_step> │ When data collection begins │\n" 379 "│ │ (default = 1) │\n" 380 "└───────────────────────────────┴───────────────────────────────┘\n";
384 =
"│ -t <num_threads> │ Number of CPU threads │\n" 385 "│ │ (default = %2d) │\n";
OutputMessage kOutFmtUsagePart2
Usage massage.
OutputMessage kOutFmtUsagePart1
Usage massage.
OutputMessage kOutFmtSSE3
Print version output message.
OutputMessage kOutFmtLoadingFftwWisdom
Output message.
OutputMessage kOutFmtLegExecutionTime
Output message.
OutputMessage kOutFmtCreatingCheckpoint
Output message.
OutputMessage kOutFmtNewLine
Output message - new line.
OutputMessage kOutFmtVerticalLine
Output message - vertical line.
OutputMessage kOutFmtReadingConfiguration
Output message.
OutputMessage kOutFmtNumberOfThreads
Output message.
OutputMessage kOutFmtReadingOutputFile
Output message.
OutputMessage kOutFmtCompResourcesHeader
Output message.
OutputMessage kOutFmtSimulatoinFinalSeparator
Output message.
OutputMessage kOutFmtFailed
Output message - failed message.
OutputMessage kOutFmtElapsedTime
Output message.
OutputMessage kOutFmtRecoveredFrom
Output message.
OutputMessage kOutFmtPreProcessing
Output message.
OutputMessage kOutFmtDataLoading
Output message.
OutputMessage kOutFmtSimulationDetailsTitle
Output message.
OutputMessage kOutFmtSummaryHeader
Output message.
OutputMessage kOutFmtCheckpointInterval
Output message.
OutputMessage kOutFmtSimulationEndSeparator
Output message.
OutputMessage kOutFmtFirstSeparator
Output message - first separator.
OutputMessage kOutFmtStoringFftwWisdom
Output message.
OutputMessage kOutFmtInitializationHeader
Output message.
OutputMessage kOutFmtSensorMaskIndex
Output message.
const std::string OutputMessage
Datatype for output messages.
OutputMessage kOutFmtMemoryUsage
Output message.
OutputMessage kOutFmtBenchmarkTimeStep
Output message.
OutputMessage kOutFmtSSE2
Print version output message.
OutputMessage kOutFmtIntelCompiler
Print version output message.
OutputMessage kOutFmtBuildNoDataTime
Print version output message.
OutputMessage kOutFmtDomainSize
Output message.
OutputMessage kOutFmtSimulatoinLenght
Output message.
OutputMessage kOutFmtStoringCheckpointData
Output message.
OutputMessage kOutFmtCheckpointHeader
Output message.
OutputMessage kOutFmtCheckpointFile
Output message.
OutputMessage kOutFmtOutputFile
Output message.
OutputMessage kOutFmtTotalExecutionTime
Output message.
OutputMessage kOutFmtDomainSizeFormat
Output message.
OutputMessage kOutFmtVersionGitHash
Print version output message.
OutputMessage kOutFmtKWaveVersion
Output message.
OutputMessage kOutFmtPostProcessing
Output message.
OutputMessage kOutFmtCheckpointTimeSteps
Output message.
OutputMessage kOutFmtMacOsBuild
Print version output message.
OutputMessage kOutFmtFftPlans
Output message.
OutputMessage kOutFmtSamplingStartsAt
Output message.
OutputMessage kOutFmtSimulationProgress
Output message.
OutputMessage kOutFmtCurrentMemory
Output message.
OutputMessage kOutFmtCompressionLevel
Output message.
OutputMessage kOutFmtSimulationHeader
Output message.
OutputMessage kOutFmtWindowsBuild
Print version output message.
OutputMessage kOutFmtSensorMaskCuboid
Output message.
OutputMessage kOutFmtGitHashLeft
Output message.
OutputMessage kOutFmtVisualStudioCompiler
Print version output message.
OutputMessage kOutFmtAVX2
Print version output message.
OutputMessage kOutFmtCreatingOutputFile
Output message.
OutputMessage kOutFmtSamplingFlags
Output message.
OutputMessage kOutFmtLastSeparator
Output message -last separator.
OutputMessage kOutFmtInputFile
Output message.
OutputMessage kOutFmtCopySensorMask
Output message.
OutputMessage kOutFmtSSE42
Print version output message.
OutputMessage kOutFmtReadingInputFile
Output message.
OutputMessage kOutFmtPrintProgressIntrerval
Output message.
OutputMessage kOutFmtCodeName
Output message.
OutputMessage kOutFmtLinuxBuild
Print version output message.
OutputMessage kOutFmtEndOfSimulation
Output message.
OutputMessage kOutFmtReadingCheckpointFile
Output message.
OutputMessage kOutFmtSeparator
Output message - separator.
OutputMessage kOutFmtStoringSensorData
Output message.
OutputMessage kOutFmtUsageThreads
Usage massage.
OutputMessage kOutFmtMemoryAllocation
Output message.
OutputMessage kOutFmtSSE41
Print version output message.
OutputMessage kOutFmtGnuCompiler
Print version output message.
OutputMessage kOutFmtLicense
Print version output message.
OutputMessage kOutFmtNoDone
Output message - finish line without done.
OutputMessage kOutFmtDone
Output message - Done with two spaces.
OutputMessage kOutFmtAVX
Print version output message.