Which version of CUDA are you using, and which driver version is 
installed on the machine?

Oh, and which Core Client version?

Best,
Bernd

Francisco Sanz García wrote, On 15.10.2009 18:06 Uhr:
> Hello everibody.
>
> This is my first message to the list.
>
> I'm trying to develop a simple cuda application, the product of two
> matrices, it works fine in standalone mode, but when I
> try to run it following the instructions of
> http://boinc.berkeley.edu/trac/wiki/AppDebug, I obtain the following:
>
> ...
> ...
> <stderr_out>
> <![CDATA[
> <message>
> process exited with code 193 (0xc1, -63)
> </message>
> <stderr_txt>
> Hi, stderr.
> SIGSEGV: segmentation violation
> Stack trace (15 frames):
> hello_cuda(boinc_catch_signal+0x64)[0x805c954]
> [0xb7fa6400]
> /usr/lib/libcuda.so.1[0xb7b1f99b]
> /usr/lib/libcuda.so.1[0xb7b26791]
> /usr/lib/libcuda.so.1[0xb7af07ae]
> /usr/lib/libcuda.so.1[0xb7a941f3]
> /usr/lib/libcuda.so.1[0xb7aa8794]
> /usr/lib/libcuda.so.1[0xb7a8a675]
> /usr/lib/libcuda.so.1[0xb7a83992]
> /usr/lib/libcuda.so.1(cuCtxCreate+0x4f)[0xb7ae65bf]
> hello_cuda[0x80587aa]
> hello_cuda[0x80587d5]
> hello_cuda[0x804abbe]
> /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb788c775]
> hello_cuda[0x804a8f1]
>
> Exiting...
>
> </stderr_txt>
> ...
> ...
>
> I think that my client_state_save.xml is fine:
>
> <client_state>
>     <host_info>
>         <p_fpops>1e9</p_fpops>
>         <p_calculated>2e9</p_calculated>
>         <m_nbytes>2e9</m_nbytes>
>         <d_total>1e11</d_total>
>         <d_free>1e11</d_free>
>     </host_info>
>     <project>
>         <master_url>http://test.test</master_url>
>         <project_name>test_project</project_name>
>     </project>
>
>     <app>
>         <name>hello_cuda</name>
>         <user_friendly_name>hello_cuda</user_friendly_name>
>     </app>
>
>     <file_info>
>         <name>hello_cuda</name>
>         <executable/>
>         <status>1</status>
>     </file_info>
>     <file_info>
>         <name>input.txt</name>
>         <status>1</status>
>     </file_info>
>     <file_info>
>         <name>libcudart.so.2.3</name>
>         <executable/>
>     </file_info>
>
>     <file_info>
>         <name>output.txt</name>
>         <generated_locally/>
>         <upload_when_present/>
>         <max_nbytes>1e6</max_nbytes>
>     </file_info>
>     <app_version>
>         <app_name>hello_cuda</app_name>
>         <api_version>1.1</api_version>
>         <file_ref>
>             <file_name>hello_cuda</file_name>
>             <main_program/>
>         </file_ref>
>         <file_ref>
>             <file_name>libcudart.so.2.3</file_name>
>         </file_ref>
>         <coproc>
>             <type>CUDA</type>
>         </coproc>
>     </app_version>
>     <workunit>
>         <name>hello_cuda_wu</name>
>         <app_name>hello_cuda</app_name>
>         <command_line> --device 0 </command_line>
>         <file_ref>
>             <file_name>input.txt</file_name>
>             <open_name>in</open_name>
>         </file_ref>
>     </workunit>
>
>     <result>
>         <name>hello_cuda_result</name>
>         <wu_name>hello_cuda_wu</wu_name>
>         <state>2</state>
>         <report_deadline>2e9</report_deadline>
>         <file_ref>
>             <file_name>output.txt</file_name>
>             <open_name>out</open_name>
>         </file_ref>
>     </result>
>
>     <user_network_request>3</user_network_request>
>
> </client_state>
>
> Thanks.
> _______________________________________________
> boinc_dev mailing list
> [email protected]
> http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
> To unsubscribe, visit the above URL and
> (near bottom of page) enter your email address.
>   

_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to