BOINC@AUSTRALIA FORUM

Retired BOINC Projects => POEM@HOME => Topic started by: Razankar on June 21, 2012, 05:27:24 PM

Title: My cc_file
Post by: Razankar on June 21, 2012, 05:27:24 PM
First I would like to thank the people who have put code up and tried to explain who it works for those who don't understand namely me  :cry2: i have being looking for it for about a week, i have being crunching poem for awhile but have only just gotten the GPU part working, yay me.

anyway i would like to set my GPU to work on 2 wu it may be able to do 3 but for now 2 will do, anyway as i have said I am not a code person i don't get it, as i have read this thread i have some idea however i still don't get it.

I based my code on the code what was at the start of this thread and have tried make changes that will fit my needs, I'm expecting this to be a bad idea as i am expecting my changes to be wrong so could some one go over my code to correct my stuff up, thank you.

Now I'm trying to setup two threads on my GPU, i would rather have manel control over how many cores are working on the GPU threads but oner all it don't matter as long as it works I'll be happy, so yes i need 2 CPU cores working on the 2 GPU treads.

anyway my code.

<app_info>

   <app>
      <name>poemcl</name>
      <user_friendly_name>POEM++ OpenCL</user_friendly_name>
   </app>

   <file_info>
      <name>poemcl_1.0_windows_intelx86__opencl_ati_100</name>
      <executable/>
   </file_info>
   
   <app_version>
      <app_name>poemcl</app_name>
      <version_num>1</version_num>
      <plan_class>opencl_ati_100</plan_class>
      <avg_ncpus>0.75</avg_ncpus>
      <max_ncpus>1</max_ncpus>
      <flops>2.1e10</flops>
      <coproc>
         <type>ATI</type>
         <count>0.5</count>
      </coproc>
      <cmdline></cmdline>
      <file_ref>
         <file_name>poemcl_1.0_windows_intelx86__opencl_ati_100</file_name>
         <main_program/>
      </file_ref>
   </app_version>

</app_info>

thanks for looking.

Ashley
Title: Re: My cc_file
Post by: Dingo on June 23, 2012, 09:00:10 PM
I am no help to you at all as I do not use the files I just get the default.  I hope that someone else can assist you
Title: Re: My cc_file
Post by: LawryB on June 23, 2012, 10:28:38 PM
Hi Razankar (Ashley),  good to see you active on the board.  +1 for your post.

I am just putting together (putting back parts) my old PC just to run POEM.  I had it running 2 WUs per core previously but my app_info file is on the hard drive I can't access.

In the meantime could you let us know what sort of ATI card you are using and your CPU details (dual, quad etc cores).  Which version of BOINC are you using?

There are a few app_info files on the POEM forum that my give you a clue.

In your app_info file you might want to change <count>0.5</count> to <count>0.50</count>

I might be way off track but I seem to remember it needs the zero after the 5 (two numbers after the full stop)

fingers crossed.   I will get back to you in a couple of days unless some one else solves the problem.

Cheers

Lawry

EDIT:  Forget the 0.5 stuff above as I was right off track.

Try this

<app_info>

<app>
<name>poemcl</name>
<user_friendly_name>POEM++ OpenCL</user_friendly_name>
</app>

<file_info>
<name>poemcl_0.1_windows_intelx86__opencl_ati_100</name>
<executable/>
</file_info>

<app_version>
<app_name>poemcl</app_name>
<version_num>1</version_num>
<plan_class>opencl_ati_100</plan_class>
<avg_ncpus>1</avg_ncpus>
<max_ncpus>1</max_ncpus>
<flops>4.1e10</flops>
<coproc>
<type>ATI</type>
<count>0.5</count>
</coproc>
<cmdline></cmdline>
<file_ref>
<file_name>poemcl_0.1_windows_intelx86__opencl_ati_100</file_name>
<main_program/>
</file_ref>
</app_version>

</app_info>

just pinched it off the POEM forum.   Supposed to work giving 2 WUs per GPU.

Cheers again


Title: Re: My cc_file
Post by: tazzduke on June 24, 2012, 02:23:24 AM
Greetings Razankar

+1 Karma for your first post, hope you are crunching well.

With the recent updated binaries at POEM@HOME, I am using the following app_info.xml file that is successfully crunching tasks, note with OpenCL I have found that you need to reserve a cpu core per task you are doing on the GPU

   ie  on a quad core for example, if i was doing 2 tasks at one time on my GPU, I would set boinc option -  on multi processor systems use at most 50 percent



<app_info>

   <app>
      <name>poemcl</name>
      <user_friendly_name>POEM++ OpenCL</user_friendly_name>
   </app>

   <file_info>
      <name>poemcl_1.3_windows_intelx86__opencl_ati_100</name>
      <executable/>
   </file_info>
   
   <app_version>
      <app_name>poemcl</app_name>
      <version_num>1</version_num>
      <plan_class>opencl_ati_100</plan_class>
      <avg_ncpus>0.987</avg_ncpus>
      <max_ncpus>2</max_ncpus>
      <flops>2.1e10</flops>
      <coproc>
         <type>ATI</type>
         <count>0.5</count>
      </coproc>
      <cmdline></cmdline>
      <file_ref>
         <file_name>poemcl_1.3_windows_intelx86__opencl_ati_100</file_name>
         <main_program/>
      </file_ref>
   </app_version>

</app_info>



Hope this helps, any queries you know where to find us

Regards
Tazzduke
Title: Re: My cc_file
Post by: Razankar on June 25, 2012, 12:59:44 AM
thank you for all your replys, i have being crunching since 2006 I'm not sure when joined Boinc@Australia but it would be 2008/2009 i don't remember.

24/06/2012 5:21:17 PM |  | No config file found - using defaults
24/06/2012 5:21:17 PM |  | Starting BOINC client version 7.0.25 for windows_x86_64
24/06/2012 5:21:17 PM |  | log flags: file_xfer, sched_ops, task
24/06/2012 5:21:17 PM |  | Libraries: libcurl/7.21.6 OpenSSL/1.0.0d zlib/1.2.5
24/06/2012 5:21:17 PM |  | Data directory: C:\ProgramData\BOINC
24/06/2012 5:21:17 PM |  | Running under account Ashley
24/06/2012 5:21:17 PM |  | Processor: 6 AuthenticAMD AMD Phenom(tm) II X6 1090T Processor [Family 16 Model 10 Stepping 0]
24/06/2012 5:21:17 PM |  | Processor: 512.00 KB cache
24/06/2012 5:21:17 PM |  | Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 htt pni cx16 syscall nx lm svm sse4a osvw ibs skinit wdt page1gb rdtscp 3dnowext 3dnow
24/06/2012 5:21:17 PM |  | OS: Microsoft Windows 7: Home Premium x64 Edition, (06.01.7600.00)
24/06/2012 5:21:17 PM |  | Memory: 8.00 GB physical, 16.00 GB virtual
24/06/2012 5:21:17 PM |  | Disk: 465.66 GB total, 83.53 GB free
24/06/2012 5:21:17 PM |  | Local time is UTC +10 hours
24/06/2012 5:21:17 PM |  | NVIDIA GPU 0: GeForce 9800 GT (driver version 301.42, CUDA version 4.20, compute capability 1.1, 1024MB, 966MB available, 576 GFLOPS peak)
24/06/2012 5:21:17 PM |  | ATI GPU 0: Barts (CAL version 1.4.1720, 1024MB, 991MB available, 3302 GFLOPS peak)
24/06/2012 5:21:17 PM |  | OpenCL: NVIDIA GPU 0: GeForce 9800 GT (driver version 301.42, device version OpenCL 1.0 CUDA, 1024MB, 966MB available)
24/06/2012 5:21:17 PM |  | OpenCL: ATI GPU 0: Barts (driver version CAL 1.4.1720 (VM), device version OpenCL 1.2 AMD-APP (923.1), 1024MB, 991MB available)

This is my computer, just for fun i installed 9800gt its working on GPUGrid I think its going to take no sooner than a day to finish. oh yeah i just thought i would say that the ati card is the one crunching poem.

I'll have a look at your code tomorrow its to late now..........time for bed......

Ashley

Just a though I was expecting to have to put more code in that file so that it would recognize the 8900gt but it worked without it, i thought it was not able to do that??   :pcwhack:
Title: Re: My cc_file
Post by: Razankar on June 25, 2012, 12:42:16 PM
http://boinc.fzk.de/poem/forum_thread.php?id=758&nowrap=true#6349 (http://boinc.fzk.de/poem/forum_thread.php?id=758&nowrap=true#6349)

Can you guys have a look at the post I made over at poem forum and tell me what you think.

Ashley
Title: Re: My cc_file
Post by: Razankar on June 28, 2012, 03:34:47 PM
28/06/2012 3:20:43 PM |  | Re-reading cc_config.xml
28/06/2012 3:20:43 PM |  | No config file found - using defaults
28/06/2012 3:20:43 PM |  | log flags: file_xfer, sched_ops, task

I tried putting app_info.xml in however it seems to be looking for a cc_config.xml.

Yeah i can't see the poem folder so how do i un-hide it so i can paste the file in.

I did know to do this but i have forgotten how.

Ashley
Title: Re: My cc_file
Post by: JugNut on June 28, 2012, 07:12:17 PM
Hi Ashley, it goes in this folder "C:\ProgramData\BOINC\projects\boinc.fzk.de_poem".  It should not be hidden. Just copy & paste it in using windows explorer.

The default is in C:\ drive, it would be D:\  or E:\ if you installed Boinc on another drive or partition)

Stop Boinc & make sure it has stopped & not still running in the system tray by the clock or you can lose WU's (it has happened to me)

Also press CTRL-SHIFT-ESC keys in win7 or CTRL-ALT-DEL in XP to make sure it still not running in the processes tab, but hidden, with same possible results as above.

I've recently had to use the app_info file & optimized apps just to get my new GPU to run correctly. I'm still very much a learner at it but have been motivated lately to learn.

Hope any of this helps ..JN..
Title: Re: My cc_file
Post by: JugNut on June 28, 2012, 07:40:31 PM
Just a thought,

Did you download a copy of the app_info.xml file you wish to use? 

Or did you create the app_info.xml file in notepad using the suggestion from the other members in there above posts?

Just checking..
Title: Re: My cc_file
Post by: Razankar on June 29, 2012, 01:07:06 AM
The guides on the internet where not very helpful if you don't understand code so i asked for help in what i should put in it, so i tried the they suggested i don't know much about it but it may work, how ever the folder you are meant to put it in is hidden so un-hide you can't put it where meant to go.

I guess I'm going to have to look it up.

if you want why don't you give it a go, can't hurt but then i have herd of wu that crashed after it was put in.......... :cool:

I will give it a go later.

Ashley
Title: Re: My cc_file
Post by: JugNut on June 29, 2012, 01:49:59 AM
OK then this will un-hide system files & folders for you & let you see "C:\ProgramData\BOINC\projects\boinc.fzk.de_poem" folder. (where the app_info.xml file goes).

1. Open Windows explorer (double click computer)
2. Go to the menu heading that says "Organize". From that list select "Folder and search options"
3. In that box select "view" tab. Go down to the box that says "hidden files and folder" & change it from "Don't show.. " to "show hidden files & folders" by clicking the radio button. Also make sure the setting "Hide extensions for known file types" is UN-ticked,  then click on OK & your good to go.

Also you may also wish to change the setting in the same section only in the "general tab". Go to the "navigation plane" & click both boxes, then click OK.

These are one of the first things I do after an Windows install and forget it's not always like this.  But these changes are invaluable when navigating explorer. The Boinc folder from my first post should now be seen & all file extentions as well.

Cheers ..JN..

P.S If you can now see the folder but not be allowed access, you may need to be logged on as an administrator.
Title: Re: My cc_file
Post by: Razankar on June 29, 2012, 01:23:33 PM
Thank you I'm so lazy i could have looked that up, sorry for being such a bother.

Ashley

Second day of new anti-deprecent so anyway thank you.
Title: Re: My cc_file
Post by: Razankar on June 29, 2012, 01:48:11 PM
Ok i have unhide the files and folder and can now see everything, i have put the in the location you said and nothing, bonic has not said anything about the file at all, see.

29/06/2012 1:30:43 PM |  | No config file found - using defaults
29/06/2012 1:30:43 PM |  | Starting BOINC client version 7.0.25 for windows_x86_64
29/06/2012 1:30:43 PM |  | log flags: file_xfer, sched_ops, task
29/06/2012 1:30:43 PM |  | Libraries: libcurl/7.21.6 OpenSSL/1.0.0d zlib/1.2.5
29/06/2012 1:30:43 PM |  | Data directory: C:\ProgramData\BOINC
29/06/2012 1:30:43 PM |  | Running under account Ashley
29/06/2012 1:30:43 PM |  | Processor: 6 AuthenticAMD AMD Phenom(tm) II X6 1090T Processor [Family 16 Model 10 Stepping 0]
29/06/2012 1:30:43 PM |  | Processor: 512.00 KB cache
29/06/2012 1:30:43 PM |  | Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 htt pni cx16 syscall nx lm svm sse4a osvw ibs skinit wdt page1gb rdtscp 3dnowext 3dnow
29/06/2012 1:30:43 PM |  | OS: Microsoft Windows 7: Home Premium x64 Edition, (06.01.7600.00)
29/06/2012 1:30:43 PM |  | Memory: 8.00 GB physical, 16.00 GB virtual
29/06/2012 1:30:43 PM |  | Disk: 465.66 GB total, 65.72 GB free
29/06/2012 1:30:43 PM |  | Local time is UTC +10 hours
29/06/2012 1:30:43 PM |  | NVIDIA GPU 0: GeForce 9800 GT (driver version 301.42, CUDA version 4.20, compute capability 1.1, 1024MB, 966MB available, 576 GFLOPS peak)
29/06/2012 1:30:43 PM |  | ATI GPU 0: Barts (CAL version 1.4.1720, 1024MB, 991MB available, 3302 GFLOPS peak)
29/06/2012 1:30:43 PM |  | OpenCL: NVIDIA GPU 0: GeForce 9800 GT (driver version 301.42, device version OpenCL 1.0 CUDA, 1024MB, 966MB available)
29/06/2012 1:30:43 PM |  | OpenCL: ATI GPU 0: Barts (driver version CAL 1.4.1720 (VM), device version OpenCL 1.2 AMD-APP (923.1), 1024MB, 991MB available)


I told it to look for a config file and it said this.

29/06/2012 1:31:54 PM |  | Re-reading cc_config.xml
29/06/2012 1:31:54 PM |  | No config file found - using defaults
29/06/2012 1:31:54 PM |  | log flags: file_xfer, sched_ops, task
29/06/2012 1:32:04 PM | World Community Grid | General prefs: from World Community Grid (last modified 26-Jun-2012 13:32:40)


the only thing i have not tried is restarting windows.

Any ideas what i could be doing wrong.

Ashley
Title: Re: My cc_file
Post by: JugNut on June 29, 2012, 10:30:30 PM
It's no trouble Ashley.  There are other members light years ahead of me in all things Boinc, but I'll help if I can till smarter heads arrive again.

And don't worry about the med's i've had em' before some years ago an things evened out quickly.   Also I gave up smoking a few days ago after 30 years plus on the coffin nails.  I am taking something call champix.  It seems to help a bit but I still feel like an egg out of it's carton for the first time.

Your startup info should have a line something like....  "29/06/2012 8:51:46 PM | Poem@Home | Found app_info.xml;...."
It seems the app_info.xml file is not in the right place or correctly named or formatted.

Did you use the xml code from your first post?

The xml code from the sightly different versions from Tazz or Lawry in there above posts should work fine for you.  Testing may be required.   

You create the app_info.xml using notepad.  Just copy & paste the xml code into notepad & then click on save as.  You save it as "app_info.xml". Make sure it saves as ".xml" extension & not ".txt" extension.  Then copy the resulting file to the "boinc.fzk.de_poem" folder in C:\ProgramData mentioned & now un-hidden in my above post.  While Boinc is fully stopped of course.

If none of this helps i'm afraid i'm out of idea's for now.  Keep in touch.

Cheers & Good luck ..JN..
Title: Re: My cc_file
Post by: Razankar on June 30, 2012, 03:42:26 PM
Hey i got it working, i have more but I'm too tired to type it either way thank you for help in getting it working

Ashley

Title: Re: My cc_file
Post by: kashi on June 30, 2012, 06:10:01 PM
Hi Razankar, welcome to the forum and +1 for your first post.  :wavey2:

I'm late to the party because I've been visiting my mum every day in hospital for the last 2 weeks and haven't been on the forum.

Your card should handle 4 at a time which will be more efficient than only running 2 at once. So if you wish to try it later, copy and paste the below into Notepad:

<app_info>
<app>
<name>poemcl</name>
<user_friendly_name>POEM++ OpenCL</user_friendly_name>
</app>
<file_info>
<name>poemcl_1.3_windows_intelx86__opencl_ati_100</name>
<executable/>
</file_info>
<app_version>
<app_name>poemcl</app_name>
<version_num>103</version_num>
<plan_class>opencl_ati_100</plan_class>
<avg_ncpus>0.5</avg_ncpus>
<max_ncpus>2</max_ncpus>
<flops>2.1e10</flops>
<coproc>
<type>ATI</type>
<count>0.25</count>
</coproc>
<cmdline></cmdline>
<file_ref>
<file_name>poemcl_1.3_windows_intelx86__opencl_ati_100</file_name>
<main_program/>
</file_ref>
</app_version>
</app_info>

Save as app_info.xml. Make sure to click drop down box Save As type: and select All files (*) so that .txt is not appended to file name. Place this app_info.xml file in C:\ProgramData\BOINC\projects\boinc.fzk.de_poem folder.

Restart BOINC, you should see something like "Poem@Home | 30/06/2012 6:55:18 PM  | Found app_info.xml; using anonymous platform" in BOINC Manager Event Log.

Download some fresh WUs and go to town. Good luck and good crunching. :thumbsup:

This app_info.xml uses 2 CPU cores to support 4 GPU tasks.
Because your AMD Phenom CPU has 6 physical cores this should work OK. Once you have it working satisfactorily you may wish to experiment with allocating 3 CPU cores to support GPU processing and/or running 5 tasks at a time. The aim is to reduce average task time, which is achieved by maximising GPU load percentage and thus increasing efficiency. What you finally decide on depends on the performance of your hardware and your own preference.

The use of this app_info.xml will prevent your NVIDIA card downloading and processing POEM GPU tasks. It is better not to use it and the associated CPU resources for POEM GPU when you have an ATI card available in that box which is more efficient for POEM. You could perhaps use it for another less CPU intensive GPU project if you wished.

Unlike some other GPU projects, POEM OpenCL GPU uses a lot of CPU resources so the performance/efficiency directly relates to the quantity of CPU resources allocated. If you allocate no CPU resources the POEM GPU application may be extremely sluggish and in some cases may freeze. If you allocate all CPU resources, POEM GPU performance will be maximised. The compromise you select will depend on the level of support you wish to give to CPU projects. Because of the reliance on CPU and the large amount of data transferred, performance is also affected by CPU speed and system memory speed/latency.

POEM GPU application on ATI/AMD cards does this research up to 100-130 times faster than a CPU core, that's oodles of research work processed so it is worthwhile to give it a whirl now and again when electricity bill allows. As a side benefit the credit rate when processing multiple concurrent tasks, although not as high as some code cracking GPU applications, is quite generous for a biology type project.

I am currently on one of my POEM "binges", running 5 tasks at once on my HD 5870. This processes lots of POEM protein research every day, which grants about 500K credits. It requires 5 of my 8 hyperthreaded CPU cores though, so only 3 CPU cores are doing CPU projects. I could do a bit more POEM work by allocating all 8 cores to support POEM GPU but I still like to support some old and new CPU projects, even if it's only with 3 cores.
Title: Re: My cc_file
Post by: kashi on June 30, 2012, 06:23:54 PM
New pills eh, often takes a while to get used to them. Do not hesitate to seek professional advice if you feel very poorly on them. Sometimes they need to change the ones they give you or adjust the dosage. Some may have side effects and it is reassuring if you can receive a proper explanation of what is happening.

I didn't like them but pills helped me survive until a daily routine, hard physical work and singing purged the unnamed terror and reawakened joy. For me this required a stay at an ashram. I had lots of different ones for years, now I only have fish oil, aspirin and the occasional Coopers Pale Ale.  :jester:
Most of the time now I'm as happy as Larry which I never thought was possible years ago.

Here's a limerick I wrote 30 years ago about Melleril and my psychiatrist:

A clever young doctor named Bardon
Grew colourful pills in his garden
Though they make one seem sane
One still has to complain
It's difficult getting a hard on.

Believe it or not, one of the nurses didn't know what a hard on was and she was most embarrassed when another nurse told her. biggrin
Title: Re: My cc_file
Post by: JugNut on June 30, 2012, 07:20:11 PM
@Razankar: No worries Ashley, pleased to. 

For the hard stuff kashi's the man to see.

@Kashi: Good to see you back, hope your mum's doing OK.

Cheers & happy crunching ..JN..