35 #ifndef ERROR_MESSAGES_H
36 #define ERROR_MESSAGES_H
56 "Error: Not enough CPU or GPU memory to run this simulation.";
59 =
"Error: An unknown error happened. ";
65 =
"Error: File \"%s\" could not be created.";
68 =
"Error: Cannot recreate an opened file \"%s\".";
71 =
"Error: Cannot reopen an opened file \"%s\".";
74 =
"Error: File \"%s\" could not be closed.";
77 =
"Error: Could not write into \"%s\" dataset.";
80 =
"Error: Could not read from \"%s\" dataset.";
83 =
"Error: Dataset \"%s\" has wrong dimension sizes.";
86 =
"Error: File \"%s\" was not found or could not be opened.";
89 =
"Error: File \"%s\" is not a valid HDF5 file.";
92 =
"Error: File \"%s\" could not open dataset \"%s\".";
95 =
"Error: File \"%s\", dataset \"%s\" could set compression level [%ld].";
98 =
"Error: Bad attribute value: [%s,%s] = %s.";
101 =
"Error: Could not write into \"%s\" attribute of \"%s\" dataset.";
104 =
"Error: Could not read from \"%s\" attribute of \"%s\" dataset.";
107 =
"Error: Could not create group \"%s\" in file \"%s\".";
110 =
"Error: Could not open group \"%s\" in file \"%s\".";
113 =
"Error: The input file has not a valid format.";
116 =
"Error: The output file has not a valid format.";
119 =
"Error: The checkpoint file has not a valid format.";
126 =
"Error: Matrix [%s] data type is not of single precision floating point.";
129 =
"Error: Matrix [%s] domain is not real.";
132 =
"Error: Matrix [%s] domain is not complex.";
135 =
"Error: Matrix [%s] data type is not unsigned long.";
142 "Error: Matrix [%s] has unknown distribution type in the C++ code. "
143 "[File, Line] : [%s,%d].";
147 "Error: Matrix [%s] is being reallocated in matrix container.";
154 =
"Error: No or invalid progress print interval.";
157 =
"Error: No or invalid number of CPU threads.";
160 =
"Error: No or invalid id of the GPU device.";
163 =
"Error: No or invalid compression level.";
166 =
"Error: No or invalid collection start time step.";
169 =
"Error: No or invalid number of time step to benchmark.";
172 =
"Error: No or invalid verbose level.";
176 =
"Error: The input file was not specified.";
179 =
"Error: The output file was not specified.";
182 =
"Error: The checkpoint file was not specified.";
185 =
"Error: The checkpoint interval was not specified.";
188 =
"Error: Unknown command line parameter.";
191 =
"Error: Unknown command line parameter or missing argument.";
195 =
"Error: Illegal value of alpha_power (must not equal to 1.0).";
198 =
"Error: The beginning of data sampling is out of the simulation time span <%zu, %zu>.";
202 =
"Error: Incorrect input file\"%s\" format.";
205 =
"Error: Incorrect major version of the HDF5 file %s (expected is %s).";
208 =
"Error: Incorrect minor version of the HDF5 file %s (expected is %s).";
211 =
"Error: The sensor mask type specified in the input file is not supported.";
214 =
"Error: --u_non_staggered_raw is not supported along with the input file of the version 1.0.";
221 =
"Error: Incorrect checkpoint file \"%s\" format.";
225 =
"Error: Incorrect output file \"%s\" format.";
229 =
"Error: The dimensions [%ld, %ld, %ld] of the checkpoint file don't match the simulation "
230 "dimensions [%ld, %ld, %ld].";
234 =
"Error: The dimensions [%ld, %ld, %ld] of the output file don't match the simulation "
235 "dimensions [%ld, %ld, %ld].";
242 =
"Error: cuFFT was passed an invalid plan handle for %s.";
245 =
"Error: cuFFT failed to allocate GPU or CPU memory for %s.";
248 =
"Error: cuFFT invalid type for of the transform for %s.";
251 =
"Error: cuFFT was given an invalid pointer or parameter for %s.";
254 =
"Error: Driver or internal cuFFT library error for %s.";
257 =
"Error: Failed to execute an cuFFT on the GPU for %s.";
260 =
"Error: The cuFFT library failed to initialize for %s.";
263 =
"Error: cuFFT was given an invalid transform size for %s.";
266 =
"Error: Arrays for cuFFT was not properly aligned for %s.";
269 =
"Error: Missing parameters in the cuFFT call for %s.";
272 =
"Error: cuFFT execution of the plan was performed on a different GPU than plan was "
276 =
"Error: cuFFT internal plan database error for %s.";
279 =
"Error: No workspace has been provided prior to cuFFT plan execution for %s.";
282 =
"Error: cuFFT feature is not implemented for %s.";
285 =
"Error: cuFFT license error for %s.";
288 =
"Error: cuFFT failed with unknown error for %s.";
295 =
"Error: Wrong CUDA device id %d. Allowed devices <0, %d>.";
298 =
"Error: All CUDA-capable devices are busy or unavailable.";
301 =
"Error: CUDA device id %d is busy or unavailable.";
305 =
"Error: Insufficient CUDA driver version. The code needs CUDA version "
306 "%d.%d but %d.%d is installed.";
309 =
"Error: Insufficient CUDA driver version. Install the latest drivers.";
312 =
"Error: CUDA device id %d is not supported by this k-Wave build.";
319 =
"GPU error: %s routine name: %s in file %s, line %d.";
TErrorMessage ERR_FMT_CANNOT_CREATE_GROUP
HDF5 error message.
TErrorMessage ERR_FMT_ILLEGAL_START_TIME_VALUE
Command line parameters error message.
TErrorMessage ERR_FMT_CUFFT_INVALID_PLAN
CUDA FFT error message.
TErrorMessage ERR_FMT_NO_FREE_DEVICE
CUDATuner error message.
TErrorMessage eRR_FMT_CUFFT_SETUP_FAILED
CUDA FFT error message.
TErrorMessage ERR_FMT_NO_BENCHMARK_STEP_SET
Command line parameters error message.
TErrorMessage ERR_FMT_PATH_DELIMITERS
delimiters for linux paths
TErrorMessage ERR_FMT_BAD_OUTPUT_FILE_FORMAT
KSpaceFirstOrder3DSolver error message.
TErrorMessage ERR_FMT_CANNOT_RECREATE_FILE
HDF5 error message.
The header file containing linux specific error messages.
TErrorMessage ERR_FMT_BAD_CHECKPOINT_FILE_FORMAT
KSpaceFirstOrder3DSolver error message.
TErrorMessage ERR_FMT_CANNOT_OPEN_GROUP
HDF5 error message.
TErrorMessage ERR_FMT_CANNOT_CREATE_FILE
HDF5 error message.
TErrorMessage ERR_FMT_GPU_ERROR
CUDAParameters error message.
TErrorMessage ERR_FMT_NO_COMPRESSION_LEVEL
Command line parameters error message.
TErrorMessage ERR_FMT_CANNOT_OPEN_DATASET
HDF5 error message.
TErrorMessage ERR_FMT_CUFFT_INVALID_TYPE
CUDA FFT error message.
TErrorMessage ERR_FMT_UNKNOW_PARAMETER_OR_ARGUMENT
Command line parameter error message.
TErrorMessage ERR_FMT_BAD_ATTRIBUTE_VALUE
HDF5 error message.
TErrorMessage ERR_FMT_NO_CHECKPOINT_FILE
Command line parameters error message.
TErrorMessage ERR_FMT_NO_INPUT_FILE
Error message - input file was not specified.
TErrorMessage ERR_FMT_U_NON_STAGGERED_NOT_SUPPORTED_FILE_VERSION
Command line parameters error message.
TErrorMessage ERR_FMT_FILE_NOT_OPEN
HDF5 error message.
TErrorMessage ERR_FMT_CANNOT_WRITE_DATASET
HDF5 error message.
TErrorMessage eRR_FMT_CUFFT_NOT_IMPLEMENTED
CUDA FFT error message.
TErrorMessage ERR_FMT_BAD_CHECKPOINT_FILE_TYPE
HDF5 error message.
TErrorMessage ERR_FMT_OUT_OF_MEMORY
error message - out of memory
TErrorMessage ERR_FMT_CUFFT_INVALID_SIZE
CUDA FFT error message.
TErrorMessage ERR_FMT_NOT_HDF5_FILE
HDF5 error message.
TErrorMessage ERR_FMT_MATRIX_NOT_FLOAT
Matrix class error message.
TErrorMessage ERR_FMT_BAD_DEVICE_IDX
CUDATuner error message.
TErrorMessage ERR_FMT_CUFFT_UNALIGNED_DATA
CUDA FFT error message.
The header file containing windows specific error messages.
TErrorMessage ERR_FMT_NO_THREAD_NUMBER
Command line parameters error message.
TErrorMessage ERR_FMT_ILLEGAL_ALPHA_POWER_VALUE
Command line parameters error message.
TErrorMessage ERR_FMT_OUTPUT_DIMENSIONS_NOT_MATCH
KSpaceFirstOrder3DSolver error message.
TErrorMessage ERR_FMT_CUFFT_LICENSE_ERROR
CUDA FFT error message.
TErrorMessage ERR_FMT_CANNOT_SET_COMPRESSION
HDF5 error message.
TErrorMessage ERR_FMT_DEVICE_IS_BUSY
CUDATuner error message.
TErrorMessage ERR_FMT_CANNOT_CLOSE_FILE
HDF5 error message.
TErrorMessage ERR_FMT_BAD_INPUT_FILE_FORMAT
Command line parameters error message.
const std::string TErrorMessage
Datatype for error messages.
TErrorMessage ERR_FMT_CUFFT_INTERNAL_ERROR
CUDA FFT error message.
TErrorMessage FMT_NO_PROGRESS_PRINT_INTERVAL
Command line parameters error message.
TErrorMessage ERR_FMT_CUFFT_PARSE_ERROR
CUDA FFT error message.
TErrorMessage ERR_FMT_CUFFT_EXEC_FAILED
CUDA FFT error message.
TErrorMessage ERR_FMT_RELOCATION_ERROR
Matrix container error message.
TErrorMessage ERR_FMT_INSUFFICIENT_CUDA_DRIVER
CUDAParameters error message.
TErrorMessage ERR_FMT_CANNOT_REOPEN_FILE
HDF5 error message.
TErrorMessage ERR_FMT_MATRIX_NOT_REAL
Matrix class error message.
TErrorMessage ERR_FMT_CUFFT_INVALID_DEVICE
CUDA FFT error message.
TErrorMessage ERR_FMT_BAD_MINOR_FILE_VERSION
Command line parameters error message.
TErrorMessage ERR_FMT_NO_VERBOSE_LEVEL
Command line parameters error message.
TErrorMessage ERR_FMT_MATRIX_NOT_COMPLEX
Matrix class error message.
TErrorMessage ERR_FMT_CUFFT_ALLOC_FAILED
CUDA FFT error message.
TErrorMessage ERR_FMT_NO_CHECKPOINT_INTERVAL
Command line parameters error message.
TErrorMessage ERR_FMT_CUFFT_NO_WORKSPACE
CUDA FFT error message.
TErrorMessage ERR_FMT_NO_START_TIME_STEP
Command line parameters error message.
TErrorMessage ERR_FMT_BAD_MATRIX_DISTRIBUTION_TYPE
Matrix container error message.
TErrorMessage ERR_FMT_MATRIX_NOT_INDEX
Matrix class error message.
TErrorMessage ERR_FMT_BAD_OUTPUT_FILE_TYPE
HDF5 error message.
TErrorMessage ERR_FMT_CANNOT_READ_DATASET
HDF5 error message.
TErrorMessage ERR_FMT_BAD_MAJOR_File_Version
Command line parameters error message.
TErrorMessage ERR_FMT_NO_OUTPUT_FILE
Command line parameters error message.
TErrorMessage ERR_FMT_CUFFT_INCOMPLETE_PARAMETER_LIST
CUDA FFT error message.
TErrorMessage ERR_FMT_CANNOT_READ_ATTRIBUTE
HDF5 error message.
TErrorMessage ERR_FMT_BAD_DIMENSION_SIZES
HDF5 error message.
TErrorMessage ERR_FMT_CHECKPOINT_DIMENSIONS_NOT_MATCH
KSpaceFirstOrder3DSolver error message.
TErrorMessage ERR_FMT_UNKNOWN_PARAMETER
Command line parameter error message.
TErrorMessage ERR_FMT_CUFFT_INVALID_VALUE
CUDA FFT error message.
TErrorMessage ERR_FMT_CUFFT_UNKNOWN_ERROR
CUDA FFT error message.
TErrorMessage ERR_FMT_BAD_SENSOR_MASK_TYPE
Command line parameters error message.
TErrorMessage ERR_FMT_UNKNOWN_ERROR
Unknown error - unknown error.
TErrorMessage ERR_FMT_CANNOT_WRITE_ATTRIBUTE
HDF5 error message.
TErrorMessage ERR_FMT_NO_GPU_NUMBER
Command line parameters error message.
TErrorMessage ERR_FM_CANNOT_READ_CUDA_VERSION
CUDAParameters error message.
TErrorMessage ERR_FMT_BAD_INPUT_FILE_TYPE
HDF5 error message.
TErrorMessage ERR_FMT_GPU_NOT_SUPPORTED
CUDAParameters error message.