update lib path for conda

This commit is contained in:
Rutwik Choughule 2022-01-27 17:55:38 +05:30
parent 9d4c014f60
commit 805e60bdfc
4 changed files with 4 additions and 4 deletions

View File

@ -63,7 +63,7 @@
<Link> <Link>
<SubSystem>Console</SubSystem> <SubSystem>Console</SubSystem>
<AdditionalDependencies>cudart.lib;cudart_static.lib;msmpi.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)</AdditionalDependencies> <AdditionalDependencies>cudart.lib;cudart_static.lib;msmpi.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)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(CudaToolkitLibDir);$(CUDA_PATH)/lib$(LIBSIZE);$(MSMPI_LIB64);</AdditionalLibraryDirectories> <AdditionalLibraryDirectories>$(CudaToolkitLibDir);$(CUDA_PATH)/lib;$(CUDA_PATH)/lib$(LIBSIZE);$(MSMPI_LIB64);</AdditionalLibraryDirectories>
<OutputFile>$(OutDir)/simpleMPI.exe</OutputFile> <OutputFile>$(OutDir)/simpleMPI.exe</OutputFile>
</Link> </Link>
<CudaCompile> <CudaCompile>

View File

@ -59,7 +59,7 @@
<Link> <Link>
<SubSystem>Console</SubSystem> <SubSystem>Console</SubSystem>
<AdditionalDependencies>cudart.lib;cudart_static.lib;msmpi.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)</AdditionalDependencies> <AdditionalDependencies>cudart.lib;cudart_static.lib;msmpi.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)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(CudaToolkitLibDir);$(CUDA_PATH)/lib$(LIBSIZE);$(MSMPI_LIB64);</AdditionalLibraryDirectories> <AdditionalLibraryDirectories>$(CudaToolkitLibDir);$(CUDA_PATH)/lib;$(CUDA_PATH)/lib$(LIBSIZE);$(MSMPI_LIB64);</AdditionalLibraryDirectories>
<OutputFile>$(OutDir)/simpleMPI.exe</OutputFile> <OutputFile>$(OutDir)/simpleMPI.exe</OutputFile>
</Link> </Link>
<CudaCompile> <CudaCompile>

View File

@ -59,7 +59,7 @@
<Link> <Link>
<SubSystem>Console</SubSystem> <SubSystem>Console</SubSystem>
<AdditionalDependencies>cudart.lib;cudart_static.lib;msmpi.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)</AdditionalDependencies> <AdditionalDependencies>cudart.lib;cudart_static.lib;msmpi.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)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(CudaToolkitLibDir);$(CUDA_PATH)/lib$(LIBSIZE);$(MSMPI_LIB64);</AdditionalLibraryDirectories> <AdditionalLibraryDirectories>$(CudaToolkitLibDir);$(CUDA_PATH)/lib;$(CUDA_PATH)/lib$(LIBSIZE);$(MSMPI_LIB64);</AdditionalLibraryDirectories>
<OutputFile>$(OutDir)/simpleMPI.exe</OutputFile> <OutputFile>$(OutDir)/simpleMPI.exe</OutputFile>
</Link> </Link>
<CudaCompile> <CudaCompile>

View File

@ -417,7 +417,7 @@ LIBSIZE := 64
endif endif
endif endif
LIBRARIES += -L$(CUDA_PATH)/lib$(LIBSIZE) -ldl LIBRARIES += -L$(CUDA_PATH)/lib -L$(CUDA_PATH)/lib$(LIBSIZE) -ldl
ifeq ($(SAMPLE_ENABLED),0) ifeq ($(SAMPLE_ENABLED),0)
EXEC ?= @echo "[@]" EXEC ?= @echo "[@]"