Singlu CUDA MB instance can use only one GPU device.That is, you need run one copy with device 0 and second with device 1.Not both with device 0 and not single with two devices.
Quote from: Raistmer on 22 Mar 2009, 01:53:47 pmSinglu CUDA MB instance can use only one GPU device.That is, you need run one copy with device 0 and second with device 1.Not both with device 0 and not single with two devices.Thanks for your replyBut I don't know how to use two instence of MB cudaHow to write app_info.xml?
Any idea? I've got a dual-GPU GF9800 GX2 and I'm wondering if I can make it play nice ...
Quote from: Metod, S56RKO on 08 Jul 2009, 05:11:21 amAny idea? I've got a dual-GPU GF9800 GX2 and I'm wondering if I can make it play nice ...Have you tried it? What problems do you have?
I assume that you've setup everything correctly? Please check my posts carefully here and here. Do a ldd in your cuda app and post your xorg.conf and xorg.0.log.
$ ldd projects/setiathome.berkeley.edu/setiathome-CUDA-6.08.x86_64-pc-linux-gnu linux-vdso.so.1 => (0x00007fffe0193000) libcufft.so.2 => /usr/local/cuda/lib/libcufft.so.2 (0x00007f4fd1bd7000) libcudart.so.2 => /usr/local/cuda/lib/libcudart.so.2 (0x00007f4fd1997000) libcuda.so.1 => /usr/lib/libcuda.so.1 (0x00007f4fd14ca000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f4fd11bd000) libm.so.6 => /lib/libm.so.6 (0x00007f4fd0f38000) libpthread.so.0 => /lib/libpthread.so.0 (0x00007f4fd0d1c000) libc.so.6 => /lib/libc.so.6 (0x00007f4fd09aa000) libdl.so.2 => /lib/libdl.so.2 (0x00007f4fd07a6000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f4fd058e000) librt.so.1 => /lib/librt.so.1 (0x00007f4fd0386000) libz.so.1 => /lib/libz.so.1 (0x00007f4fd016e000) /lib64/ld-linux-x86-64.so.2 (0x00007f4fd1ef2000)$ ls -l /usr/local/cuda/lib/total 24536lrwxrwxrwx 1 root root 17 2009-07-06 14:41 libcublasemu.so -> libcublasemu.so.2lrwxrwxrwx 1 root root 19 2009-07-06 14:41 libcublasemu.so.2 -> libcublasemu.so.2.2-rwxr-xr-x 1 root root 4745456 2009-07-06 14:41 libcublasemu.so.2.2lrwxrwxrwx 1 root root 14 2009-07-06 14:41 libcublas.so -> libcublas.so.2lrwxrwxrwx 1 root root 16 2009-07-06 14:41 libcublas.so.2 -> libcublas.so.2.2-rwxr-xr-x 1 root root 18684568 2009-07-06 14:41 libcublas.so.2.2lrwxrwxrwx 1 root root 14 2009-07-06 14:41 libcudart.so -> libcudart.so.2lrwxrwxrwx 1 root root 16 2009-07-06 14:41 libcudart.so.2 -> libcudart.so.2.2-rwxr-xr-x 1 root root 261304 2009-07-06 14:41 libcudart.so.2.2lrwxrwxrwx 1 root root 16 2009-07-06 14:41 libcufftemu.so -> libcufftemu.so.2lrwxrwxrwx 1 root root 18 2009-07-06 14:41 libcufftemu.so.2 -> libcufftemu.so.2.2-rwxr-xr-x 1 root root 272896 2009-07-06 14:41 libcufftemu.so.2.2lrwxrwxrwx 1 root root 13 2009-07-06 14:41 libcufft.so -> libcufft.so.2lrwxrwxrwx 1 root root 15 2009-07-06 14:41 libcufft.so.2 -> libcufft.so.2.2-rwxr-xr-x 1 root root 1153304 2009-07-06 14:41 libcufft.so.2.2
The one that is running says: "Running (0.04 CPUs, 2 CUDA)" for the Status.
Your app_info.xml file is faulty.The fragment which readsCode: [Select]<coproc><type>CUDA</type><count>1</count></coproc>(probably near the bottom) needs to be like that - unchanged - even when you have two cards. It's the number of CUDA cards needed per task - and none of the applications need more than one per task yet.
<coproc><type>CUDA</type><count>1</count></coproc>
Quote from: Kunin on 15 Jul 2009, 09:07:17 amThe one that is running says: "Running (0.04 CPUs, 2 CUDA)" for the Status.Are you Joseph Monk at SETI?I just answered an identical question on the main board:QuoteYour app_info.xml file is faulty.The fragment which readsCode: [Select]<coproc><type>CUDA</type><count>1</count></coproc>(probably near the bottom) needs to be like that - unchanged - even when you have two cards. It's the number of CUDA cards needed per task - and none of the applications need more than one per task yet.