Start using CUDA in Ubuntu Linux 9.0.4 - how?

Message boards : Number crunching : Start using CUDA in Ubuntu Linux 9.0.4 - how?
Message board moderation

To post messages, you must log in.

Previous · 1 · 2

AuthorMessage
DeMus
Avatar

Send message
Joined: 5 Jan 08
Posts: 238
Credit: 1,765,862
RAC: 0
Netherlands
Message 893451 - Posted: 10 May 2009, 17:39:27 UTC - in response to Message 893445.  

Am I sure I use the optimized version? When you ask me like that, I have to say No.

I have an app_info.xml file in the Seti project folder and it says this:

<app_info>
<app>
<name>setiathome_enhanced</name>
</app>
<file_info>
<name>AK_V8_linux64_ssse3</name>
<executable/>
</file_info>
<app_version>
<app_name>setiathome_enhanced</app_name>
<version_num>603</version_num>
<file_ref>
<file_name>AK_V8_linux64_ssse3</file_name>
<main_program/>
</file_ref>
</app_version>
<app>
<name>astropulse</name>
</app>
<file_info>
<name>ap500-i686-pc-linux-gnu-sse3-r103</name>
<executable/>
</file_info>
<app_version>
<app_name>astropulse</app_name>
<version_num>500</version_num>
<file_ref>
<file_name>ap500-i686-pc-linux-gnu-sse3-r103</file_name>
<main_program/>
</file_ref>
</app_version>
<app>
<name>astropulse_v5</name>
</app>
<file_info>
<name>ap503-x86_64-pc-linux-gnu-sse3-r112</name>
<executable/>
</file_info>
<app_version>
<app_name>astropulse_v5</app_name>
<version_num>503</version_num>
<file_ref>
<file_name>ap503-x86_64-pc-linux-gnu-sse3-r112</file_name>
<main_program/>
</file_ref>
</app_version>
</app_info>

In the manager I see a message:
Thu 07 May 2009 08:52:50 PM CEST SETI@home Starting task ap_01mr09aa_B3_P0_00300_20090507_09251.wu_1 using astropulse_v5 version 503

It looks to me it is using the optimized version, but still I am not sure when you tell me the normal for a computer like mine should be less than 20 hours. My pc does it in around 60. What is going on here?
The WU's started with 185 hours, going rapidly down.
Is 60 hours the normal time for a not optimized version?

______
DeMus


ID: 893451 · Report as offensive
Urs Echternacht
Volunteer tester
Avatar

Send message
Joined: 15 May 99
Posts: 692
Credit: 135,197,781
RAC: 211
Germany
Message 893475 - Posted: 10 May 2009, 19:15:10 UTC - in response to Message 893451.  
Last modified: 10 May 2009, 19:16:32 UTC

DeMus,
do you have a program called "systemmonitor" installed on your Jaunty ? It will show you the names of all running programs (possible shortcut : Ctrl/Strg+Esc).
If not open a console window (also named "terminal" sometimes) and type at the command line "top" and when that program is running type "c".
Are the names of the running programs shown under "Command" exactly the names of the optimized applications in your app_info.xml and your projects/setiathome.berkeley.edu directory ?

To quit top type "q".
_\|/_
U r s
ID: 893475 · Report as offensive
DeMus
Avatar

Send message
Joined: 5 Jan 08
Posts: 238
Credit: 1,765,862
RAC: 0
Netherlands
Message 893580 - Posted: 11 May 2009, 4:26:13 UTC - in response to Message 893475.  

The names in the System monitor are:
astropulse_5.03_x86_64-pc-linux-gnu (4 processes, one for each core)

The filenames in the Seti projects folder are:

ap500-i686-pc-linux-gnu-sse3-r103
ap503-x86_64-pc-linux-gnu-sse3-r112

astropulse_5.03_x86_64-pc-linux-gnu

I get a feeling I am not using the right version, since the first 2 filenames I got from downloading the optimized version. The last one (ending with gnu) is the one mentioned in the system monitor.

How to change this?

______
DeMus


ID: 893580 · Report as offensive
Profile Virtual Boss*
Volunteer tester
Avatar

Send message
Joined: 4 May 08
Posts: 417
Credit: 6,440,287
RAC: 0
Australia
Message 893608 - Posted: 11 May 2009, 8:57:33 UTC - in response to Message 893580.  

Are you sure you are getting a line like this in your messages at startup

29/04/2009 8:07:51 PM|SETI@home|Found app_info.xml; using anonymous platform

If not, you will be crunching with standard apps.
ID: 893608 · Report as offensive
Urs Echternacht
Volunteer tester
Avatar

Send message
Joined: 15 May 99
Posts: 692
Credit: 135,197,781
RAC: 211
Germany
Message 893619 - Posted: 11 May 2009, 11:20:38 UTC - in response to Message 893580.  


astropulse_5.03_x86_64-pc-linux-gnu
...
How to change this?

Restart BOINC client and check that the line Virtual Boss mentioned is there.
_\|/_
U r s
ID: 893619 · Report as offensive
DeMus
Avatar

Send message
Joined: 5 Jan 08
Posts: 238
Credit: 1,765,862
RAC: 0
Netherlands
Message 893682 - Posted: 11 May 2009, 17:21:47 UTC - in response to Message 893619.  


astropulse_5.03_x86_64-pc-linux-gnu
...
How to change this?

Restart BOINC client and check that the line Virtual Boss mentioned is there.


No, I do not have the line mentioned in the messages in the manager as Virtual Boss asked.
You write I have to re-start the client. I have always started the run_manager file which starts boincmgr.

When I try to start the run_client file to start boinc, or try to start boinc immediately, nothing happens except I see a process called boinc running.

When I re-start the manager I do get the message now. But as soon as computation for Seti is restarted, it's all computation errors.
What is going on here? I can crunch using standard software, but the optimized versions don't work anymore.

Do I have to right optimized version for my computer?
I have an Intel Q6600 processor, running on an Asus P5K motherboard with 4GB ram memory and plenty of free harddisk space.
I do believe I have the right version but could somebody please check that for me to be absolutely sure? Thank you.

This must be the bug Urs is talking about, the one concerning the new Ubuntu release.

______
DeMus


ID: 893682 · Report as offensive
Urs Echternacht
Volunteer tester
Avatar

Send message
Joined: 15 May 99
Posts: 692
Credit: 135,197,781
RAC: 211
Germany
Message 893710 - Posted: 11 May 2009, 20:39:01 UTC - in response to Message 893682.  
Last modified: 11 May 2009, 20:40:12 UTC

No, this is the permission to execute a file called by BOINC are missing again issue.
At first make sure the process named "boinc" you did see in Systemmonitor is NOT running.
Then check the optimized application files, that came with the package(s) you downloaded, which you have copied from the "Files to Install" directory to your BOINCs "projects/setiathome.berkeley.edu" folder.
Do all of them have the executable flag set (the box checked) ?

According to the app_info.xml you did post earlier the filenames of that three files should be :
AK_V8_linux64_ssse3
ap500-i686-pc-linux-gnu-sse3-r103 (which is no longer necessary)
ap503-x86_64-pc-linux-gnu-sse3-r112

Are the executable flags now set ?

Then now you can start the BOINC client and afterwards the BOINC Manager.
Does it work correct now ?
Do you see the line Virtual Boss mentioned earlier ?
Still more of the immediate computation errors ?
_\|/_
U r s
ID: 893710 · Report as offensive
Profile arkayn
Volunteer tester
Avatar

Send message
Joined: 14 May 99
Posts: 4438
Credit: 55,006,323
RAC: 0
United States
Message 893759 - Posted: 11 May 2009, 23:46:12 UTC

I did just update my packages and removed the older AP app from there, I also checked the executable box before I archived them.


ID: 893759 · Report as offensive
DeMus
Avatar

Send message
Joined: 5 Jan 08
Posts: 238
Credit: 1,765,862
RAC: 0
Netherlands
Message 893837 - Posted: 12 May 2009, 3:34:03 UTC - in response to Message 893710.  

No, this is the permission to execute a file called by BOINC are missing again issue.
At first make sure the process named "boinc" you did see in Systemmonitor is NOT running.
Then check the optimized application files, that came with the package(s) you downloaded, which you have copied from the "Files to Install" directory to your BOINCs "projects/setiathome.berkeley.edu" folder.
Do all of them have the executable flag set (the box checked) ?

According to the app_info.xml you did post earlier the filenames of that three files should be :
AK_V8_linux64_ssse3
ap500-i686-pc-linux-gnu-sse3-r103 (which is no longer necessary)
ap503-x86_64-pc-linux-gnu-sse3-r112

Are the executable flags now set ?

Then now you can start the BOINC client and afterwards the BOINC Manager.
Does it work correct now ?
Do you see the line Virtual Boss mentioned earlier ?
Still more of the immediate computation errors ?


Urs, thank you so much for staying with me and helping me.

I now have the following lines in the mesages tab of the manager when starting the program:

Tue 12 May 2009 05:22:49 AM CEST Starting BOINC client version 6.6.20 for x86_64-pc-linux-gnu
Tue 12 May 2009 05:22:49 AM CEST This a development version of BOINC and may not function properly
Tue 12 May 2009 05:22:49 AM CEST log flags: task, file_xfer, sched_ops
Tue 12 May 2009 05:22:49 AM CEST Libraries: libcurl/7.18.0 OpenSSL/0.9.8g zlib/1.2.3.3 c-ares/1.5.1
Tue 12 May 2009 05:22:49 AM CEST Data directory: /home/jan/Downloads/BOINC
Tue 12 May 2009 05:22:49 AM CEST SETI@home Found app_info.xml; using anonymous platform
Tue 12 May 2009 05:22:49 AM CEST Processor: 4 GenuineIntel Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz [Family 6 Model 15 Stepping 11]
Tue 12 May 2009 05:22:49 AM CEST Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdc
Tue 12 May 2009 05:22:49 AM CEST OS: Linux: 2.6.28-11-generic
Tue 12 May 2009 05:22:49 AM CEST Memory: 3.81 GB physical, 0 bytes virtual
Tue 12 May 2009 05:22:49 AM CEST Disk: 412.61 GB total, 379.07 GB free
Tue 12 May 2009 05:22:49 AM CEST Local time is UTC +2 hours
Tue 12 May 2009 05:22:49 AM CEST CUDA device: GeForce 8500 GT (driver version 0, CUDA version 1.1, 255MB, est. 5GFLOPS)
Tue 12 May 2009 05:22:49 AM CEST Not using a proxy
Tue 12 May 2009 05:22:49 AM CEST rosetta@home URL: http://boinc.bakerlab.org/rosetta/; Computer ID: 1007887; location: (none); project prefs: default
Tue 12 May 2009 05:22:49 AM CEST SETI@home URL: http://setiathome.berkeley.edu/; Computer ID: 4593585; location: home; project prefs: default
Tue 12 May 2009 05:22:49 AM CEST Einstein@Home URL: http://einstein.phys.uwm.edu/; Computer ID: 1843724; location: (none); project prefs: default
Tue 12 May 2009 05:22:49 AM CEST rosetta@home General prefs: from rosetta@home (last modified 14-Feb-2009 07:45:51)
Tue 12 May 2009 05:22:49 AM CEST rosetta@home Host location: none
Tue 12 May 2009 05:22:49 AM CEST rosetta@home General prefs: using your defaults
Tue 12 May 2009 05:22:49 AM CEST Reading preferences override file
Tue 12 May 2009 05:22:49 AM CEST Preferences limit memory usage when active to 1949.83MB
Tue 12 May 2009 05:22:49 AM CEST Preferences limit memory usage when idle to 3509.69MB
Tue 12 May 2009 05:22:49 AM CEST Preferences limit disk usage to 5.00GB

In the seti projects folder I see this right now:

-rwxr-xr-x 1 jan jan 2439648 2008-05-31 01:43 AK_V8_linux64_ssse3
-rwxr-xr-x 1 jan jan 2982252 2009-01-24 14:51 ap500-i686-pc-linux-gnu-sse3-r103
-rwxr-xr-x 1 jan jan 2002480 2009-02-24 10:20 ap503-x86_64-pc-linux-gnu-sse3-r112
-rwxr-xr-x 1 jan jan 955 2009-04-02 19:25 app_info.xml
-rw-r--r-- 1 jan jan 52779 2009-05-12 05:13 arecibo_181.png
-rw-r--r-- 1 jan jan 2536 2009-05-12 05:13 sah_40.png
-rw-r--r-- 1 jan jan 25488 2009-05-12 05:13 sah_banner_290.png
-rw-r--r-- 1 jan jan 35399 2009-05-12 05:13 sah_ss_290.png
-rw-r--r-- 1 jan jan 71 2009-05-12 05:16 slideshow_setiathome_enhanced_00
-rw-r--r-- 1 jan jan 72 2009-05-12 05:16 slideshow_setiathome_enhanced_01
-rw-r--r-- 1 jan jan 75 2009-05-12 05:16 slideshow_setiathome_enhanced_02
-rw-r--r-- 1 jan jan 67 2009-05-12 05:16 stat_icon

I must have missed the part where it said all the files from the optimized version need the executable bit set, so I only set it for the app_info.xml file. Now all the files have the bit set.

I have to wait for work. I received the message I reached my daily quota of 5 units. In the preferences I did switch off the AP units. First I want to have the normal units which can be crunched in less than an hour, to see if it is working now.
When those work I can start using AP units as well.

Once again thank you very much for your patience and all your help.
I will report back when I receive new units.
______
DeMus


ID: 893837 · Report as offensive
Previous · 1 · 2

Message boards : Number crunching : Start using CUDA in Ubuntu Linux 9.0.4 - how?


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.