kspaceFirstOrder3D-CUDA  1.1
The CUDA/C++ implementation of the k-wave toolbox for the time-domain simulation of acoustic wave fields in 3D
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ErrorMessages.h File Reference

The header file containing routines for error messages and error messages common for both linux and windows version. The speficic error messages are in separate files ErrorMessagesLinux.h and ErrorMessagesWindows.h. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

TErrorMessage ERR_FMT_PATH_DELIMITERS = "/\\_,.:-| ()[]{}"
 delimiters for linux paths
 
TErrorMessage ERR_FMT_OUT_OF_MEMORY
 error message - out of memory More...
 
TErrorMessage ERR_FMT_UNKNOWN_ERROR = "Error: An unknown error happened. "
 Unknown error - unknown error.
 
TErrorMessage ERR_FMT_CANNOT_CREATE_FILE = "Error: File \"%s\" could not be created."
 HDF5 error message.
 
TErrorMessage ERR_FMT_CANNOT_RECREATE_FILE = "Error: Cannot recreate an opened file \"%s\"."
 HDF5 error message.
 
TErrorMessage ERR_FMT_CANNOT_REOPEN_FILE = "Error: Cannot reopen an opened file \"%s\"."
 HDF5 error message.
 
TErrorMessage ERR_FMT_CANNOT_CLOSE_FILE = "Error: File \"%s\" could not be closed."
 HDF5 error message.
 
TErrorMessage ERR_FMT_CANNOT_WRITE_DATASET = "Error: Could not write into \"%s\" dataset."
 HDF5 error message.
 
TErrorMessage ERR_FMT_CANNOT_READ_DATASET = "Error: Could not read from \"%s\" dataset."
 HDF5 error message.
 
TErrorMessage ERR_FMT_BAD_DIMENSION_SIZES = "Error: Dataset \"%s\" has wrong dimension sizes."
 HDF5 error message.
 
TErrorMessage ERR_FMT_FILE_NOT_OPEN = "Error: File \"%s\" was not found or could not be opened."
 HDF5 error message.
 
TErrorMessage ERR_FMT_NOT_HDF5_FILE = "Error: File \"%s\" is not a valid HDF5 file."
 HDF5 error message.
 
TErrorMessage ERR_FMT_CANNOT_OPEN_DATASET = "Error: File \"%s\" could not open dataset \"%s\"."
 HDF5 error message.
 
TErrorMessage ERR_FMT_CANNOT_SET_COMPRESSION = "Error: File \"%s\", dataset \"%s\" could set compression level [%ld]."
 HDF5 error message.
 
TErrorMessage ERR_FMT_BAD_ATTRIBUTE_VALUE = "Error: Bad attribute value: [%s,%s] = %s."
 HDF5 error message.
 
TErrorMessage ERR_FMT_CANNOT_WRITE_ATTRIBUTE = "Error: Could not write into \"%s\" attribute of \"%s\" dataset."
 HDF5 error message.
 
TErrorMessage ERR_FMT_CANNOT_READ_ATTRIBUTE = "Error: Could not read from \"%s\" attribute of \"%s\" dataset."
 HDF5 error message.
 
TErrorMessage ERR_FMT_CANNOT_CREATE_GROUP = "Error: Could not create group \"%s\" in file \"%s\"."
 HDF5 error message.
 
TErrorMessage ERR_FMT_CANNOT_OPEN_GROUP = "Error: Could not open group \"%s\" in file \"%s\"."
 HDF5 error message.
 
TErrorMessage ERR_FMT_BAD_INPUT_FILE_TYPE = "Error: The input file has not a valid format."
 HDF5 error message.
 
TErrorMessage ERR_FMT_BAD_OUTPUT_FILE_TYPE = "Error: The output file has not a valid format."
 HDF5 error message.
 
TErrorMessage ERR_FMT_BAD_CHECKPOINT_FILE_TYPE = "Error: The checkpoint file has not a valid format."
 HDF5 error message.
 
TErrorMessage ERR_FMT_MATRIX_NOT_FLOAT = "Error: Matrix [%s] data type is not of single precision floating point."
 Matrix class error message.
 
TErrorMessage ERR_FMT_MATRIX_NOT_REAL = "Error: Matrix [%s] domain is not real."
 Matrix class error message.
 
TErrorMessage ERR_FMT_MATRIX_NOT_COMPLEX = "Error: Matrix [%s] domain is not complex."
 Matrix class error message.
 
TErrorMessage ERR_FMT_MATRIX_NOT_INDEX = "Error: Matrix [%s] data type is not unsigned long."
 Matrix class error message.
 
TErrorMessage ERR_FMT_BAD_MATRIX_DISTRIBUTION_TYPE
 Matrix container error message. More...
 
TErrorMessage ERR_FMT_RELOCATION_ERROR
 Matrix container error message. More...
 
TErrorMessage FMT_NO_PROGRESS_PRINT_INTERVAL = "Error: No or invalid progress print interval."
 Command line parameters error message.
 
TErrorMessage ERR_FMT_NO_THREAD_NUMBER = "Error: No or invalid number of CPU threads."
 Command line parameters error message.
 
TErrorMessage ERR_FMT_NO_GPU_NUMBER = "Error: No or invalid id of the GPU device."
 Command line parameters error message.
 
TErrorMessage ERR_FMT_NO_COMPRESSION_LEVEL = "Error: No or invalid compression level."
 Command line parameters error message.
 
TErrorMessage ERR_FMT_NO_START_TIME_STEP = "Error: No or invalid collection start time step."
 Command line parameters error message.
 
TErrorMessage ERR_FMT_NO_BENCHMARK_STEP_SET = "Error: No or invalid number of time step to benchmark."
 Command line parameters error message.
 
TErrorMessage ERR_FMT_NO_VERBOSE_LEVEL = "Error: No or invalid verbose level."
 Command line parameters error message.
 
TErrorMessage ERR_FMT_NO_INPUT_FILE = "Error: The input file was not specified."
 Error message - input file was not specified.
 
TErrorMessage ERR_FMT_NO_OUTPUT_FILE = "Error: The output file was not specified."
 Command line parameters error message.
 
TErrorMessage ERR_FMT_NO_CHECKPOINT_FILE = "Error: The checkpoint file was not specified."
 Command line parameters error message.
 
TErrorMessage ERR_FMT_NO_CHECKPOINT_INTERVAL = "Error: The checkpoint interval was not specified."
 Command line parameters error message.
 
TErrorMessage ERR_FMT_UNKNOWN_PARAMETER = "Error: Unknown command line parameter."
 Command line parameter error message.
 
TErrorMessage ERR_FMT_UNKNOW_PARAMETER_OR_ARGUMENT = "Error: Unknown command line parameter or missing argument."
 Command line parameter error message.
 
TErrorMessage ERR_FMT_ILLEGAL_ALPHA_POWER_VALUE = "Error: Illegal value of alpha_power (must not equal to 1.0)."
 Command line parameters error message.
 
TErrorMessage ERR_FMT_ILLEGAL_START_TIME_VALUE = "Error: The beginning of data sampling is out of the simulation time span <%zu, %zu>."
 Command line parameters error message.
 
TErrorMessage ERR_FMT_BAD_INPUT_FILE_FORMAT = "Error: Incorrect input file\"%s\" format."
 Command line parameters error message.
 
TErrorMessage ERR_FMT_BAD_MAJOR_File_Version = "Error: Incorrect major version of the HDF5 file %s (expected is %s)."
 Command line parameters error message.
 
TErrorMessage ERR_FMT_BAD_MINOR_FILE_VERSION = "Error: Incorrect minor version of the HDF5 file %s (expected is %s)."
 Command line parameters error message.
 
TErrorMessage ERR_FMT_BAD_SENSOR_MASK_TYPE = "Error: The sensor mask type specified in the input file is not supported."
 Command line parameters error message.
 
TErrorMessage ERR_FMT_U_NON_STAGGERED_NOT_SUPPORTED_FILE_VERSION = "Error: --u_non_staggered_raw is not supported along with the input file of the version 1.0."
 Command line parameters error message.
 
TErrorMessage ERR_FMT_BAD_CHECKPOINT_FILE_FORMAT = "Error: Incorrect checkpoint file \"%s\" format."
 KSpaceFirstOrder3DSolver error message.
 
TErrorMessage ERR_FMT_BAD_OUTPUT_FILE_FORMAT = "Error: Incorrect output file \"%s\" format."
 KSpaceFirstOrder3DSolver error message.
 
TErrorMessage ERR_FMT_CHECKPOINT_DIMENSIONS_NOT_MATCH
 KSpaceFirstOrder3DSolver error message. More...
 
TErrorMessage ERR_FMT_OUTPUT_DIMENSIONS_NOT_MATCH
 KSpaceFirstOrder3DSolver error message. More...
 
TErrorMessage ERR_FMT_CUFFT_INVALID_PLAN = "Error: cuFFT was passed an invalid plan handle for %s."
 CUDA FFT error message.
 
TErrorMessage ERR_FMT_CUFFT_ALLOC_FAILED = "Error: cuFFT failed to allocate GPU or CPU memory for %s."
 CUDA FFT error message.
 
TErrorMessage ERR_FMT_CUFFT_INVALID_TYPE = "Error: cuFFT invalid type for of the transform for %s."
 CUDA FFT error message.
 
TErrorMessage ERR_FMT_CUFFT_INVALID_VALUE = "Error: cuFFT was given an invalid pointer or parameter for %s."
 CUDA FFT error message.
 
TErrorMessage ERR_FMT_CUFFT_INTERNAL_ERROR = "Error: Driver or internal cuFFT library error for %s."
 CUDA FFT error message.
 
TErrorMessage ERR_FMT_CUFFT_EXEC_FAILED = "Error: Failed to execute an cuFFT on the GPU for %s."
 CUDA FFT error message.
 
TErrorMessage eRR_FMT_CUFFT_SETUP_FAILED = "Error: The cuFFT library failed to initialize for %s."
 CUDA FFT error message.
 
TErrorMessage ERR_FMT_CUFFT_INVALID_SIZE = "Error: cuFFT was given an invalid transform size for %s."
 CUDA FFT error message.
 
TErrorMessage ERR_FMT_CUFFT_UNALIGNED_DATA = "Error: Arrays for cuFFT was not properly aligned for %s."
 CUDA FFT error message.
 
TErrorMessage ERR_FMT_CUFFT_INCOMPLETE_PARAMETER_LIST = "Error: Missing parameters in the cuFFT call for %s."
 CUDA FFT error message.
 
TErrorMessage ERR_FMT_CUFFT_INVALID_DEVICE
 CUDA FFT error message. More...
 
TErrorMessage ERR_FMT_CUFFT_PARSE_ERROR = "Error: cuFFT internal plan database error for %s."
 CUDA FFT error message.
 
TErrorMessage ERR_FMT_CUFFT_NO_WORKSPACE = "Error: No workspace has been provided prior to cuFFT plan execution for %s."
 CUDA FFT error message.
 
TErrorMessage eRR_FMT_CUFFT_NOT_IMPLEMENTED = "Error: cuFFT feature is not implemented for %s."
 CUDA FFT error message.
 
TErrorMessage ERR_FMT_CUFFT_LICENSE_ERROR = "Error: cuFFT license error for %s."
 CUDA FFT error message.
 
TErrorMessage ERR_FMT_CUFFT_UNKNOWN_ERROR = "Error: cuFFT failed with unknown error for %s."
 CUDA FFT error message.
 
TErrorMessage ERR_FMT_BAD_DEVICE_IDX = "Error: Wrong CUDA device id %d. Allowed devices <0, %d>."
 CUDATuner error message.
 
TErrorMessage ERR_FMT_NO_FREE_DEVICE = "Error: All CUDA-capable devices are busy or unavailable."
 CUDATuner error message.
 
TErrorMessage ERR_FMT_DEVICE_IS_BUSY = "Error: CUDA device id %d is busy or unavailable."
 CUDATuner error message.
 
TErrorMessage ERR_FMT_INSUFFICIENT_CUDA_DRIVER
 CUDAParameters error message. More...
 
TErrorMessage ERR_FM_CANNOT_READ_CUDA_VERSION = "Error: Insufficient CUDA driver version. Install the latest drivers."
 CUDAParameters error message.
 
TErrorMessage ERR_FMT_GPU_NOT_SUPPORTED = "Error: CUDA device id %d is not supported by this k-Wave build."
 CUDAParameters error message.
 
TErrorMessage ERR_FMT_GPU_ERROR = "GPU error: %s routine name: %s in file %s, line %d."
 CUDAParameters error message.
 

Detailed Description

Author
Jiri Jaros
Faculty of Information Technology
Brno University of Technology
jaros.nosp@m.jir@.nosp@m.fit.v.nosp@m.utbr.nosp@m..cz
Version
kspaceFirstOrder3D 3.4
Date
09 August 2011, 12:34 (created)
29 July 2016, 16:42 (revised)

License

This file is part of the C++ extension of the k-Wave Toolbox (http://www.k-wave.org).
Copyright (C) 2016 Jiri Jaros and Bradley Treeby.

This file is part of the k-Wave. k-Wave is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

k-Wave is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with k-Wave. If not, see http://www.gnu.org/licenses/.

Definition in file ErrorMessages.h.

Variable Documentation

TErrorMessage ERR_FMT_BAD_MATRIX_DISTRIBUTION_TYPE
Initial value:
=
"Error: Matrix [%s] has unknown distribution type in the C++ code. "
"[File, Line] : [%s,%d]."

Definition at line 141 of file ErrorMessages.h.

TErrorMessage ERR_FMT_CHECKPOINT_DIMENSIONS_NOT_MATCH
Initial value:
= "Error: The dimensions [%ld, %ld, %ld] of the checkpoint file don't match the simulation "
"dimensions [%ld, %ld, %ld]."

Definition at line 229 of file ErrorMessages.h.

TErrorMessage ERR_FMT_CUFFT_INVALID_DEVICE
Initial value:
= "Error: cuFFT execution of the plan was performed on a different GPU than plan was "
"created for %s."

Definition at line 272 of file ErrorMessages.h.

TErrorMessage ERR_FMT_INSUFFICIENT_CUDA_DRIVER
Initial value:
= "Error: Insufficient CUDA driver version. The code needs CUDA version "
"%d.%d but %d.%d is installed."

Definition at line 305 of file ErrorMessages.h.

TErrorMessage ERR_FMT_OUT_OF_MEMORY
Initial value:
=
"Error: Not enough CPU or GPU memory to run this simulation."

Definition at line 55 of file ErrorMessages.h.

TErrorMessage ERR_FMT_OUTPUT_DIMENSIONS_NOT_MATCH
Initial value:
= "Error: The dimensions [%ld, %ld, %ld] of the output file don't match the simulation "
"dimensions [%ld, %ld, %ld]."

Definition at line 234 of file ErrorMessages.h.

TErrorMessage ERR_FMT_RELOCATION_ERROR
Initial value:
=
"Error: Matrix [%s] is being reallocated in matrix container."

Definition at line 146 of file ErrorMessages.h.