<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>k-Wave User Forum &#187; User Favorites: bastg</title>
		<link><a href='http://www.k-wave.org/forum/profile/bastg'>bastg</a></link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Tue, 12 May 2026 23:29:57 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.k-wave.org/forum/search.php</link>
		</textInput>
		<atom:link href="http://www.k-wave.org/forum/rss/profile/" rel="self" type="application/rss+xml" />

		<item>
			<title>bastg on "Running on AWS Tesla instances"</title>
			<link>http://www.k-wave.org/forum/topic/running-on-aws-tesla-instances#post-7544</link>
			<pubDate>Wed, 03 Jun 2020 17:32:21 +0000</pubDate>
			<dc:creator>bastg</dc:creator>
			<guid isPermaLink="false">7544@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Jiri -- below is the output of the &#34;--version -g 0&#34; command line. Let me know if this gives you some insight... Thanks for your help!&#60;/p&#62;
&#60;p&#62;&#38;gt;&#38;gt; !/autofs/space/guerin/USneuromod/KWAVE_1.2.1/src/kspaceFirstOrder-CUDA/kspaceFirstOrder-CUDA  --version -i kwave3D_N104_650KHZ_0p75MM_PAR.h5 -o kwave3D_N104_650KHZ_0p75MM_SOL.h5 -g 0 ;&#60;br /&#62;
┌───────────────────────────────────────────────────────────────┐&#60;br /&#62;
│                  kspaceFirstOrder-CUDA v1.3                   │&#60;br /&#62;
├───────────────────────────────────────────────────────────────┤&#60;br /&#62;
│ Selected GPU device id:                                Failed │&#60;br /&#62;
├───────────────────────────────────────────────────────────────┤&#60;br /&#62;
│                       Build information                       │&#60;br /&#62;
├───────────────────────────────────────────────────────────────┤&#60;br /&#62;
│ Build number:     kspaceFirstOrder v3.6                       │&#60;br /&#62;
│ Build date:       Jun  3 2020                                 │&#60;br /&#62;
│ Build time:       12:25:49                                    │&#60;br /&#62;
│ Git hash:         468dc31c2842a7df5f2a07c3a13c16c9b0b2b770    │&#60;br /&#62;
├───────────────────────────────────────────────────────────────┤&#60;br /&#62;
│ Operating system: Linux x64                                   │&#60;br /&#62;
│ Compiler name:    GNU C++ 7.3.1 20180303 (Red                               │&#60;br /&#62;
│ Processor name:   Intel(R) Xeon(R) CPU E5-2698 v4 @ 2.20GHz   │&#60;br /&#62;
│ Instruction set:  Intel AVX 2                                 │&#60;br /&#62;
├───────────────────────────────────────────────────────────────┤&#60;br /&#62;
│ CUDA runtime:     10.1                                        │&#60;br /&#62;
│ CUDA driver:      10.1                                        │&#60;br /&#62;
│ CUDA code arch:   0.0                                         │&#60;br /&#62;
├───────────────────────────────────────────────────────────────┤&#60;br /&#62;
│ CUDA device id:   0                                           │&#60;br /&#62;
│ CUDA device name: N/A                                         │&#60;br /&#62;
│ CUDA capability:  0.0                                         │&#60;br /&#62;
├───────────────────────────────────────────────────────────────┤&#60;br /&#62;
│ Contact email:    &#60;a href=&#34;mailto:jarosjir@fit.vutbr.cz&#34;&#62;jarosjir@fit.vutbr.cz&#60;/a&#62;                       │&#60;br /&#62;
│ Contact web:      &#60;a href=&#34;http://www.k-wave.org&#34; rel=&#34;nofollow&#34;&#62;http://www.k-wave.org&#60;/a&#62;                       │&#60;br /&#62;
├───────────────────────────────────────────────────────────────┤&#60;br /&#62;
│ Copyright (C) 2011-2020 SC@FIT Research Group, BUT, Czech Rep │&#60;br /&#62;
└───────────────────────────────────────────────────────────────┘&#60;br /&#62;
┌───────────────────────────────────────────────────────────────┐&#60;br /&#62;
│            !!! K-Wave experienced a fatal error !!!           │&#60;br /&#62;
├───────────────────────────────────────────────────────────────┤&#60;br /&#62;
│ Error: CUDA device id 0 is busy or unavailable.               │&#60;br /&#62;
├───────────────────────────────────────────────────────────────┤&#60;br /&#62;
│                      Execution terminated                     │&#60;br /&#62;
└───────────────────────────────────────────────────────────────┘&#60;br /&#62;
Segmentation fault (core dumped)&#60;br /&#62;
/autofs/space/guerin/USneuromod/KWAVE_1.2.1/src/kspaceFirstOrder-CUDA/kspaceFirstOrder-CUDA  --version -i kwave3D_N104_650KHZ_0p75MM_PAR.h5 -o kwave3D_N104_650KHZ_0p75MM_SOL.h5 -g 0 ;: Segmentation fault&#60;br /&#62;
&#38;gt;&#38;gt;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jiri Jaros on "Running on AWS Tesla instances"</title>
			<link>http://www.k-wave.org/forum/topic/running-on-aws-tesla-instances#post-7521</link>
			<pubDate>Thu, 21 May 2020 22:08:56 +0000</pubDate>
			<dc:creator>Jiri Jaros</dc:creator>
			<guid isPermaLink="false">7521@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi bastg,&#60;br /&#62;
the driver and compile parameters look good to me. Even, nvidia-smi says the GPU is in default mode thus anyone can use it. &#60;/p&#62;
&#60;p&#62;could you try to run the code with -g 0 parameter. This will explicitly select GPU no 0.&#60;/p&#62;
&#60;p&#62;Could you also try to run&#60;br /&#62;
./kspaceFirstOrder-CUDA --version -g 0&#60;/p&#62;
&#60;p&#62;Best&#60;br /&#62;
Jiri
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bastg on "Running on AWS Tesla instances"</title>
			<link>http://www.k-wave.org/forum/topic/running-on-aws-tesla-instances#post-7499</link>
			<pubDate>Fri, 15 May 2020 16:18:35 +0000</pubDate>
			<dc:creator>bastg</dc:creator>
			<guid isPermaLink="false">7499@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi all -- a follow up on the previous messages of this thread. I have the same error, i.e. &#34;All CUDA-capable devices are busy or unavailable&#34;. I have tried to follow the recommendations given in various threads of this forum, but to no avail.&#60;/p&#62;
&#60;p&#62;My GPU is a Tesla P100, which is a Pascal architecture with compute capability 60 (&#34;sm_60&#34; or &#34;compute_60&#34;), and therefore requires CUDA 8.0 or newer. I am using the CUDA 10.1, which is almost the latest (10.2 is the latest). This is the CUDA_ARCH variable in my Makefile (entire Makefile is shown at the end of this post, which I have modified a little from the original K-WAVE Makefile):&#60;br /&#62;
CUDA_ARCH = --generate-code arch=compute_30,code=sm_30 \&#60;br /&#62;
            --generate-code arch=compute_32,code=sm_32 \&#60;br /&#62;
            --generate-code arch=compute_35,code=sm_35 \&#60;br /&#62;
            --generate-code arch=compute_37,code=sm_37 \&#60;br /&#62;
            --generate-code arch=compute_50,code=sm_50 \&#60;br /&#62;
            --generate-code arch=compute_52,code=sm_52 \&#60;br /&#62;
            --generate-code arch=compute_53,code=sm_53 \&#60;br /&#62;
            --generate-code arch=compute_60,code=sm_60 \&#60;br /&#62;
            --generate-code arch=compute_61,code=sm_61 \&#60;br /&#62;
            --generate-code arch=compute_62,code=sm_62 \&#60;br /&#62;
            --generate-code arch=compute_70,code=sm_70 \&#60;br /&#62;
            --generate-code arch=compute_72,code=sm_72 \&#60;br /&#62;
            --generate-code arch=compute_75,code=sm_75&#60;/p&#62;
&#60;p&#62;I am not sure what I am missing... Thanks for your input!&#60;/p&#62;
&#60;p&#62;Bastien&#60;/p&#62;
&#60;p&#62;************************* ERROR MESSAGE *************************&#60;br /&#62;
deepbrain:guerin[152] ../../KWAVE_1.2.1/src/kspaceFirstOrder-CUDA/kspaceFirstOrder-CUDA -i kwave3D_N104_650KHZ_0p75MM_PAR.h5 -o kwave3D_N104_650KHZ_0p75MM_SOL.h5&#60;br /&#62;
┌───────────────────────────────────────────────────────────────┐&#60;br /&#62;
│                  kspaceFirstOrder-CUDA v1.3                   │&#60;br /&#62;
├───────────────────────────────────────────────────────────────┤&#60;br /&#62;
│ Reading simulation configuration:                        Done │&#60;br /&#62;
│ Selected GPU device id:                                Failed │&#60;br /&#62;
└───────────────────────────────────────────────────────────────┘&#60;br /&#62;
┌───────────────────────────────────────────────────────────────┐&#60;br /&#62;
│            !!! K-Wave experienced a fatal error !!!           │&#60;br /&#62;
├───────────────────────────────────────────────────────────────┤&#60;br /&#62;
│ Error: All CUDA-capable devices are busy or unavailable.      │&#60;br /&#62;
├───────────────────────────────────────────────────────────────┤&#60;br /&#62;
│                      Execution terminated                     │&#60;br /&#62;
└───────────────────────────────────────────────────────────────┘&#60;br /&#62;
deepbrain:guerin[153]&#60;br /&#62;
*****************************************************************&#60;/p&#62;
&#60;p&#62;************************* OUTPUT OF NVIDIA-SMI *************************&#60;br /&#62;
Fri May 15 10:57:31 2020&#60;br /&#62;
+-----------------------------------------------------------------------------+&#60;br /&#62;
&#124; NVIDIA-SMI 418.67       Driver Version: 418.67       CUDA Version: 10.1     &#124;&#60;br /&#62;
&#124;-------------------------------+----------------------+----------------------+&#60;br /&#62;
&#124; GPU  Name        Persistence-M&#124; Bus-Id        Disp.A &#124; Volatile Uncorr. ECC &#124;&#60;br /&#62;
&#124; Fan  Temp  Perf  Pwr:Usage/Cap&#124;         Memory-Usage &#124; GPU-Util  Compute M. &#124;&#60;br /&#62;
&#124;===============================+======================+======================&#124;&#60;br /&#62;
&#124;   0  Tesla P100-PCIE...  Off  &#124; 00000000:04:00.0 Off &#124;                    0 &#124;&#60;br /&#62;
&#124; N/A   33C    P0    26W / 250W &#124;      0MiB / 16280MiB &#124;      0%      Default &#124;&#60;br /&#62;
+-------------------------------+----------------------+----------------------+&#60;/p&#62;
&#60;p&#62;+-----------------------------------------------------------------------------+&#60;br /&#62;
&#124; Processes:                                                       GPU Memory &#124;&#60;br /&#62;
&#124;  GPU       PID   Type   Process name                             Usage      &#124;&#60;br /&#62;
&#124;=============================================================================&#124;&#60;br /&#62;
&#124;  No running processes found                                                 &#124;&#60;br /&#62;
+-----------------------------------------------------------------------------+&#60;br /&#62;
*****************************************************************&#60;/p&#62;
&#60;p&#62;************************* MAKEFILE *************************&#60;br /&#62;
# Select compiler&#60;br /&#62;
# GNU is default due to Intel 2018's compatibility issues with Ubuntu 18.04&#60;br /&#62;
 COMPILER = GNU&#60;br /&#62;
#COMPILER = Intel&#60;/p&#62;
&#60;p&#62;# SEMI static lining is default since it is expected the binary will run on the&#60;br /&#62;
# same system.&#60;br /&#62;
# Everything will be linked statically, may not work on all GPUs&#60;br /&#62;
#LINKING = STATIC&#60;br /&#62;
# Everything will be linked dynamically&#60;br /&#62;
#LINKING = DYNAMIC&#60;br /&#62;
# Everything but CUDA will be linked statically&#60;br /&#62;
LINKING = SEMI&#60;/p&#62;
&#60;p&#62;# Set up paths: If using modules, the paths are set up automatically,&#60;br /&#62;
#               otherwise, set paths manually&#60;br /&#62;
CUDA_DIR = /usr/pubsw/packages/CUDA/10.1&#60;br /&#62;
HDF5_DIR = /autofs/space/guerin/USneuromod/KWAVE_1.2.1/src/hdf5-1.12.0/hdf5&#60;br /&#62;
ZLIB_DIR = /autofs/space/guerin/USneuromod/KWAVE_1.2.1/src/zlib-1.2.11&#60;br /&#62;
SZIP_DIR = /autofs/space/guerin/USneuromod/KWAVE_1.2.1/src/szip-2.1.1&#60;/p&#62;
&#60;p&#62;# Select CPU architecture (what instruction set to be used).&#60;br /&#62;
# The native architecture will compile and optimize the code for the underlying&#60;br /&#62;
# processor.&#60;/p&#62;
&#60;p&#62; CPU_ARCH = native&#60;br /&#62;
#CPU_ARCH = AVX&#60;br /&#62;
#CPU_ARCH = AVX2&#60;br /&#62;
#CPU_ARCH = AVX512&#60;/p&#62;
&#60;p&#62;############################### Common flags ###################################&#60;br /&#62;
# Git hash of release 1.3&#60;br /&#62;
GIT_HASH       = -D__KWAVE_GIT_HASH__=\&#34;468dc31c2842a7df5f2a07c3a13c16c9b0b2b770\&#34;&#60;/p&#62;
&#60;p&#62;# Replace tabs by spaces&#60;br /&#62;
.RECIPEPREFIX += &#60;/p&#62;
&#60;p&#62;# What CUDA GPU architectures to include in the binary&#60;br /&#62;
CUDA_ARCH = --generate-code arch=compute_30,code=sm_30 \&#60;br /&#62;
            --generate-code arch=compute_32,code=sm_32 \&#60;br /&#62;
            --generate-code arch=compute_35,code=sm_35 \&#60;br /&#62;
            --generate-code arch=compute_37,code=sm_37 \&#60;br /&#62;
            --generate-code arch=compute_50,code=sm_50 \&#60;br /&#62;
            --generate-code arch=compute_52,code=sm_52 \&#60;br /&#62;
            --generate-code arch=compute_53,code=sm_53 \&#60;br /&#62;
            --generate-code arch=compute_60,code=sm_60 \&#60;br /&#62;
            --generate-code arch=compute_61,code=sm_61 \&#60;br /&#62;
            --generate-code arch=compute_62,code=sm_62 \&#60;br /&#62;
            --generate-code arch=compute_70,code=sm_70 \&#60;br /&#62;
            --generate-code arch=compute_72,code=sm_72 \&#60;br /&#62;
            --generate-code arch=compute_75,code=sm_75&#60;/p&#62;
&#60;p&#62;# What libraries to link and how&#60;br /&#62;
ifeq ($(LINKING), STATIC)&#60;br /&#62;
  LDLIBS = $(HDF5_DIR)/lib/libhdf5_hl.a         \&#60;br /&#62;
           $(HDF5_DIR)/lib/libhdf5.a            \&#60;br /&#62;
           $(CUDA_DIR)/lib64/libcufft_static.a  \&#60;br /&#62;
           $(CUDA_DIR)/lib64/libculibos.a       \&#60;br /&#62;
           $(CUDA_DIR)/lib64/libcudart_static.a \&#60;br /&#62;
           $(ZLIB_DIR)/lib/libz.a               \&#60;br /&#62;
           $(SZIP_DIR)/lib/libsz.a              \&#60;br /&#62;
           -ldl&#60;/p&#62;
&#60;p&#62;else ifeq ($(LINKING), DYNAMIC)&#60;br /&#62;
  LDLIBS = -lhdf5 -lhdf5_hl -lz -lcufft&#60;/p&#62;
&#60;p&#62;else ifeq ($(LINKING), SEMI)&#60;br /&#62;
  LDLIBS = $(HDF5_DIR)/lib/libhdf5_hl.a \&#60;br /&#62;
           $(HDF5_DIR)/lib/libhdf5.a    \&#60;br /&#62;
           $(ZLIB_DIR)/lib/libz.a       \&#60;br /&#62;
           $(SZIP_DIR)/lib/libsz.a      \&#60;br /&#62;
           -lcufft                      \&#60;br /&#62;
           -ldl&#60;br /&#62;
endif&#60;/p&#62;
&#60;p&#62;############################## NVCC + GNU g++ ##################################&#60;br /&#62;
ifeq ($(COMPILER), GNU)&#60;br /&#62;
  # C++ compiler for CUDA&#60;br /&#62;
  CXX       = /usr/pubsw/packages/CUDA/10.0/bin/nvcc&#60;/p&#62;
&#60;p&#62;  # C++ standard&#60;br /&#62;
  CPP_STD   = -std=c++11&#60;br /&#62;
  # Enable OpenMP&#60;br /&#62;
  OPENMP    = -fopenmp&#60;/p&#62;
&#60;p&#62;  # Set CPU architecture&#60;br /&#62;
  # Sandy Bridge, Ivy Bridge&#60;br /&#62;
  ifeq ($(CPU_ARCH), AVX)&#60;br /&#62;
    CPU_FLAGS = -m64 -mavx&#60;/p&#62;
&#60;p&#62;  # Haswell, Broadwell&#60;br /&#62;
  else ifeq ($(CPU_ARCH), AVX2)&#60;br /&#62;
    CPU_FLAGS = -m64 -mavx2&#60;/p&#62;
&#60;p&#62;  # Skylake-X, Ice Lake, Cannon Lake&#60;br /&#62;
  else ifeq ($(CPU_ARCH), AVX512)&#60;br /&#62;
    CPU_FLAGS = -m64 -mavx512f&#60;/p&#62;
&#60;p&#62;  # Maximum performance for this CPU&#60;br /&#62;
  else&#60;br /&#62;
    CPU_FLAGS = -m64 -march=native -mtune=native&#60;br /&#62;
  endif&#60;/p&#62;
&#60;p&#62;  # Use maximum optimization&#60;br /&#62;
  CPU_OPT   = -O3 -ffast-math -fassociative-math&#60;br /&#62;
  # Use maximum optimization&#60;br /&#62;
  GPU_OPT   = -O3&#60;/p&#62;
&#60;p&#62;  # CPU Debug flags&#60;br /&#62;
  CPU_DEBUG =&#60;br /&#62;
  # Debug flags&#60;br /&#62;
  GPU_DEBUG =&#60;br /&#62;
  # Profile flags&#60;br /&#62;
  PROFILE   =&#60;br /&#62;
  # C++ warning flags&#60;br /&#62;
  WARNING   = -Wall&#60;/p&#62;
&#60;p&#62;  # Add include directories&#60;br /&#62;
  INCLUDES  = -I$(HDF5_DIR)/include -I.&#60;br /&#62;
  # Add library directories&#60;br /&#62;
  LIB_PATHS = -L$(HDF5_DIR)/lib -L$(CUDA_DIR)/lib64&#60;/p&#62;
&#60;p&#62;  # Set compiler flags and header files directories&#60;br /&#62;
  CXXFLAGS  = -Xcompiler=&#34;$(CPU_FLAGS) $(CPU_OPT) $(OPENMP)  \&#60;br /&#62;
                          $(CPU_DEBUG) $(PROFILE) $(WARNING)&#34;\&#60;br /&#62;
              $(GPU_OPT) $(CPP_STD) $(GPU_DEBUG) \&#60;br /&#62;
              $(GIT_HASH)                        \&#60;br /&#62;
              $(INCLUDES)                        \&#60;br /&#62;
              --device-c --restrict&#60;/p&#62;
&#60;p&#62;  # Set linker flags and library files directories&#60;br /&#62;
  LDFLAGS   = -Xcompiler=&#34;$(OPENMP)&#34; \&#60;br /&#62;
              -Xlinker=&#34;-rpath,$(HDF5_DIR)/lib:$(CUDA_DIR)/lib64&#34; \&#60;br /&#62;
              -std=c++11             \&#60;br /&#62;
               $(LIB_PATHS)&#60;br /&#62;
endif&#60;/p&#62;
&#60;p&#62;############################ NVCC + Intel icpc #################################&#60;br /&#62;
ifeq ($(COMPILER), Intel)&#60;br /&#62;
  # C++ compiler for CUDA&#60;br /&#62;
  CXX       = /usr/pubsw/packages/CUDA/10.0/bin/nvcc&#60;/p&#62;
&#60;p&#62;  # C++ standard&#60;br /&#62;
  CPP_STD   = -std=c++11&#60;/p&#62;
&#60;p&#62;  # Enable OpenMP&#60;br /&#62;
  OPENMP    = -qopenmp&#60;/p&#62;
&#60;p&#62;  # Set CPU architecture&#60;br /&#62;
  # Sandy Bridge, Ivy Bridge&#60;br /&#62;
  ifeq ($(CPU_ARCH), AVX)&#60;br /&#62;
    CPU_FLAGS = -m64 -xAVX&#60;/p&#62;
&#60;p&#62;  # Haswell, Broadwell&#60;br /&#62;
  else ifeq ($(CPU_ARCH), AVX2)&#60;br /&#62;
    CPU_FLAGS = -m64 -xCORE-AVX2&#60;/p&#62;
&#60;p&#62;  # Skylake-X, Ice Lake, Cannon Lake&#60;br /&#62;
  else ifeq ($(CPU_ARCH), AVX512)&#60;br /&#62;
    CPU_FLAGS = -m64 -xCORE-AVX512&#60;/p&#62;
&#60;p&#62;  # Maximum performance for this CPU&#60;br /&#62;
  else&#60;br /&#62;
    CPU_FLAGS = -m64 -xhost&#60;br /&#62;
  endif&#60;/p&#62;
&#60;p&#62;  # Use maximum optimization&#60;br /&#62;
  CPU_OPT   = -Ofast&#60;br /&#62;
  # Use maximum optimization&#60;br /&#62;
  GPU_OPT   = -O3&#60;/p&#62;
&#60;p&#62;  # CPU Debug flags&#60;br /&#62;
  CPU_DEBUG =&#60;br /&#62;
  # Debug flags&#60;br /&#62;
  GPU_DEBUG =&#60;br /&#62;
  # Profile flags&#60;br /&#62;
  PROFILE   =&#60;br /&#62;
  # C++ warning flags&#60;br /&#62;
  WARNING   = -Wall&#60;/p&#62;
&#60;p&#62;  # Add include directories&#60;br /&#62;
  INCLUDES  = -I$(HDF5_DIR)/include -I.&#60;br /&#62;
  # Add library directories&#60;br /&#62;
  LIB_PATHS = -L$(HDF5_DIR)/lib -L$(CUDA_DIR)/lib64&#60;/p&#62;
&#60;p&#62;  # Set compiler flags and header files directories&#60;br /&#62;
  CXXFLAGS  = -Xcompiler=&#34;$(CPU_FLAGS) $(CPU_OPT) $(OPENMP)   \&#60;br /&#62;
                          $(CPU_DEBUG) $(PROFILE) $(WARNING)&#34; \&#60;br /&#62;
              $(GPU_OPT) $(CPP_STD) $(GPU_DEBUG) \&#60;br /&#62;
              $(GIT_HASH)                        \&#60;br /&#62;
              $(INCLUDES)                        \&#60;br /&#62;
              --device-c --restrict -ccbin=icpc&#60;/p&#62;
&#60;p&#62;  # Set linker flags and library files directories&#60;br /&#62;
  ifneq ($(LINKING), DYNAMIC)&#60;br /&#62;
    LDFLAGS = -Xcompiler=&#34;$(OPENMP) -static-intel -qopenmp-link=static&#34;&#60;br /&#62;
  else&#60;br /&#62;
    LDFLAGS = -Xcompiler=&#34;$(OPENMP)&#34;&#60;br /&#62;
  endif&#60;/p&#62;
&#60;p&#62;  LDFLAGS  += -std=c++11 -ccbin=icpc \&#60;br /&#62;
              -Xlinker=&#34;-rpath,$(HDF5_DIR)/lib:$(CUDA_DIR)/lib64&#34; \&#60;br /&#62;
              $(LIB_PATHS)&#60;br /&#62;
endif&#60;/p&#62;
&#60;p&#62;################################### Build ######################################&#60;br /&#62;
# Target binary name&#60;br /&#62;
TARGET       = kspaceFirstOrder-CUDA&#60;/p&#62;
&#60;p&#62;# Units to be compiled&#60;br /&#62;
DEPENDENCIES = main.o                                   \&#60;br /&#62;
               Containers/MatrixContainer.o             \&#60;br /&#62;
               Containers/CudaMatrixContainer.o         \&#60;br /&#62;
               Containers/OutputStreamContainer.o       \&#60;br /&#62;
               Hdf5/Hdf5File.o                          \&#60;br /&#62;
               Hdf5/Hdf5FileHeader.o                    \&#60;br /&#62;
               KSpaceSolver/KSpaceFirstOrderSolver.o    \&#60;br /&#62;
               KSpaceSolver/SolverCudaKernels.o         \&#60;br /&#62;
               Logger/Logger.o                          \&#60;br /&#62;
               MatrixClasses/BaseFloatMatrix.o          \&#60;br /&#62;
               MatrixClasses/BaseIndexMatrix.o          \&#60;br /&#62;
               MatrixClasses/CufftComplexMatrix.o       \&#60;br /&#62;
               MatrixClasses/ComplexMatrix.o            \&#60;br /&#62;
               MatrixClasses/IndexMatrix.o              \&#60;br /&#62;
               MatrixClasses/RealMatrix.o               \&#60;br /&#62;
               MatrixClasses/TransposeCudaKernels.o     \&#60;br /&#62;
               OutputStreams/BaseOutputStream.o         \&#60;br /&#62;
               OutputStreams/IndexOutputStream.o        \&#60;br /&#62;
               OutputStreams/CuboidOutputStream.o       \&#60;br /&#62;
               OutputStreams/WholeDomainOutputStream.o  \&#60;br /&#62;
               OutputStreams/OutputStreamsCudaKernels.o \&#60;br /&#62;
               Parameters/CommandLineParameters.o       \&#60;br /&#62;
               Parameters/Parameters.o                  \&#60;br /&#62;
               Parameters/CudaParameters.o              \&#60;br /&#62;
               Parameters/CudaDeviceConstants.o&#60;/p&#62;
&#60;p&#62;# Build target&#60;br /&#62;
all: $(TARGET)&#60;/p&#62;
&#60;p&#62;# Link target&#60;br /&#62;
$(TARGET): $(DEPENDENCIES)&#60;br /&#62;
  $(CXX) $(LDFLAGS) $(DEPENDENCIES) $(LDLIBS) -o $@&#60;/p&#62;
&#60;p&#62;# Compile CPU units&#60;br /&#62;
%.o: %.cpp&#60;br /&#62;
  $(CXX) $(CXXFLAGS) -o $@ -c $&#38;lt;&#60;/p&#62;
&#60;p&#62;# Compile CUDA units&#60;br /&#62;
%.o: %.cu&#60;br /&#62;
  $(CXX) $(CXXFLAGS) $(CUDA_ARCH) -o $@ -c $&#38;lt;&#60;/p&#62;
&#60;p&#62;# Clean repository&#60;br /&#62;
.PHONY: clean&#60;br /&#62;
clean:&#60;br /&#62;
  rm -f $(DEPENDENCIES) $(TARGET)&#60;br /&#62;
(END)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jiri Jaros on "Running on AWS Tesla instances"</title>
			<link>http://www.k-wave.org/forum/topic/running-on-aws-tesla-instances#post-7209</link>
			<pubDate>Mon, 10 Feb 2020 16:39:37 +0000</pubDate>
			<dc:creator>Jiri Jaros</dc:creator>
			<guid isPermaLink="false">7209@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;I'll do so next week. For now, this is my vcxproj file &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?xml version=&#38;quot;1.0&#38;quot; encoding=&#38;quot;utf-8&#38;quot;?&#38;gt;
&#38;lt;Project DefaultTargets=&#38;quot;Build&#38;quot; ToolsVersion=&#38;quot;15.0&#38;quot; xmlns=&#38;quot;http://schemas.microsoft.com/developer/msbuild/2003&#38;quot;&#38;gt;
  &#38;lt;ItemGroup Label=&#38;quot;ProjectConfigurations&#38;quot;&#38;gt;
    &#38;lt;ProjectConfiguration Include=&#38;quot;Debug&#124;x64&#38;quot;&#38;gt;
      &#38;lt;Configuration&#38;gt;Debug&#38;lt;/Configuration&#38;gt;
      &#38;lt;Platform&#38;gt;x64&#38;lt;/Platform&#38;gt;
    &#38;lt;/ProjectConfiguration&#38;gt;
    &#38;lt;ProjectConfiguration Include=&#38;quot;Release&#124;x64&#38;quot;&#38;gt;
      &#38;lt;Configuration&#38;gt;Release&#38;lt;/Configuration&#38;gt;
      &#38;lt;Platform&#38;gt;x64&#38;lt;/Platform&#38;gt;
    &#38;lt;/ProjectConfiguration&#38;gt;
  &#38;lt;/ItemGroup&#38;gt;
  &#38;lt;ItemGroup&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;Containers\MatrixContainer.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;Containers\OutputStreamContainer.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;GetoptWin64\Getopt.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;Hdf5\Hdf5File.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;Hdf5\Hdf5FileHeader.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;KSpaceSolver\KSpaceFirstOrderSolver.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;Logger\Logger.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;main.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;MatrixClasses\BaseFloatMatrix.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;MatrixClasses\BaseIndexMatrix.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;MatrixClasses\ComplexMatrix.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;MatrixClasses\CufftComplexMatrix.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;MatrixClasses\IndexMatrix.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;MatrixClasses\RealMatrix.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;OutputStreams\BaseOutputStream.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;OutputStreams\CuboidOutputStream.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;OutputStreams\IndexOutputStream.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;OutputStreams\WholeDomainOutputStream.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;Parameters\CommandLineParameters.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;Parameters\CudaParameters.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;Parameters\Parameters.cpp&#38;quot; /&#38;gt;
  &#38;lt;/ItemGroup&#38;gt;
  &#38;lt;ItemGroup&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;Containers\CudaMatrixContainer.cuh&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;Containers\MatrixContainer.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;Containers\MatrixRecord.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;Containers\OutputStreamContainer.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;GetoptWin64\Getopt.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;Hdf5\Hdf5File.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;Hdf5\Hdf5FileHeader.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;KSpaceSolver\KSpaceFirstOrderSolver.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;KSpaceSolver\SolverCudaKernels.cuh&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;Logger\ErrorMessages.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;Logger\ErrorMessagesLinux.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;Logger\ErrorMessagesWindows.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;Logger\Logger.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;Logger\OutputMessages.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;Logger\OutputMessagesLinux.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;Logger\OutputMessagesWindows.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;MatrixClasses\BaseFloatMatrix.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;MatrixClasses\BaseIndexMatrix.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;MatrixClasses\BaseMatrix.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;MatrixClasses\ComplexMatrix.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;MatrixClasses\CufftComplexMatrix.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;MatrixClasses\IndexMatrix.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;MatrixClasses\RealMatrix.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;MatrixClasses\TransposeCudaKernels.cuh&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;OutputStreams\BaseOutputStream.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;OutputStreams\CuboidOutputStream.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;OutputStreams\IndexOutputStream.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;OutputStreams\OutputStreamsCudaKernels.cuh&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;OutputStreams\WholeDomainOutputStream.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;Parameters\CommandLineParameters.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;Parameters\CudaDeviceConstants.cuh&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;Parameters\CudaParameters.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;Parameters\Parameters.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;Utils\CudaUtils.cuh&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;Utils\DimensionSizes.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;Utils\MatrixNames.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;Utils\TimeMeasure.h&#38;quot; /&#38;gt;
  &#38;lt;/ItemGroup&#38;gt;
  &#38;lt;ItemGroup&#38;gt;
    &#38;lt;CudaCompile Include=&#38;quot;Containers\CudaMatrixContainer.cu&#38;quot; /&#38;gt;
    &#38;lt;CudaCompile Include=&#38;quot;KSpaceSolver\SolverCudaKernels.cu&#38;quot; /&#38;gt;
    &#38;lt;CudaCompile Include=&#38;quot;MatrixClasses\TransposeCudaKernels.cu&#38;quot; /&#38;gt;
    &#38;lt;CudaCompile Include=&#38;quot;OutputStreams\OutputStreamsCudaKernels.cu&#38;quot; /&#38;gt;
    &#38;lt;CudaCompile Include=&#38;quot;Parameters\CudaDeviceConstants.cu&#38;quot; /&#38;gt;
  &#38;lt;/ItemGroup&#38;gt;
  &#38;lt;PropertyGroup Label=&#38;quot;Globals&#38;quot;&#38;gt;
    &#38;lt;ProjectGuid&#38;gt;{B040477E-5790-4F5D-B010-B7B57EE26FED}&#38;lt;/ProjectGuid&#38;gt;
    &#38;lt;RootNamespace&#38;gt;k_wave_fluid_cuda&#38;lt;/RootNamespace&#38;gt;
    &#38;lt;WindowsTargetPlatformVersion&#38;gt;10.0.17763.0&#38;lt;/WindowsTargetPlatformVersion&#38;gt;
  &#38;lt;/PropertyGroup&#38;gt;
  &#38;lt;Import Project=&#38;quot;$(VCTargetsPath)\Microsoft.Cpp.Default.props&#38;quot; /&#38;gt;
  &#38;lt;PropertyGroup Condition=&#38;quot;&#38;#39;$(Configuration)&#124;$(Platform)&#38;#39;==&#38;#39;Debug&#124;x64&#38;#39;&#38;quot; Label=&#38;quot;Configuration&#38;quot;&#38;gt;
    &#38;lt;ConfigurationType&#38;gt;Application&#38;lt;/ConfigurationType&#38;gt;
    &#38;lt;UseDebugLibraries&#38;gt;true&#38;lt;/UseDebugLibraries&#38;gt;
    &#38;lt;CharacterSet&#38;gt;MultiByte&#38;lt;/CharacterSet&#38;gt;
    &#38;lt;PlatformToolset&#38;gt;v141&#38;lt;/PlatformToolset&#38;gt;
    &#38;lt;WholeProgramOptimization&#38;gt;true&#38;lt;/WholeProgramOptimization&#38;gt;
  &#38;lt;/PropertyGroup&#38;gt;
  &#38;lt;PropertyGroup Condition=&#38;quot;&#38;#39;$(Configuration)&#124;$(Platform)&#38;#39;==&#38;#39;Release&#124;x64&#38;#39;&#38;quot; Label=&#38;quot;Configuration&#38;quot;&#38;gt;
    &#38;lt;ConfigurationType&#38;gt;Application&#38;lt;/ConfigurationType&#38;gt;
    &#38;lt;UseDebugLibraries&#38;gt;false&#38;lt;/UseDebugLibraries&#38;gt;
    &#38;lt;WholeProgramOptimization&#38;gt;true&#38;lt;/WholeProgramOptimization&#38;gt;
    &#38;lt;CharacterSet&#38;gt;MultiByte&#38;lt;/CharacterSet&#38;gt;
    &#38;lt;PlatformToolset&#38;gt;v141&#38;lt;/PlatformToolset&#38;gt;
    &#38;lt;UseOfMfc&#38;gt;
    &#38;lt;/UseOfMfc&#38;gt;
  &#38;lt;/PropertyGroup&#38;gt;
  &#38;lt;Import Project=&#38;quot;$(VCTargetsPath)\Microsoft.Cpp.props&#38;quot; /&#38;gt;
  &#38;lt;ImportGroup Label=&#38;quot;ExtensionSettings&#38;quot;&#38;gt;
    &#38;lt;Import Project=&#38;quot;$(VCTargetsPath)\BuildCustomizations\CUDA 10.2.props&#38;quot; /&#38;gt;
  &#38;lt;/ImportGroup&#38;gt;
  &#38;lt;ImportGroup Label=&#38;quot;PropertySheets&#38;quot; Condition=&#38;quot;&#38;#39;$(Configuration)&#124;$(Platform)&#38;#39;==&#38;#39;Debug&#124;x64&#38;#39;&#38;quot;&#38;gt;
    &#38;lt;Import Project=&#38;quot;$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props&#38;quot; Condition=&#38;quot;exists(&#38;#39;$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props&#38;#39;)&#38;quot; Label=&#38;quot;LocalAppDataPlatform&#38;quot; /&#38;gt;
  &#38;lt;/ImportGroup&#38;gt;
  &#38;lt;ImportGroup Label=&#38;quot;PropertySheets&#38;quot; Condition=&#38;quot;&#38;#39;$(Configuration)&#124;$(Platform)&#38;#39;==&#38;#39;Release&#124;x64&#38;#39;&#38;quot;&#38;gt;
    &#38;lt;Import Project=&#38;quot;$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props&#38;quot; Condition=&#38;quot;exists(&#38;#39;$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props&#38;#39;)&#38;quot; Label=&#38;quot;LocalAppDataPlatform&#38;quot; /&#38;gt;
  &#38;lt;/ImportGroup&#38;gt;
  &#38;lt;PropertyGroup Label=&#38;quot;UserMacros&#38;quot; /&#38;gt;
  &#38;lt;PropertyGroup Condition=&#38;quot;&#38;#39;$(Configuration)&#124;$(Platform)&#38;#39;==&#38;#39;Debug&#124;x64&#38;#39;&#38;quot;&#38;gt;
    &#38;lt;LinkIncremental&#38;gt;
    &#38;lt;/LinkIncremental&#38;gt;
    &#38;lt;IncludePath&#38;gt;$(VC_IncludePath);$(WindowsSDK_IncludePath);c:\Program Files\HDF_Group\HDF5\1.10.6\include;.;..\Sources&#38;lt;/IncludePath&#38;gt;
    &#38;lt;LibraryPath&#38;gt;$(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);$(NETFXKitsDir)Lib\um\x64;c:\Program Files\HDF_Group\HDF5\1.10.6\lib&#38;lt;/LibraryPath&#38;gt;
  &#38;lt;/PropertyGroup&#38;gt;
  &#38;lt;PropertyGroup Condition=&#38;quot;&#38;#39;$(Configuration)&#124;$(Platform)&#38;#39;==&#38;#39;Release&#124;x64&#38;#39;&#38;quot;&#38;gt;
    &#38;lt;IncludePath&#38;gt;$(VC_IncludePath);$(WindowsSDK_IncludePath);c:\Program Files\HDF_Group\HDF5\1.10.6\include;.;..\Sources&#38;lt;/IncludePath&#38;gt;
    &#38;lt;LibraryPath&#38;gt;$(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);$(NETFXKitsDir)Lib\um\x64;c:\Program Files\HDF_Group\HDF5\1.10.6\lib&#38;lt;/LibraryPath&#38;gt;
  &#38;lt;/PropertyGroup&#38;gt;
  &#38;lt;ItemDefinitionGroup Condition=&#38;quot;&#38;#39;$(Configuration)&#124;$(Platform)&#38;#39;==&#38;#39;Debug&#124;x64&#38;#39;&#38;quot;&#38;gt;
    &#38;lt;ClCompile&#38;gt;
      &#38;lt;WarningLevel&#38;gt;Level3&#38;lt;/WarningLevel&#38;gt;
      &#38;lt;PreprocessorDefinitions&#38;gt;WIN32;WIN64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions);__KWAVE_GIT_HASH__=&#38;quot;b6413962eefd51c642c627d5ceff5093c7ad8da4&#38;quot;&#38;lt;/PreprocessorDefinitions&#38;gt;
      &#38;lt;FavorSizeOrSpeed&#38;gt;
      &#38;lt;/FavorSizeOrSpeed&#38;gt;
      &#38;lt;FloatingPointModel&#38;gt;Precise&#38;lt;/FloatingPointModel&#38;gt;
      &#38;lt;LanguageStandard&#38;gt;
      &#38;lt;/LanguageStandard&#38;gt;
      &#38;lt;MultiProcessorCompilation&#38;gt;true&#38;lt;/MultiProcessorCompilation&#38;gt;
      &#38;lt;EnableEnhancedInstructionSet&#38;gt;
      &#38;lt;/EnableEnhancedInstructionSet&#38;gt;
      &#38;lt;OpenMPSupport&#38;gt;false&#38;lt;/OpenMPSupport&#38;gt;
      &#38;lt;CompileAs&#38;gt;Default&#38;lt;/CompileAs&#38;gt;
      &#38;lt;BasicRuntimeChecks&#38;gt;Default&#38;lt;/BasicRuntimeChecks&#38;gt;
      &#38;lt;WholeProgramOptimization&#38;gt;false&#38;lt;/WholeProgramOptimization&#38;gt;
      &#38;lt;OpenMP&#38;gt;GenerateParallelCode&#38;lt;/OpenMP&#38;gt;
      &#38;lt;CCppSupport&#38;gt;Cpp11Support&#38;lt;/CCppSupport&#38;gt;
    &#38;lt;/ClCompile&#38;gt;
    &#38;lt;Link&#38;gt;
      &#38;lt;GenerateDebugInformation&#38;gt;true&#38;lt;/GenerateDebugInformation&#38;gt;
      &#38;lt;SubSystem&#38;gt;Console&#38;lt;/SubSystem&#38;gt;
      &#38;lt;AdditionalDependencies&#38;gt;cudart_static.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies);libszip.lib;libzlib.lib;libhdf5.lib;libhdf5_hl.lib;cufft.lib&#38;lt;/AdditionalDependencies&#38;gt;
      &#38;lt;AdditionalLibraryDirectories&#38;gt;%(AdditionalLibraryDirectories);$(CudaToolkitLibDir);&#38;lt;/AdditionalLibraryDirectories&#38;gt;
    &#38;lt;/Link&#38;gt;
    &#38;lt;CudaCompile&#38;gt;
      &#38;lt;TargetMachinePlatform&#38;gt;64&#38;lt;/TargetMachinePlatform&#38;gt;
      &#38;lt;GenerateRelocatableDeviceCode&#38;gt;true&#38;lt;/GenerateRelocatableDeviceCode&#38;gt;
      &#38;lt;PtxAsOptionV&#38;gt;true&#38;lt;/PtxAsOptionV&#38;gt;
      &#38;lt;FastMath&#38;gt;true&#38;lt;/FastMath&#38;gt;
      &#38;lt;CodeGeneration&#38;gt;
      &#38;lt;/CodeGeneration&#38;gt;
      &#38;lt;AdditionalCompilerOptions&#38;gt;
      &#38;lt;/AdditionalCompilerOptions&#38;gt;
    &#38;lt;/CudaCompile&#38;gt;
  &#38;lt;/ItemDefinitionGroup&#38;gt;
  &#38;lt;ItemDefinitionGroup Condition=&#38;quot;&#38;#39;$(Configuration)&#124;$(Platform)&#38;#39;==&#38;#39;Release&#124;x64&#38;#39;&#38;quot;&#38;gt;
    &#38;lt;ClCompile&#38;gt;
      &#38;lt;WarningLevel&#38;gt;Level3&#38;lt;/WarningLevel&#38;gt;
      &#38;lt;Optimization&#38;gt;MaxSpeed&#38;lt;/Optimization&#38;gt;
      &#38;lt;FunctionLevelLinking&#38;gt;true&#38;lt;/FunctionLevelLinking&#38;gt;
      &#38;lt;IntrinsicFunctions&#38;gt;true&#38;lt;/IntrinsicFunctions&#38;gt;
      &#38;lt;PreprocessorDefinitions&#38;gt;WIN32;WIN64;NDEBUG;_CONSOLE;%(PreprocessorDefinitions);__KWAVE_GIT_HASH__=&#38;quot;5d1e866ae6bd2f83b97f5f98c1081076d2052828&#38;quot;&#38;lt;/PreprocessorDefinitions&#38;gt;
      &#38;lt;MultiProcessorCompilation&#38;gt;true&#38;lt;/MultiProcessorCompilation&#38;gt;
      &#38;lt;EnableEnhancedInstructionSet&#38;gt;AdvancedVectorExtensions&#38;lt;/EnableEnhancedInstructionSet&#38;gt;
      &#38;lt;LanguageStandard&#38;gt;stdcpp14&#38;lt;/LanguageStandard&#38;gt;
      &#38;lt;FloatingPointModel&#38;gt;Fast&#38;lt;/FloatingPointModel&#38;gt;
      &#38;lt;OpenMPSupport&#38;gt;false&#38;lt;/OpenMPSupport&#38;gt;
      &#38;lt;FavorSizeOrSpeed&#38;gt;Speed&#38;lt;/FavorSizeOrSpeed&#38;gt;
    &#38;lt;/ClCompile&#38;gt;
    &#38;lt;Link&#38;gt;
      &#38;lt;GenerateDebugInformation&#38;gt;false&#38;lt;/GenerateDebugInformation&#38;gt;
      &#38;lt;EnableCOMDATFolding&#38;gt;true&#38;lt;/EnableCOMDATFolding&#38;gt;
      &#38;lt;OptimizeReferences&#38;gt;true&#38;lt;/OptimizeReferences&#38;gt;
      &#38;lt;SubSystem&#38;gt;Console&#38;lt;/SubSystem&#38;gt;
      &#38;lt;AdditionalDependencies&#38;gt;cudart_static.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies);libszip.lib;libzlib.lib;libhdf5.lib;libhdf5_hl.lib;cufft.lib&#38;lt;/AdditionalDependencies&#38;gt;
      &#38;lt;Version&#38;gt;1.3&#38;lt;/Version&#38;gt;
    &#38;lt;/Link&#38;gt;
    &#38;lt;CudaCompile&#38;gt;
      &#38;lt;TargetMachinePlatform&#38;gt;64&#38;lt;/TargetMachinePlatform&#38;gt;
      &#38;lt;GenerateRelocatableDeviceCode&#38;gt;true&#38;lt;/GenerateRelocatableDeviceCode&#38;gt;
      &#38;lt;CodeGeneration&#38;gt;compute_30,sm_30;compute_32,sm_32;compute_35,sm_35;compute_37,sm_37;compute_50,sm_50;compute_52,sm_52;compute_60,sm_60;compute_61,sm_61;compute_70,sm_70;compute_75,sm_75;&#38;lt;/CodeGeneration&#38;gt;
      &#38;lt;FastMath&#38;gt;true&#38;lt;/FastMath&#38;gt;
      &#38;lt;MaxRegCount /&#38;gt;
    &#38;lt;/CudaCompile&#38;gt;
  &#38;lt;/ItemDefinitionGroup&#38;gt;
  &#38;lt;Import Project=&#38;quot;$(VCTargetsPath)\Microsoft.Cpp.targets&#38;quot; /&#38;gt;
  &#38;lt;ImportGroup Label=&#38;quot;ExtensionTargets&#38;quot;&#38;gt;
    &#38;lt;Import Project=&#38;quot;$(VCTargetsPath)\BuildCustomizations\CUDA 10.2.targets&#38;quot; /&#38;gt;
  &#38;lt;/ImportGroup&#38;gt;
&#38;lt;/Project&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>mckao on "Running on AWS Tesla instances"</title>
			<link>http://www.k-wave.org/forum/topic/running-on-aws-tesla-instances#post-7208</link>
			<pubDate>Mon, 10 Feb 2020 16:26:30 +0000</pubDate>
			<dc:creator>mckao</dc:creator>
			<guid isPermaLink="false">7208@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Could K-wave post an updated binary build of the CUDA code?&#60;/p&#62;
&#60;p&#62;That would be very much appreciated, thank you
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Joehansenshearer on "Running on AWS Tesla instances"</title>
			<link>http://www.k-wave.org/forum/topic/running-on-aws-tesla-instances#post-7130</link>
			<pubDate>Mon, 18 Nov 2019 15:55:12 +0000</pubDate>
			<dc:creator>Joehansenshearer</dc:creator>
			<guid isPermaLink="false">7130@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi there, &#60;/p&#62;
&#60;p&#62;I was getting the same errors as qjk. I applied all the suggested fixes and they solved my problems. Unfortunately now I have run into a further errors when I use the MakeFile.&#60;/p&#62;
&#60;p&#62;nvcc fatal   : A single input file is required for a non-link phase when an outputfile is specified&#60;br /&#62;
make: *** [Makefile:214: KSpaceSolver/SolverCudaKernels.o] Error 1&#60;br /&#62;
make: *** Waiting for unfinished jobs....&#60;br /&#62;
nvcc fatal   : A single input file is required for a non-link phase when an outputfile is specified&#60;br /&#62;
make: *** [Makefile:220: Parameters/CudaDeviceConstants.o] Error 1&#60;br /&#62;
nvcc fatal   : A single input file is required for a non-link phase when an outputfile is specified&#60;br /&#62;
make: *** [Makefile:217: OutputStreams/OutputStreamsCudaKernels.o] Error 1&#60;/p&#62;
&#60;p&#62;Does anyone know how to solve this problem? Any help would be appreciated. &#60;/p&#62;
&#60;p&#62;So far I have;&#60;br /&#62;
Downloaded source file from &#60;a href=&#34;http://www.k-wave.org/download.php&#34; rel=&#34;nofollow&#34;&#62;http://www.k-wave.org/download.php&#60;/a&#62;&#60;br /&#62;
Edited MakeFile removing&#60;br /&#62;
--generate-code arch=compute_20 ...&#60;br /&#62;
--generate-code arch=compute_21...&#60;br /&#62;
and added&#60;br /&#62;
--generate-code arch=compute_60,code=sm_60 \&#60;br /&#62;
--generate-code arch=compute_61,code=sm_61 \&#60;br /&#62;
--generate-code arch=compute_62,code=sm_62 \&#60;br /&#62;
--generate-code arch=compute_70,code=sm_70 \&#60;br /&#62;
--generate-code arch=compute_72,code=sm_72 \&#60;br /&#62;
--generate-code arch=compute_75,code=sm_75 \&#60;br /&#62;
as suggested. &#60;/p&#62;
&#60;p&#62;I have then added appropriate paths for linking. &#60;/p&#62;
&#60;p&#62;I had an additional problem where in Hdf5File.h where #include &#38;lt;hdf5.h&#38;gt; was unable to find file so i added full path here&#60;br /&#62;
#include &#34;/usr/include/hdf5/serial/hdf5.h&#34;&#60;br /&#62;
#include &#34;/usr/include/hdf5/serial/hdf5_hl.h&#34;&#60;/p&#62;
&#60;p&#62;Now I am running into the errors specified above when running make.&#60;/p&#62;
&#60;p&#62;I am using a GeForce RTX 2060 Super, CUDA 10.1 and Ubuntu 19.10&#60;/p&#62;
&#60;p&#62;Thanks for any help in advance. &#60;/p&#62;
&#60;p&#62;Regards&#60;/p&#62;
&#60;p&#62;Joseph
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jiri Jaros on "Running on AWS Tesla instances"</title>
			<link>http://www.k-wave.org/forum/topic/running-on-aws-tesla-instances#post-6980</link>
			<pubDate>Wed, 24 Jul 2019 12:55:28 +0000</pubDate>
			<dc:creator>Jiri Jaros</dc:creator>
			<guid isPermaLink="false">6980@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Wow!&#60;br /&#62;
do you compile it with the NVidia Nsight? It looks like the compiler does not know some CUDA stuff.&#60;/p&#62;
&#60;p&#62;Best&#60;br /&#62;
Jiri
&#60;/p&#62;</description>
		</item>
		<item>
			<title>andrewFrizado on "Running on AWS Tesla instances"</title>
			<link>http://www.k-wave.org/forum/topic/running-on-aws-tesla-instances#post-6974</link>
			<pubDate>Fri, 12 Jul 2019 16:49:22 +0000</pubDate>
			<dc:creator>andrewFrizado</dc:creator>
			<guid isPermaLink="false">6974@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hey Jiri, &#60;/p&#62;
&#60;p&#62;I followed your instructions as well as getting the original vcxproj to adhere to the correct paths and library paths etc (including the HDF5 libraries) - only to uncover over 100 new errors in the code. Almost all are related to expecting a semicolon (;) or unaware of the &#34;constexp&#34; term in the code. Any tips to get around this? &#60;/p&#62;
&#60;p&#62;Here are a few of the 139 errors (same ones repeated multiple times throughout the build):&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2061): error : expected a &#38;quot;;&#38;quot;
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2062): warning : expression has no effect
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2062): error : expected a &#38;quot;;&#38;quot;
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2070): error : identifier &#38;quot;inPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2071): error : identifier &#38;quot;outPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2061): warning : expression has no effect
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2061): error : expected a &#38;quot;;&#38;quot;
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2062): warning : expression has no effect
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2062): error : expected a &#38;quot;;&#38;quot;
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2070): error : identifier &#38;quot;inPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2071): error : identifier &#38;quot;outPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2061): warning : expression has no effect
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2061): error : expected a &#38;quot;;&#38;quot;
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2062): warning : expression has no effect
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2062): error : expected a &#38;quot;;&#38;quot;
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2070): error : identifier &#38;quot;inPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2071): error : identifier &#38;quot;outPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2061): warning : expression has no effect
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2061): error : expected a &#38;quot;;&#38;quot;
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2062): warning : expression has no effect
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2062): error : expected a &#38;quot;;&#38;quot;
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2070): error : identifier &#38;quot;inPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2071): error : identifier &#38;quot;outPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2061): warning : expression has no effect
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2061): error : expected a &#38;quot;;&#38;quot;
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2062): warning : expression has no effect
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2062): error : expected a &#38;quot;;&#38;quot;
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2070): error : identifier &#38;quot;inPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2071): error : identifier &#38;quot;outPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2061): warning : expression has no effect
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2061): error : expected a &#38;quot;;&#38;quot;
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2062): warning : expression has no effect
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2062): error : expected a &#38;quot;;&#38;quot;
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2070): error : identifier &#38;quot;inPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2071): error : identifier &#38;quot;outPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2280): warning : expression has no effect
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2280): error : expected a &#38;quot;;&#38;quot;
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2281): warning : expression has no effect
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2281): error : expected a &#38;quot;;&#38;quot;
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2300): error : identifier &#38;quot;inPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2310): error : identifier &#38;quot;outPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2327): error : identifier &#38;quot;inPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2336): error : identifier &#38;quot;outPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2356): error : identifier &#38;quot;inPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2367): error : identifier &#38;quot;outPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2384): error : identifier &#38;quot;inPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2395): error : identifier &#38;quot;outPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2280): warning : expression has no effect
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2280): error : expected a &#38;quot;;&#38;quot;
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2281): warning : expression has no effect
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2281): error : expected a &#38;quot;;&#38;quot;
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2300): error : identifier &#38;quot;inPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2310): error : identifier &#38;quot;outPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2327): error : identifier &#38;quot;inPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2336): error : identifier &#38;quot;outPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2356): error : identifier &#38;quot;inPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2367): error : identifier &#38;quot;outPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2384): error : identifier &#38;quot;inPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2395): error : identifier &#38;quot;outPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2280): warning : expression has no effect
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2280): error : expected a &#38;quot;;&#38;quot;
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2281): warning : expression has no effect
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2281): error : expected a &#38;quot;;&#38;quot;
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2300): error : identifier &#38;quot;inPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2310): error : identifier &#38;quot;outPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2327): error : identifier &#38;quot;inPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2336): error : identifier &#38;quot;outPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2356): error : identifier &#38;quot;inPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2367): error : identifier &#38;quot;outPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2384): error : identifier &#38;quot;inPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2395): error : identifier &#38;quot;outPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2280): warning : expression has no effect
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2280): error : expected a &#38;quot;;&#38;quot;
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2281): warning : expression has no effect
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2281): error : expected a &#38;quot;;&#38;quot;
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2300): error : identifier &#38;quot;inPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2310): error : identifier &#38;quot;outPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2327): error : identifier &#38;quot;inPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2336): error : identifier &#38;quot;outPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2356): error : identifier &#38;quot;inPad&#38;quot; is undefined
1&#38;gt;C:/Users/Andrew/Documents/Test/k-wave-fluid-cuda/KSpaceSolver/SolverCUDAKernels.cu(2367): error : identifier &#38;quot;outPad&#38;quot; is undefined&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Thanks for the help! &#60;/p&#62;
&#60;p&#62;Andrew
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jiri Jaros on "Running on AWS Tesla instances"</title>
			<link>http://www.k-wave.org/forum/topic/running-on-aws-tesla-instances#post-6955</link>
			<pubDate>Tue, 09 Jul 2019 11:11:23 +0000</pubDate>
			<dc:creator>Jiri Jaros</dc:creator>
			<guid isPermaLink="false">6955@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi andrewFrizado,&#60;br /&#62;
Windows is always a bit tricky and it takes me a day to figure out how to compile every new version. I assume you've installed HDF5 library (any version newer than 1.8.10 is fine) and you know where the .dll and .h files are. &#60;/p&#62;
&#60;p&#62;Here is a dump from my *.vcxproj. I would recommend to start a new CUDA project, add all source codes in the project and then set up the libraries, folders, etc.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?xml version=&#38;quot;1.0&#38;quot; encoding=&#38;quot;utf-8&#38;quot;?&#38;gt;
&#38;lt;Project DefaultTargets=&#38;quot;Build&#38;quot; ToolsVersion=&#38;quot;15.0&#38;quot; xmlns=&#38;quot;http://schemas.microsoft.com/developer/msbuild/2003&#38;quot;&#38;gt;
  &#38;lt;ItemGroup Label=&#38;quot;ProjectConfigurations&#38;quot;&#38;gt;
    &#38;lt;ProjectConfiguration Include=&#38;quot;Debug&#124;x64&#38;quot;&#38;gt;
      &#38;lt;Configuration&#38;gt;Debug&#38;lt;/Configuration&#38;gt;
      &#38;lt;Platform&#38;gt;x64&#38;lt;/Platform&#38;gt;
    &#38;lt;/ProjectConfiguration&#38;gt;
    &#38;lt;ProjectConfiguration Include=&#38;quot;Release&#124;x64&#38;quot;&#38;gt;
      &#38;lt;Configuration&#38;gt;Release&#38;lt;/Configuration&#38;gt;
      &#38;lt;Platform&#38;gt;x64&#38;lt;/Platform&#38;gt;
    &#38;lt;/ProjectConfiguration&#38;gt;
  &#38;lt;/ItemGroup&#38;gt;
  &#38;lt;ItemGroup&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;..\Sources\Containers\MatrixContainer.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;..\Sources\Containers\MatrixRecord.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;..\Sources\Containers\OutputStreamContainer.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;..\Sources\GetoptWin64\Getopt.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;..\Sources\Hdf5\Hdf5File.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;..\Sources\Hdf5\Hdf5FileHeader.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;..\Sources\KSpaceSolver\KSpaceFirstOrderSolver.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;..\Sources\Logger\Logger.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;..\Sources\main.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;..\Sources\MatrixClasses\BaseFloatMatrix.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;..\Sources\MatrixClasses\BaseIndexMatrix.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;..\Sources\MatrixClasses\ComplexMatrix.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;..\Sources\MatrixClasses\CufftComplexMatrix.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;..\Sources\MatrixClasses\IndexMatrix.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;..\Sources\MatrixClasses\RealMatrix.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;..\Sources\OutputStreams\BaseOutputStream.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;..\Sources\OutputStreams\CuboidOutputStream.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;..\Sources\OutputStreams\IndexOutputStream.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;..\Sources\OutputStreams\WholeDomainOutputStream.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;..\Sources\Parameters\CommandLineParameters.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;..\Sources\Parameters\CudaParameters.cpp&#38;quot; /&#38;gt;
    &#38;lt;ClCompile Include=&#38;quot;..\Sources\Parameters\Parameters.cpp&#38;quot; /&#38;gt;
  &#38;lt;/ItemGroup&#38;gt;
  &#38;lt;ItemGroup&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\Containers\MatrixContainer.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\Containers\MatrixRecord.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\Containers\OutputStreamContainer.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\GetoptWin64\Getopt.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\Hdf5\Hdf5File.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\Hdf5\Hdf5FileHeader.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\KSpaceSolver\KSpaceFirstOrderSolver.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\KSpaceSolver\SolverCudaKernels.cuh&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\Logger\ErrorMessages.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\Logger\ErrorMessagesLinux.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\Logger\ErrorMessagesWindows.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\Logger\Logger.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\Logger\OutputMessages.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\Logger\OutputMessagesLinux.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\Logger\OutputMessagesWindows.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\MatrixClasses\BaseFloatMatrix.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\MatrixClasses\BaseIndexMatrix.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\MatrixClasses\BaseMatrix.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\MatrixClasses\ComplexMatrix.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\MatrixClasses\CufftComplexMatrix.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\MatrixClasses\IndexMatrix.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\MatrixClasses\RealMatrix.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\OutputStreams\BaseOutputStream.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\OutputStreams\CuboidOutputStream.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\OutputStreams\IndexOutputStream.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\OutputStreams\OutputStreamsCudaKernels.cuh&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\OutputStreams\WholeDomainOutputStream.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\Parameters\CommandLineParameters.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\Parameters\CudaDeviceConstants.cuh&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\Parameters\CudaParameters.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\Parameters\Parameters.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\Utils\CudaUtils.cuh&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\Utils\DimensionSizes.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\Utils\MatrixNames.h&#38;quot; /&#38;gt;
    &#38;lt;ClInclude Include=&#38;quot;..\Sources\Utils\TimeMeasure.h&#38;quot; /&#38;gt;
  &#38;lt;/ItemGroup&#38;gt;
  &#38;lt;ItemGroup&#38;gt;
    &#38;lt;CudaCompile Include=&#38;quot;..\Sources\KSpaceSolver\SolverCudaKernels.cu&#38;quot; /&#38;gt;
    &#38;lt;CudaCompile Include=&#38;quot;..\Sources\OutputStreams\OutputStreamsCudaKernels.cu&#38;quot; /&#38;gt;
    &#38;lt;CudaCompile Include=&#38;quot;..\Sources\Parameters\CudaDeviceConstants.cu&#38;quot; /&#38;gt;
  &#38;lt;/ItemGroup&#38;gt;
  &#38;lt;PropertyGroup Label=&#38;quot;Globals&#38;quot;&#38;gt;
    &#38;lt;ProjectGuid&#38;gt;{B040477E-5790-4F5D-B010-B7B57EE26FED}&#38;lt;/ProjectGuid&#38;gt;
    &#38;lt;RootNamespace&#38;gt;k_wave_fluid_cuda&#38;lt;/RootNamespace&#38;gt;
    &#38;lt;WindowsTargetPlatformVersion&#38;gt;10.0.17763.0&#38;lt;/WindowsTargetPlatformVersion&#38;gt;
  &#38;lt;/PropertyGroup&#38;gt;
  &#38;lt;Import Project=&#38;quot;$(VCTargetsPath)\Microsoft.Cpp.Default.props&#38;quot; /&#38;gt;
  &#38;lt;PropertyGroup Condition=&#38;quot;&#38;#39;$(Configuration)&#124;$(Platform)&#38;#39;==&#38;#39;Debug&#124;x64&#38;#39;&#38;quot; Label=&#38;quot;Configuration&#38;quot;&#38;gt;
    &#38;lt;ConfigurationType&#38;gt;Application&#38;lt;/ConfigurationType&#38;gt;
    &#38;lt;UseDebugLibraries&#38;gt;true&#38;lt;/UseDebugLibraries&#38;gt;
    &#38;lt;CharacterSet&#38;gt;MultiByte&#38;lt;/CharacterSet&#38;gt;
    &#38;lt;PlatformToolset&#38;gt;v141&#38;lt;/PlatformToolset&#38;gt;
    &#38;lt;WholeProgramOptimization&#38;gt;true&#38;lt;/WholeProgramOptimization&#38;gt;
  &#38;lt;/PropertyGroup&#38;gt;
  &#38;lt;PropertyGroup Condition=&#38;quot;&#38;#39;$(Configuration)&#124;$(Platform)&#38;#39;==&#38;#39;Release&#124;x64&#38;#39;&#38;quot; Label=&#38;quot;Configuration&#38;quot;&#38;gt;
    &#38;lt;ConfigurationType&#38;gt;Application&#38;lt;/ConfigurationType&#38;gt;
    &#38;lt;UseDebugLibraries&#38;gt;false&#38;lt;/UseDebugLibraries&#38;gt;
    &#38;lt;WholeProgramOptimization&#38;gt;true&#38;lt;/WholeProgramOptimization&#38;gt;
    &#38;lt;CharacterSet&#38;gt;MultiByte&#38;lt;/CharacterSet&#38;gt;
    &#38;lt;PlatformToolset&#38;gt;v141&#38;lt;/PlatformToolset&#38;gt;
  &#38;lt;/PropertyGroup&#38;gt;
  &#38;lt;Import Project=&#38;quot;$(VCTargetsPath)\Microsoft.Cpp.props&#38;quot; /&#38;gt;
  &#38;lt;ImportGroup Label=&#38;quot;ExtensionSettings&#38;quot;&#38;gt;
    &#38;lt;Import Project=&#38;quot;$(VCTargetsPath)\BuildCustomizations\CUDA 10.0.props&#38;quot; /&#38;gt;
  &#38;lt;/ImportGroup&#38;gt;
  &#38;lt;ImportGroup Label=&#38;quot;PropertySheets&#38;quot; Condition=&#38;quot;&#38;#39;$(Configuration)&#124;$(Platform)&#38;#39;==&#38;#39;Debug&#124;x64&#38;#39;&#38;quot;&#38;gt;
    &#38;lt;Import Project=&#38;quot;$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props&#38;quot; Condition=&#38;quot;exists(&#38;#39;$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props&#38;#39;)&#38;quot; Label=&#38;quot;LocalAppDataPlatform&#38;quot; /&#38;gt;
  &#38;lt;/ImportGroup&#38;gt;
  &#38;lt;ImportGroup Label=&#38;quot;PropertySheets&#38;quot; Condition=&#38;quot;&#38;#39;$(Configuration)&#124;$(Platform)&#38;#39;==&#38;#39;Release&#124;x64&#38;#39;&#38;quot;&#38;gt;
    &#38;lt;Import Project=&#38;quot;$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props&#38;quot; Condition=&#38;quot;exists(&#38;#39;$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props&#38;#39;)&#38;quot; Label=&#38;quot;LocalAppDataPlatform&#38;quot; /&#38;gt;
  &#38;lt;/ImportGroup&#38;gt;
  &#38;lt;PropertyGroup Label=&#38;quot;UserMacros&#38;quot; /&#38;gt;
  &#38;lt;PropertyGroup Condition=&#38;quot;&#38;#39;$(Configuration)&#124;$(Platform)&#38;#39;==&#38;#39;Debug&#124;x64&#38;#39;&#38;quot;&#38;gt;
    &#38;lt;LinkIncremental&#38;gt;
    &#38;lt;/LinkIncremental&#38;gt;
    &#38;lt;IncludePath&#38;gt;$(VC_IncludePath);$(WindowsSDK_IncludePath);c:\Program Files\HDF_Group\HDF5\1.8.21\include;.;..\Sources&#38;lt;/IncludePath&#38;gt;
    &#38;lt;LibraryPath&#38;gt;$(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);$(NETFXKitsDir)Lib\um\x64;c:\Program Files\HDF_Group\HDF5\1.8.21\lib&#38;lt;/LibraryPath&#38;gt;
  &#38;lt;/PropertyGroup&#38;gt;
  &#38;lt;PropertyGroup Condition=&#38;quot;&#38;#39;$(Configuration)&#124;$(Platform)&#38;#39;==&#38;#39;Release&#124;x64&#38;#39;&#38;quot;&#38;gt;
    &#38;lt;IncludePath&#38;gt;$(VC_IncludePath);$(WindowsSDK_IncludePath);c:\Program Files\HDF_Group\HDF5\1.8.21\include;.;..\Sources&#38;lt;/IncludePath&#38;gt;
    &#38;lt;LibraryPath&#38;gt;$(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64);$(NETFXKitsDir)Lib\um\x64;c:\Program Files\HDF_Group\HDF5\1.8.21\lib&#38;lt;/LibraryPath&#38;gt;
  &#38;lt;/PropertyGroup&#38;gt;
  &#38;lt;ItemDefinitionGroup Condition=&#38;quot;&#38;#39;$(Configuration)&#124;$(Platform)&#38;#39;==&#38;#39;Debug&#124;x64&#38;#39;&#38;quot;&#38;gt;
    &#38;lt;ClCompile&#38;gt;
      &#38;lt;WarningLevel&#38;gt;Level3&#38;lt;/WarningLevel&#38;gt;
      &#38;lt;PreprocessorDefinitions&#38;gt;WIN32;WIN64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions);__KWAVE_GIT_HASH__=&#38;quot;b6413962eefd51c642c627d5ceff5093c7ad8da4&#38;quot;&#38;lt;/PreprocessorDefinitions&#38;gt;
      &#38;lt;FavorSizeOrSpeed&#38;gt;
      &#38;lt;/FavorSizeOrSpeed&#38;gt;
      &#38;lt;FloatingPointModel&#38;gt;Precise&#38;lt;/FloatingPointModel&#38;gt;
      &#38;lt;LanguageStandard&#38;gt;
      &#38;lt;/LanguageStandard&#38;gt;
      &#38;lt;MultiProcessorCompilation&#38;gt;true&#38;lt;/MultiProcessorCompilation&#38;gt;
      &#38;lt;EnableEnhancedInstructionSet&#38;gt;
      &#38;lt;/EnableEnhancedInstructionSet&#38;gt;
      &#38;lt;OpenMPSupport&#38;gt;false&#38;lt;/OpenMPSupport&#38;gt;
      &#38;lt;CompileAs&#38;gt;Default&#38;lt;/CompileAs&#38;gt;
      &#38;lt;BasicRuntimeChecks&#38;gt;Default&#38;lt;/BasicRuntimeChecks&#38;gt;
      &#38;lt;WholeProgramOptimization&#38;gt;false&#38;lt;/WholeProgramOptimization&#38;gt;
      &#38;lt;OpenMP&#38;gt;GenerateParallelCode&#38;lt;/OpenMP&#38;gt;
      &#38;lt;CCppSupport&#38;gt;Cpp11Support&#38;lt;/CCppSupport&#38;gt;
    &#38;lt;/ClCompile&#38;gt;
    &#38;lt;Link&#38;gt;
      &#38;lt;GenerateDebugInformation&#38;gt;true&#38;lt;/GenerateDebugInformation&#38;gt;
      &#38;lt;SubSystem&#38;gt;Console&#38;lt;/SubSystem&#38;gt;
      &#38;lt;AdditionalDependencies&#38;gt;cudart_static.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies);libszip.lib;libzlib.lib;libhdf5.lib;libhdf5_hl.lib;cufft.lib&#38;lt;/AdditionalDependencies&#38;gt;
      &#38;lt;AdditionalLibraryDirectories&#38;gt;%(AdditionalLibraryDirectories);$(CudaToolkitLibDir);&#38;lt;/AdditionalLibraryDirectories&#38;gt;
    &#38;lt;/Link&#38;gt;
    &#38;lt;CudaCompile&#38;gt;
      &#38;lt;TargetMachinePlatform&#38;gt;64&#38;lt;/TargetMachinePlatform&#38;gt;
      &#38;lt;GenerateRelocatableDeviceCode&#38;gt;true&#38;lt;/GenerateRelocatableDeviceCode&#38;gt;
      &#38;lt;PtxAsOptionV&#38;gt;true&#38;lt;/PtxAsOptionV&#38;gt;
      &#38;lt;FastMath&#38;gt;true&#38;lt;/FastMath&#38;gt;
      &#38;lt;CodeGeneration&#38;gt;compute_50,sm_50&#38;lt;/CodeGeneration&#38;gt;
      &#38;lt;AdditionalCompilerOptions&#38;gt;
      &#38;lt;/AdditionalCompilerOptions&#38;gt;
    &#38;lt;/CudaCompile&#38;gt;
  &#38;lt;/ItemDefinitionGroup&#38;gt;
  &#38;lt;ItemDefinitionGroup Condition=&#38;quot;&#38;#39;$(Configuration)&#124;$(Platform)&#38;#39;==&#38;#39;Release&#124;x64&#38;#39;&#38;quot;&#38;gt;
    &#38;lt;ClCompile&#38;gt;
      &#38;lt;WarningLevel&#38;gt;Level3&#38;lt;/WarningLevel&#38;gt;
      &#38;lt;Optimization&#38;gt;MaxSpeed&#38;lt;/Optimization&#38;gt;
      &#38;lt;FunctionLevelLinking&#38;gt;true&#38;lt;/FunctionLevelLinking&#38;gt;
      &#38;lt;IntrinsicFunctions&#38;gt;true&#38;lt;/IntrinsicFunctions&#38;gt;
      &#38;lt;PreprocessorDefinitions&#38;gt;WIN32;WIN64;NDEBUG;_CONSOLE;%(PreprocessorDefinitions);__KWAVE_GIT_HASH__=&#38;quot;b6413962eefd51c642c627d5ceff5093c7ad8da4&#38;quot;&#38;lt;/PreprocessorDefinitions&#38;gt;
      &#38;lt;MultiProcessorCompilation&#38;gt;true&#38;lt;/MultiProcessorCompilation&#38;gt;
      &#38;lt;EnableEnhancedInstructionSet&#38;gt;
      &#38;lt;/EnableEnhancedInstructionSet&#38;gt;
      &#38;lt;LanguageStandard&#38;gt;stdcpp14&#38;lt;/LanguageStandard&#38;gt;
      &#38;lt;FloatingPointModel&#38;gt;
      &#38;lt;/FloatingPointModel&#38;gt;
      &#38;lt;OpenMPSupport&#38;gt;false&#38;lt;/OpenMPSupport&#38;gt;
    &#38;lt;/ClCompile&#38;gt;
    &#38;lt;Link&#38;gt;
      &#38;lt;GenerateDebugInformation&#38;gt;false&#38;lt;/GenerateDebugInformation&#38;gt;
      &#38;lt;EnableCOMDATFolding&#38;gt;true&#38;lt;/EnableCOMDATFolding&#38;gt;
      &#38;lt;OptimizeReferences&#38;gt;true&#38;lt;/OptimizeReferences&#38;gt;
      &#38;lt;SubSystem&#38;gt;Console&#38;lt;/SubSystem&#38;gt;
      &#38;lt;AdditionalDependencies&#38;gt;cudart_static.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies);libszip.lib;libzlib.lib;libhdf5.lib;libhdf5_hl.lib;cufft.lib&#38;lt;/AdditionalDependencies&#38;gt;
    &#38;lt;/Link&#38;gt;
    &#38;lt;CudaCompile&#38;gt;
      &#38;lt;TargetMachinePlatform&#38;gt;64&#38;lt;/TargetMachinePlatform&#38;gt;
      &#38;lt;GenerateRelocatableDeviceCode&#38;gt;true&#38;lt;/GenerateRelocatableDeviceCode&#38;gt;
      &#38;lt;CodeGeneration&#38;gt;compute_75,sm_75&#38;lt;/CodeGeneration&#38;gt;
      &#38;lt;FastMath&#38;gt;true&#38;lt;/FastMath&#38;gt;
    &#38;lt;/CudaCompile&#38;gt;
  &#38;lt;/ItemDefinitionGroup&#38;gt;
  &#38;lt;Import Project=&#38;quot;$(VCTargetsPath)\Microsoft.Cpp.targets&#38;quot; /&#38;gt;
  &#38;lt;ImportGroup Label=&#38;quot;ExtensionTargets&#38;quot;&#38;gt;
    &#38;lt;Import Project=&#38;quot;$(VCTargetsPath)\BuildCustomizations\CUDA 10.0.targets&#38;quot; /&#38;gt;
  &#38;lt;/ImportGroup&#38;gt;
&#38;lt;/Project&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>andrewFrizado on "Running on AWS Tesla instances"</title>
			<link>http://www.k-wave.org/forum/topic/running-on-aws-tesla-instances#post-6948</link>
			<pubDate>Wed, 03 Jul 2019 13:22:57 +0000</pubDate>
			<dc:creator>andrewFrizado</dc:creator>
			<guid isPermaLink="false">6948@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Jiri, &#60;/p&#62;
&#60;p&#62;I have also been trying to get the same setup on a PC running Windows 7 with a NVIDIA RTX 2080 Ti. I am able to drop in the binaries for Pascal architecture and get good performance, though not quite as good as the setup on the Linux machine. &#60;/p&#62;
&#60;p&#62;I am assuming that this is related to the mismatch of the Turing architecture etc. To workaround, I am trying to recompile the source codes in Visual Studio 2015 (I have also tried in Visual Studio 2013 with v120 platform toolset) but continuously am running into new errors with the library dependencies (directly related to the kWave folders that are in the directory). I have looked at the vcxproj file in a text editor and have updated some of the variables to fit my compilation paramters (HDF1.8.18 instead of HDF5 1.8.19, and CUDA 10.1). My unfamiliarity in Windows and VS definitely lend itself to my troubles, but I was wondering what aleterations I would need to make to the vcxproj file such that I can simply build the code from the provided .sln file. I also assumed that for strictly compiling GPU code the intel compiler and library would not be needed. Is this correct? What else is needed to get these binaries compiled? &#60;/p&#62;
&#60;p&#62;Attached are my errors using VS 2015 BuildTools (they are repeated from each k-Wave file in the zip directories): &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;quot;C:\Users\Andrew\Documents\kWaveSourceTest\k-wave-fluid-cuda.sln&#38;quot; (default targ
et) (1) -&#38;gt;
&#38;quot;C:\Users\Andrew\Documents\kWaveSourceTest\k-wave-fluid-cuda\k-wave-fluid-cuda.
vcxproj&#38;quot; (default target) (2) -&#38;gt;
&#38;quot;C:\Users\Andrew\Documents\kWaveSourceTest\k-wave-fluid-cuda\k-wave-fluid-cuda.
vcxproj&#38;quot; (CudaBuildCore target) (2:2) -&#38;gt;
(CudaBuildCore target) -&#38;gt;
  C:/Users/Andrew/Documents/kWaveSourceTest/k-wave-fluid-cuda/KSpaceSolver/Solv
erCUDAKernels.cu(34): fatal error C1083: Cannot open include file: &#38;#39;KSpaceSolve
r/SolverCudaKernels.cuh&#38;#39;: No such file or directory [C:\Users\Andrew\Documents\
kWaveSourceTest\k-wave-fluid-cuda\k-wave-fluid-cuda.vcxproj]&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Jiri Jaros on "Running on AWS Tesla instances"</title>
			<link>http://www.k-wave.org/forum/topic/running-on-aws-tesla-instances#post-6945</link>
			<pubDate>Mon, 01 Jul 2019 11:03:12 +0000</pubDate>
			<dc:creator>Jiri Jaros</dc:creator>
			<guid isPermaLink="false">6945@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi qjk,&#60;br /&#62;
When building the codes, I always download sources of SZIP, HDF5 and CUDA and compile them with the same compiler as the k-Wave binary. This saves a lot of problems with different versions, compile parameters, etc. &#60;/p&#62;
&#60;p&#62;I run on Ubuntu 18.04 and CUDA 10.1 without any problems (installed manually form Nvidia website).&#60;/p&#62;
&#60;p&#62;Best&#60;br /&#62;
Jiri
&#60;/p&#62;</description>
		</item>
		<item>
			<title>qjk on "Running on AWS Tesla instances"</title>
			<link>http://www.k-wave.org/forum/topic/running-on-aws-tesla-instances#post-6883</link>
			<pubDate>Fri, 14 Jun 2019 04:20:10 +0000</pubDate>
			<dc:creator>qjk</dc:creator>
			<guid isPermaLink="false">6883@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Solved the above problem by making an AWS instance with Ubuntu 19.04. The other one I had was 18.04 which is the version Amazon makes the most obvious. 19.04 &#34;Disco&#34; installs CUDA 10.1 with apt-get.&#60;/p&#62;
&#60;p&#62;All is well in V100 land now. Considerably faster than K80.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>qjk on "Running on AWS Tesla instances"</title>
			<link>http://www.k-wave.org/forum/topic/running-on-aws-tesla-instances#post-6882</link>
			<pubDate>Fri, 14 Jun 2019 01:55:28 +0000</pubDate>
			<dc:creator>qjk</dc:creator>
			<guid isPermaLink="false">6882@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;I was able to get the:&#60;/p&#62;
&#60;p&#62;(.text+0x618): undefined reference to `aec_buffer_decode'&#60;/p&#62;
&#60;p&#62;error to go away by adding $(SZIP_DIR)/libaec.a to the definition of the LIBS variable. Now the linker completes.&#60;/p&#62;
&#60;p&#62;I added the --generate-code arch=... lines to the Makefile. Now when I try to run I am back to &#34;Error: All CUDA-capable devices are busy or unavailable.&#34;&#60;/p&#62;
&#60;p&#62;This could be due to building on a K80 instance with nvcc v9.1. I need to sort out which version of CUDA runs on which hardware. apt-get doesn't seem to want to give me a newer CUDA installation and I'd prefer to use that rather than getting an installation directly from Nvidia since it deals with dependencies.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>qjk on "Running on AWS Tesla instances"</title>
			<link>http://www.k-wave.org/forum/topic/running-on-aws-tesla-instances#post-6877</link>
			<pubDate>Sat, 08 Jun 2019 16:09:42 +0000</pubDate>
			<dc:creator>qjk</dc:creator>
			<guid isPermaLink="false">6877@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Thanks Andrew,&#60;/p&#62;
&#60;p&#62;Understood that the error I am getting must be connected to the compression libraries. I tried to apt-get every package that might be relevant to sz2 and zlib, but without success.&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
		</item>
		<item>
			<title>andrewFrizado on "Running on AWS Tesla instances"</title>
			<link>http://www.k-wave.org/forum/topic/running-on-aws-tesla-instances#post-6875</link>
			<pubDate>Thu, 06 Jun 2019 15:12:07 +0000</pubDate>
			<dc:creator>andrewFrizado</dc:creator>
			<guid isPermaLink="false">6875@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Thanks Jiri, I have got kWave running on Turing RTX 2080 Ti thanks to this. I had to also download the szip and zlib library dependancies and add them to the path in the makefile, plus removed &#60;/p&#62;
&#60;p&#62;--generate-code arch=compute_20 ...&#60;br /&#62;
--generate-code arch=compute_21...&#60;/p&#62;
&#60;p&#62;as there was no support in CUDA 10.1 for these architectures (or, at least, that was the error that was the error reported upon compilation)&#60;/p&#62;
&#60;p&#62;qjk - your error may be associated with not having the full szip and zlib library dependancies - just a guess though
&#60;/p&#62;</description>
		</item>
		<item>
			<title>qjk on "Running on AWS Tesla instances"</title>
			<link>http://www.k-wave.org/forum/topic/running-on-aws-tesla-instances#post-6857</link>
			<pubDate>Wed, 22 May 2019 01:54:01 +0000</pubDate>
			<dc:creator>qjk</dc:creator>
			<guid isPermaLink="false">6857@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;I finally got round to trying to build from the latest sources on ubuntu 18.04 using LINKING=SEMI. I was able to compile everything but the linker found an undefined reference to 'aec_buffer_encode' (see below). I did &#34;grep -r&#34; in the source to locate this function but did not find it. &#60;/p&#62;
&#60;p&#62;Is it saying that the object file sz_compat.o inside the archive libsz.a calls a function 'aec_buffer_encode' which is not found? The same issue happens if I say LINKING=STATIC.&#60;/p&#62;
&#60;p&#62;This is still on the K80 system. I wanted to learn how to compile before going to the V100.&#60;/p&#62;
&#60;p&#62;Chris&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;nvcc -Xcompiler=&#38;quot;-fopenmp&#38;quot; -Xlinker=&#38;quot;-rpath,/usr/lib/x86_64-linux-gnu/hdf5/serial/lib:/lib64:.&#38;quot; -std=c++11 -L/usr/lib/x86_64-linux-gnu/hdf5/serial/lib  -L/lib64  --generate-code arch=compute_60,code=sm_60 --generate-code arch=compute_61,code=sm_61 --generate-code arch=compute_62,code=sm_62 --generate-code arch=compute_70,code=sm_70 --generate-code arch=compute_72,code=sm_72  main.o                 \
        Containers/MatrixContainer.o             \
        Containers/MatrixRecord.o                \
        Containers/OutputStreamContainer.o       \
        Hdf5/Hdf5File.o                          \
        Hdf5/Hdf5FileHeader.o                    \
        KSpaceSolver/KSpaceFirstOrder3DSolver.o  \
        KSpaceSolver/SolverCudaKernels.o         \
        Logger/Logger.o                          \
        MatrixClasses/BaseFloatMatrix.o          \
        MatrixClasses/BaseIndexMatrix.o          \
        MatrixClasses/CufftComplexMatrix.o       \
        MatrixClasses/ComplexMatrix.o            \
        MatrixClasses/IndexMatrix.o              \
        MatrixClasses/RealMatrix.o               \
        OutputStreams/BaseOutputStream.o         \
        OutputStreams/IndexOutputStream.o        \
        OutputStreams/CuboidOutputStream.o       \
        OutputStreams/WholeDomainOutputStream.o  \
        OutputStreams/OutputStreamsCudaKernels.o \
        Parameters/CommandLineParameters.o       \
        Parameters/Parameters.o                  \
        Parameters/CudaParameters.o              \
        Parameters/CudaDeviceConstants.o         \
        /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5_hl.a /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.a /usr/lib/x86_64-linux-gnu/libz.a /usr/lib/x86_64-linux-gnu/libsz.a -lcufft -ldl                                       \
        -o kspaceFirstOrder3D-CUDA
/usr/lib/x86_64-linux-gnu/libsz.a(sz_compat.o): In function&#60;/code&#62;&#60;/pre&#62;
SZ_BufftoBuffCompress':&#60;br /&#62;
(.text+0x149): undefined reference to `aec_buffer_encode'&#60;br /&#62;
(.text+0x339): undefined reference to `aec_buffer_encode'&#60;br /&#62;
/usr/lib/x86_64-linux-gnu/libsz.a(sz_compat.o): In function `SZ_BufftoBuffDecompress':&#60;br /&#62;
(.text+0x51a): undefined reference to `aec_buffer_decode'&#60;br /&#62;
(.text+0x618): undefined reference to `aec_buffer_decode'&#60;br /&#62;
collect2: error: ld returned 1 exit status&#60;br /&#62;
Makefile:174: recipe for target 'kspaceFirstOrder3D-CUDA' failed&#60;br /&#62;
make: *** [kspaceFirstOrder3D-CUDA] Error 1`
&#60;/p&#62;</description>
		</item>
		<item>
			<title>qjk on "Running on AWS Tesla instances"</title>
			<link>http://www.k-wave.org/forum/topic/running-on-aws-tesla-instances#post-6825</link>
			<pubDate>Sat, 06 Apr 2019 18:19:08 +0000</pubDate>
			<dc:creator>qjk</dc:creator>
			<guid isPermaLink="false">6825@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Thank you for explaining the solution!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>DLam on "Running on AWS Tesla instances"</title>
			<link>http://www.k-wave.org/forum/topic/running-on-aws-tesla-instances#post-6824</link>
			<pubDate>Fri, 05 Apr 2019 15:20:07 +0000</pubDate>
			<dc:creator>DLam</dc:creator>
			<guid isPermaLink="false">6824@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Thanks, worked for me!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jiri Jaros on "Running on AWS Tesla instances"</title>
			<link>http://www.k-wave.org/forum/topic/running-on-aws-tesla-instances#post-6822</link>
			<pubDate>Thu, 04 Apr 2019 13:37:52 +0000</pubDate>
			<dc:creator>Jiri Jaros</dc:creator>
			<guid isPermaLink="false">6822@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Chris,&#60;br /&#62;
the binary, you probably have, was compiled with CUDA 8.0 and there was no support for V100 by that time. &#60;/p&#62;
&#60;p&#62;Please download the source codes and recompile the binary with CUDA 10.1. In order to add support for Pascal, Volta and Turing GPUs, you also have to modify the makefile.&#60;br /&#62;
Just simply add these lines below the similar ones:&#60;/p&#62;
&#60;p&#62;--generate-code arch=compute_60,code=sm_60 \&#60;br /&#62;
--generate-code arch=compute_61,code=sm_61 \&#60;br /&#62;
--generate-code arch=compute_62,code=sm_62 \&#60;br /&#62;
--generate-code arch=compute_70,code=sm_70 \&#60;br /&#62;
--generate-code arch=compute_72,code=sm_72 \&#60;br /&#62;
--generate-code arch=compute_75,code=sm_75 \
&#60;/p&#62;</description>
		</item>
		<item>
			<title>qjk on "Running on AWS Tesla instances"</title>
			<link>http://www.k-wave.org/forum/topic/running-on-aws-tesla-instances#post-6815</link>
			<pubDate>Sat, 30 Mar 2019 05:51:26 +0000</pubDate>
			<dc:creator>qjk</dc:creator>
			<guid isPermaLink="false">6815@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I have been attempting to use k-wave on AWS. I was able to get it running on an instance with a K80 Tesla card. Then I tried a V100 instance, using the V390 Nvidia driver on Ubuntu 18.04. I received the error:&#60;/p&#62;
&#60;p&#62;&#34;Error: All CUDA-capable devices are busy or unavailable&#34;&#60;/p&#62;
&#60;p&#62;The AWS instance which gave this error is a p3.2xlarge which has an 8-core Xeon CPU and a single V100 Tesla card.&#60;/p&#62;
&#60;p&#62;What am I doing wrong here?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Chris
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
