亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
最近訪(fǎng)問(wèn)板塊 發(fā)新帖
查看: 4125 | 回復(fù): 4
打印 上一主題 下一主題

[C] CUDA on fedora 15 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2011-07-30 10:46 |只看該作者 |倒序?yàn)g覽
Hi! I came across some problems. I need to conduct parallel computing on CUDA. I input "uname -a"and read these:
"Linux BXSJC 2.6.38.8-35.fc15.i686 #1 SMP Wed Jul 6 14:46:26 UTC 2011 i686 i686 i386 GNU/Linux".
I use CUDAtoolkit 4.0. However, when I input:
cd /home/bxsjc/NVIDIA_GPU_Computing_SDK/C and "make -i ",the computer returns

    "/usr/local/cuda/include/host_config.h:82:2: error: #error — unsupported GNU version! gcc 4.5 and up are not supported!
    make[1]: [obj/i386/release/clock.cu.o] Error 1 (ignored)
    g++: error: obj/i386/release/clock.cu.o: No such file or directory
    make[1]: [../../bin/linux/release/clock] Error 1 (ignored)
    make[1]: Leaving directory `/home/bxsjc/NVIDIA_GPU_Computing_SDK/C/src/clock'
    Finished building all"
    I don't know how to tackle this problem. So I directly "cd /home/bxsjc/NVIDIA_GPU_Computing_SDK/C/bin/linux/release "and run those executable files. Some return passed while others return these:
    "[bxsjc@BXSJC release]$ ./simpleTextureDrv
    [simpleTextureDrv] starting...
    > Using CUDA Device [0]: GeForce G210M
    > GPU Device has SM 1.2 compute capability
    > findModulePath file not found: <simpleTexture_kernel.ptx>
    > findModulePath file not found: <simpleTexture_kernel.cubin>
    > findModulePath could not find <simpleTexture_kernel> ptx or cubin
    [simpleTextureDrv] test results...
    FAILED
    Press ENTER to exit..."
    So, could anyone help me? Any suggestions are appreciated!

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2011-07-30 11:37 |只看該作者
You should install gcc4.4,cuda doesn't support gcc4.5 or later.
If you both have gcc 4.4 and gcc4.5, you can edit
$(CUDA_HOME)/bin/nvcc.profile to ensure nvcc using gcc 4.4

論壇徽章:
0
3 [報(bào)告]
發(fā)表于 2011-07-30 12:02 |只看該作者
回復(fù) 2# gtkmm


Thank you! I have tried it before. However, when I edit the nvcc.profile and                                                      
cd NVIDIA_GPU_Computing_SDK/C/ \make ,it returned something like the following,
"make[1]: Entering directory `/home/Developer/NVIDIA_GPU_Computing_SDK/C/src/volumeRender'
/usr/bin/ld: cannot find -lGLU
/usr/bin/ld: cannot find -lX11
/usr/bin/ld: cannot find -lXi
/usr/bin/ld: cannot find -lXmu
/usr/bin/ld: cannot find -lglut
collect2: ld returned 1 exit status
make[1]: *** [../../bin/linux/release/volumeRender] Error 1
make[1]: Leaving directory `/home/Developer/NVIDIA_GPU_Computing_SDK/C/src/volumeRender'
make: *** [src/volumeRender/Makefile.ph_build] Error 2"
I guess my gcc34 was not set as the default version and the lib was not connected to gcc34. So how could I tackle this problem? Thank you!

論壇徽章:
0
4 [報(bào)告]
發(fā)表于 2011-07-30 12:34 |只看該作者
You can ignore  these errors if you only work with mathematics problems.

論壇徽章:
0
5 [報(bào)告]
發(fā)表于 2011-07-30 15:15 |只看該作者
回復(fù) 4# gtkmm


    Thank you!
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專(zhuān)區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過(guò)ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP