Andreas is very kind,he told me i use a wrong compiler,so what should I do to 
use the right one ? how should I set a siteconf.py to make this process finish? 
Could you offer me some help? thank you so much.


On 03/28/2017 12:42,<pycuda-requ...@tiker.net> wrote:
Send PyCUDA mailing list submissions to
  pycuda@tiker.net

To subscribe or unsubscribe via the World Wide Web, visit
  https://lists.tiker.net/listinfo/pycuda
or, via email, send a message with subject or body 'help' to
  pycuda-requ...@tiker.net

You can reach the person managing the list at
  pycuda-ow...@tiker.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of PyCUDA digest..."


Today's Topics:

   1. Pycuda install: gcc: error: /EHsc: No such file or directory
      (张鲁宁)


----------------------------------------------------------------------

Message: 1
Date: Tue, 28 Mar 2017 12:42:43 +0800 (GMT+08:00)
From: 张鲁宁 <zhang.lun...@163.com>
To: pycuda <pycuda@tiker.net>
Subject: [PyCUDA] Pycuda install: gcc: error: /EHsc: No such file or
  directory
Message-ID: <308ed735.36ae.15b133923f2.coremail.zhang.lun...@163.com>
Content-Type: text/plain; charset="utf-8"

Hello!
     Excuse me,I have met an error when i was installing the pycuda , i tried 
many times but it didnt work,i already have compiled boost(by visual studio 
2010), and installed the cuda 8.0 .Here is the error traceback and my 
siteconf.py.



C:\Users\Administrator\Desktop\work\pycuda-master>python setup.py install
---------------------------------------------------------------------------
The shipped Boost library was not found, but USE_SHIPPED_BOOST is True.
(The files should be under bpl-subset/bpl_subset/.)
---------------------------------------------------------------------------
If you got this package from git, you probably want to do


 $ git submodule update --init


to fetch what you are presently missing. If you got this from
a distributed package on the net, that package is broken and
should be fixed. For now, I will turn off 'USE_SHIPPED_BOOST'
to try and see if the build succeeds that way, but in the long
run you might want to either get the missing bits or turn
'USE_SHIPPED_BOOST' off.
---------------------------------------------------------------------------
Continuing in 1 seconds...
running install
running bdist_egg
running egg_info
writing requirements to pycuda.egg-info\requires.txt
writing pycuda.egg-info\PKG-INFO
writing top-level names to pycuda.egg-info\top_level.txt
writing dependency_links to pycuda.egg-info\dependency_links.txt
package init file 'pycuda\compyte\__init__.py' not found (or not a regular file)


reading manifest file 'pycuda.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'doc\source\_static\*.css'
warning: no files found matching 'doc\source\_templates\*.html'
warning: no files found matching '*.h' under directory 'bpl-subset\bpl_subset\bo
ost'
warning: no files found matching '*.hpp' under directory 'bpl-subset\bpl_subset\
boost'
warning: no files found matching '*.cpp' under directory 'bpl-subset\bpl_subset\
boost'
warning: no files found matching '*.html' under directory 'bpl-subset\bpl_subset
\boost'
warning: no files found matching '*.inl' under directory 'bpl-subset\bpl_subset\
boost'
warning: no files found matching '*.ipp' under directory 'bpl-subset\bpl_subset\
boost'
warning: no files found matching '*.pl' under directory 'bpl-subset\bpl_subset\b
oost'
warning: no files found matching '*.txt' under directory 'bpl-subset\bpl_subset\
boost'
warning: no files found matching '*.h' under directory 'bpl-subset\bpl_subset\li
bs'
warning: no files found matching '*.hpp' under directory 'bpl-subset\bpl_subset\
libs'
warning: no files found matching '*.cpp' under directory 'bpl-subset\bpl_subset\
libs'
warning: no files found matching '*.html' under directory 'bpl-subset\bpl_subset
\libs'
warning: no files found matching '*.inl' under directory 'bpl-subset\bpl_subset\
libs'
warning: no files found matching '*.ipp' under directory 'bpl-subset\bpl_subset\
libs'
warning: no files found matching '*.pl' under directory 'bpl-subset\bpl_subset\l
ibs'
warning: no files found matching '*.txt' under directory 'bpl-subset\bpl_subset\
libs'
writing manifest file 'pycuda.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
running build_ext
building '_driver' extension
C:\ProgramData\Anaconda2\Scripts\gcc.bat -DMS_WIN64 -mdll -O -Wall -DPYGPU_PYCUD
A=1 -DPYGPU_PACKAGE=pycuda -DHAVE_CURAND=1 -Isrc/cpp -IE:\boost_1_63_0 "-IC:\Pro
gram Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -IC:\ProgramData\Anac
onda2\lib\site-packages\numpy\core\include -IC:\ProgramData\Anaconda2\include -I
C:\ProgramData\Anaconda2\PC -c src/cpp/cuda.cpp -o build\temp.win-amd64-2.7\Rele
ase\src\cpp\cuda.o /EHsc
gcc.exe: error: /EHsc: No such file or directory
error: command 'C:\\ProgramData\\Anaconda2\\Scripts\\gcc.bat' failed with exit s
tatus 1


BOOST_INC_DIR = [r'E:\boost_1_63_0']
BOOST_LIB_DIR = [r'E:\boost_1_63_0\stage\lib']
BOOST_COMPILER = 'msvc'
BOOST_PYTHON_LIBNAME = ['libboost_python-vc100-mt-1_63']
BOOST_THREAD_LIBNAME = ['libboost_thread-vc100-mt-1_63']
CUDA_TRACE = False
CUDA_ENABLE_GL = False
CUDADRV_LIB_DIR = ['C:\Program Files\NVIDIA GPU Computing 
Toolkit\CUDA\v8.0\lib\x64']
CUDADRV_LIBNAME = ['cuda']
CXXFLAGS = ['/EHsc']
LDFLAGS = ['/FORCE']

Could you offer me some help? I am a rookie in this area, Thank you advance😊.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.tiker.net/pipermail/pycuda/attachments/20170328/4a372b1b/attachment.html>

------------------------------

Subject: Digest Footer

_______________________________________________
PyCUDA mailing list
PyCUDA@tiker.net
https://lists.tiker.net/listinfo/pycuda


------------------------------

End of PyCUDA Digest, Vol 103, Issue 2
**************************************
_______________________________________________
PyCUDA mailing list
PyCUDA@tiker.net
https://lists.tiker.net/listinfo/pycuda

Reply via email to