Code Monkey home page Code Monkey logo

Comments (5)

eldakms avatar eldakms commented on May 24, 2024

Hi xqyd,

We could not reproduce this on our machine (also VS2013 update5, Win 8.1). It seems that the your environment is somehow broken (usually the 'size_t' problem indicates x86/64 bit problems).

Could you provide more information regarding your environment (compiler version, PATH)? Also if you go to the "Configuration Properties -> C/C++ -> General" of SequenceTrainingLib project, and change the "Supress Startup Banner" to "No", and try to rebuild, what is the output?

Thanks!

from cntk.

xqyd avatar xqyd commented on May 24, 2024

Hi eldakms,
I figured this out by find that the vs2010 and vs2013 has mixed c1.dll and c2.dll. After uninstall vs2010, the 'size_t' problem was gone!
And the SequenceTrainingLib can be build successfully.
However, I am still having difficulties in compiling the MathCUDA project, the error output is in the attached file. It said

"error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.0\bin\nvcc.exe" -gencode=arch=compute_20,code="compute_20,compute_20" --use-local-env --cl-version 2013 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64" -I..\Common\include\ -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.0\include" -lineinfo --keep-dir x64\Debug -maxrregcount=0 --machine 64 --compile -cudart static -Xcudafe "--diag_suppress=field_without_dll_interface" -g -use_fast_math -D_DEBUG -DNO_SYNC -DWIN32 -D_WINDOWS -D_USRDLL -DMATH_EXPORTS -DUSE_CUDNN -D_UNICODE -DUNICODE -Xcompiler "/EHsc /W4 /nologo /Od /Zi /RTC1 /MDd /WX" -o x64\Debug\MathCUDA\GPUTensor.cu.obj "D:\2015erdos\Install CNTK\CNTK-master\CNTK-master\Source\Math\GPUTensor.cu"" exited with code 2."

Any idea what's this for?
Thanks a lot!!!
Compiling errors_CUDA.txt

from cntk.

eldakms avatar eldakms commented on May 24, 2024

It seems you have some invalid characters in your Cuda installation (see the warning):
1>c:\program files\nvidia gpu computing toolkit\cuda\v7.0\include\math_functions.h : error C2220: warning treated as error - no 'object' file generated
1>c:\program files\nvidia gpu computing toolkit\cuda\v7.0\include\math_functions.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss

Thank you!

from cntk.

xqyd avatar xqyd commented on May 24, 2024

Hi eldakms,
Thanks for the hint. Although I did not touch the cuda installation, it is found that the system locale has to be English for CNTK. I was using Chinese locale for my Win8.1 before.

However, after changing the system locale, I've run into another problem that the xcopy does not work properly. And the reason is that it does not support long path, so after I copied the whole solution to the C:\CNTK-master, everything starts to work!!!

So here're the lessons I've learned in compiling CNTK under win8.1+vs2013 update 5:

  1. Set the system locale to English.
  2. Use short path to save the source code/solution files.
  3. Only VS2013 can work well with the CNTK, do not mix with other version of visual studios.

from cntk.

wolfma61 avatar wolfma61 commented on May 24, 2024

We will track this with issue #47

from cntk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.