32 #ifndef OUTPUT_MESSAGES_WINDOWS_H 33 #define OUTPUT_MESSAGES_WINDOWS_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";
87 =
"+---------------------------------------------------------------+\n" 88 "| Computational resources |\n" 89 "+---------------------------------------------------------------+\n";
92 =
"+---------------------------------------------------------------+\n" 94 "+----------+----------------+--------------+--------------------+\n" 95 "| Progress | Elapsed time | Time to go | Est. finish time |\n" 96 "+----------+----------------+--------------+--------------------+\n";
99 =
"+---------------------------------------------------------------+\n" 100 "| Checkpointing |\n" 101 "+---------------------------------------------------------------+\n";
104 =
"+---------------------------------------------------------------+\n" 106 "+---------------------------------------------------------------+\n";
109 =
"+---------------------------------------------------------------+\n" 110 "| End of computation |\n" 111 "+---------------------------------------------------------------+\n";
115 =
"| Elapsed time: %11.2fs |\n";
118 =
"| Recovered from time step: %8ld |\n";
121 =
"| Peak memory in use: %8luMB |\n";
124 =
"| Total execution time: %8.2fs |\n";
127 =
"| This leg execution time: %8.2fs |\n";
131 =
"| Reading simulation configuration: ";
134 =
"| Domain dimensions: %42s |\n";
142 =
"| Simulation time steps: %9lu |\n";
145 =
"| Sensor mask type: Index |\n";
148 =
"| Sensor mask type: Cuboid |\n";
151 =
"| Git hash: %s |\n";
156 =
"kspaceFirstOrder3D-OMP v1.2";
160 =
"| FFT plans creation: ";
163 =
"| Pre-processing phase: ";
166 =
"| Data loading: ";
169 =
"| Memory allocation: ";
172 =
"| Current host memory in use: %8luMB |\n";
175 =
"| %2li%c | %9.3fs | %9.3fs | %02i/%02i/%02i %02i:%02i:%02i |\n";
179 =
"+----------+----------------+--------------+--------------------+\n";
182 =
"+----------+----------------+--------------+--------------------+\n";
186 =
"| Number of time steps completed: %10u |\n";
189 =
"| Creating checkpoint: ";
192 =
"| Sampled data post-processing: ";
195 =
"| + Storing checkpoint data: ";
198 =
"│ + Storing FFTW wisdom: ";
201 =
"│ Loading FFTW wisdom: ";
204 =
"| + Storing sensor data: ";
207 =
"| + Reading input file: ";
210 =
"| + Reading checkpoint file: ";
213 =
"| + Reading output file: ";
216 =
"| + Creating output file: ";
228 =
"| Checkpoint interval: %8lus |\n";
231 =
"| Compression level: %8lu |\n";
234 =
"| Print progress interval: %8lu%% |\n";
237 =
"| Benchmark time steps: %8lu |\n";
240 =
"+---------------------------------------------------------------+\n" 241 "| Sampling flags |\n" 242 "+---------------------------------------------------------------+\n";
245 =
"| Sampling begins at time step: %8lu |\n";
248 =
"| Copy sensor mask to output file: Yes |\n";
255 =
"| Build information |\n" 256 "+---------------------------------------------------------------+\n" 257 "| Build number: kspaceFirstOrder3D v2.16 |\n" 258 "| Build date: %*.*s |\n" 259 "| Build time: %*.*s |\n";
263 =
"| Git hash: %s |\n";
267 =
"| Operating system: Linux x64 |\n";
270 =
"| Operating system: Windows x64 |\n";
273 =
"| Operating system: Mac OS X x64 |\n";
277 =
"| Compiler name: GNU C++ %.19s |\n";
280 =
"| Compiler name: Intel C++ %d |\n";
283 =
"| Compiler name: Visual Studio C++ %d |\n";
287 =
"| Instruction set: Intel AVX 2 |\n";
290 =
"| Instruction set: Intel AVX |\n";
293 =
"| Instruction set: Intel SSE 4.2 |\n";
296 =
"| Instruction set: Intel SSE 4.1 |\n";
299 =
"| Instruction set: Intel SSE 3 |\n";
302 =
"| Instruction set: Intel SSE 2 |\n";
306 =
"+---------------------------------------------------------------+\n" 307 "| Contact email: jarosjir@fit.vutbr.cz |\n" 308 "| Contact web: http://www.k-wave.org |\n" 309 "+---------------------------------------------------------------+\n" 310 "| Copyright (C) 2017 Jiri Jaros and Bradley Treeby |\n" 311 "+---------------------------------------------------------------+\n";
320 "+---------------------------------------------------------------+\n" 321 "| Mandatory parameters |\n" 322 "+---------------------------------------------------------------+\n" 323 "| -i <file_name> | HDF5 input file |\n" 324 "| -o <file_name> | HDF5 output file |\n" 325 "+-------------------------------+-------------------------------+\n" 326 "| Optional parameters |\n" 327 "+-------------------------------+-------------------------------+\n";
331 =
"| -r <interval_in_%%> | Progress print interval |\n" 332 "| | (default = %2ld%%) |\n" 333 "| -c <compression_level> | Compression level <0,9> |\n" 334 "| | (default = %1ld) |\n" 335 "| --benchmark <time_steps> | Run only a specified number |\n" 336 "| | of time steps |\n" 337 "| --verbose <level> | Level of verbosity <0,2> |\n" 338 "| | 0 - basic, 1 - advanced, |\n" 340 "| | (default = basic) |\n" 341 "| -h, --help | Print help |\n" 342 "| --version | Print version and build info |\n" 343 "+-------------------------------+-------------------------------+\n" 344 "| --checkpoint_file <file_name> | HDF5 checkpoint file |\n" 345 "| --checkpoint_interval <sec> | Checkpoint after a given |\n" 346 "| | number of seconds |\n" 347 "+-------------------------------+-------------------------------+\n" 349 "+-------------------------------+-------------------------------+\n" 350 "| -p | Store acoustic pressure |\n" 351 "| | (default output flag) |\n" 352 "| | (the same as --p_raw) |\n" 353 "| --p_raw | Store raw time series of p |\n" 354 "| --p_rms | Store rms of p |\n" 355 "| --p_max | Store max of p |\n" 356 "| --p_min | Store min of p |\n" 357 "| --p_max_all | Store max of p (whole domain) |\n" 358 "| --p_min_all | Store min of p (whole domain) |\n" 359 "| --p_final | Store final pressure field |\n" 360 "+-------------------------------+-------------------------------+\n" 361 "| -u | Store ux, uy, uz |\n" 362 "| | (the same as --u_raw) |\n" 363 "| --u_raw | Store raw time series of |\n" 365 "| --u_non_staggered_raw | Store non-staggered raw time |\n" 366 "| | series of ux, uy, uz |\n" 367 "| --u_rms | Store rms of ux, uy, uz |\n" 368 "| --u_max | Store max of ux, uy, uz |\n" 369 "| --u_min | Store min of ux, uy, uz |\n" 370 "| --u_max_all | Store max of ux, uy, uz |\n" 371 "| | (whole domain) |\n" 372 "| --u_min_all | Store min of ux, uy, uz |\n" 373 "| | (whole domain) |\n" 374 "| --u_final | Store final acoustic velocity |\n" 375 "+-------------------------------+-------------------------------+\n" 376 "| -s <time_step> | When data collection begins |\n" 377 "| | (default = 1) |\n" 378 "+-------------------------------+-------------------------------+\n";
382 =
"| -t <num_threads> | Number of CPU threads |\n" 383 "| | (default = %2d) |\n";
OutputMessage kOutFmtInputFile
Output message.
OutputMessage kOutFmtEndOfSimulation
Output message.
OutputMessage kOutFmtReadingOutputFile
Output message.
OutputMessage kOutFmtSummaryHeader
Output message.
OutputMessage kOutFmtDomainSizeFormat
Output message.
OutputMessage kOutFmtDomainSize
Output message.
OutputMessage kOutFmtSeparator
Output message - separator.
OutputMessage kOutFmtCodeName
Output message.
OutputMessage kOutFmtSSE3
Print version output message.
OutputMessage kOutFmtMemoryAllocation
Output message.
OutputMessage kOutFmtPreProcessing
Output message.
OutputMessage kOutFmtInitializationHeader
Output message.
OutputMessage kOutFmtGitHashLeft
Output message.
OutputMessage kOutFmtAVX2
Print version output message.
OutputMessage kOutFmtAVX
Print version output message.
OutputMessage kOutFmtRecoveredFrom
Output message.
OutputMessage kOutFmtNewLine
Output message - new line.
OutputMessage kOutFmtDataLoading
Output message.
OutputMessage kOutFmtVerticalLine
Output message - vertical line.
OutputMessage kOutFmtGnuCompiler
Print version output message.
OutputMessage kOutFmtSamplingStartsAt
Output message.
OutputMessage kOutFmtMacOsBuild
Print version output message.
OutputMessage kOutFmtReadingInputFile
Output message.
OutputMessage kOutFmtSSE42
Print version output message.
OutputMessage kOutFmtUsagePart2
Usage massage.
OutputMessage kOutFmtIntelCompiler
Print version output message.
OutputMessage kOutFmtFailed
Output message - failed message.
OutputMessage kOutFmtMemoryUsage
Output message.
OutputMessage kOutFmtSSE41
Print version output message.
OutputMessage kOutFmtCheckpointTimeSteps
Output message.
OutputMessage kOutFmtUsageThreads
Usage massage.
OutputMessage kOutFmtCopySensorMask
Output message.
OutputMessage kOutFmtFftPlans
Output message.
OutputMessage kOutFmtCheckpointFile
Output message.
OutputMessage kOutFmtCurrentMemory
Output message.
OutputMessage kOutFmtSimulationProgress
Output message.
OutputMessage kOutFmtOutputFile
Output message.
OutputMessage kOutFmtStoringFftwWisdom
Output message.
OutputMessage kOutFmtCheckpointInterval
Output message.
const std::string OutputMessage
Datatype for output messages.
OutputMessage kOutFmtReadingCheckpointFile
Output message.
OutputMessage kOutFmtSimulationHeader
Output message.
OutputMessage kOutFmtLicense
Print version output message.
OutputMessage kOutFmtWindowsBuild
Print version output message.
OutputMessage kOutFmtSensorMaskIndex
Output message.
OutputMessage kOutFmtSamplingFlags
Output message.
OutputMessage kOutFmtUsagePart1
Usage massage.
OutputMessage kOutFmtLoadingFftwWisdom
Output message.
OutputMessage kOutFmtBenchmarkTimeStep
Output message.
OutputMessage kOutFmtNumberOfThreads
Output message.
OutputMessage kOutFmtLegExecutionTime
Output message.
OutputMessage kOutFmtCreatingCheckpoint
Output message.
OutputMessage kOutFmtCompResourcesHeader
Output message.
OutputMessage kOutFmtDone
Output message - Done with two spaces.
OutputMessage kOutFmtBuildNoDataTime
Print version output message.
OutputMessage kOutFmtNoDone
Output message - finish line without done.
OutputMessage kOutFmtVersionGitHash
Print version output message.
OutputMessage kOutFmtPostProcessing
Output message.
OutputMessage kOutFmtElapsedTime
Output message.
OutputMessage kOutFmtLinuxBuild
Print version output message.
OutputMessage kOutFmtFirstSeparator
Output message - first separator.
OutputMessage kOutFmtStoringCheckpointData
Output message.
OutputMessage kOutFmtSimulatoinLenght
Output message.
OutputMessage kOutFmtTotalExecutionTime
Output message.
OutputMessage kOutFmtPrintProgressIntrerval
Output message.
OutputMessage kOutFmtCheckpointHeader
Output message.
OutputMessage kOutFmtCompressionLevel
Output message.
OutputMessage kOutFmtLastSeparator
Output message -last separator.
OutputMessage kOutFmtKWaveVersion
Output message.
OutputMessage kOutFmtSimulatoinFinalSeparator
Output message.
OutputMessage kOutFmtSimulationDetailsTitle
Output message.
OutputMessage kOutFmtCreatingOutputFile
Output message.
OutputMessage kOutFmtStoringSensorData
Output message.
OutputMessage kOutFmtSensorMaskCuboid
Output message.
OutputMessage kOutFmtReadingConfiguration
Output message.
OutputMessage kOutFmtSimulationEndSeparator
Output message.
OutputMessage kOutFmtSSE2
Print version output message.
OutputMessage kOutFmtVisualStudioCompiler
Print version output message.