Question on bool2

Message boards : Number crunching : Question on bool2
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Zalster Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 27 May 99
Posts: 5517
Credit: 528,817,460
RAC: 242
United States
Message 1696316 - Posted: 28 Jun 2015, 2:49:37 UTC

I only ask this as I've never edit this particular part before.

For my example, I using my computer with the 980s

When I look for files with the .cl ending I find 4 Astropulse_Kernels_rXXXX.cl

There are also 2 Astropulse_Kernels_rXXXX.cl_GeForceGTX980.bin_V7_Twin_FFA_XXXXX

Last instructions regarding any NV which contains OpenCL 1.2 is to modify bool2 to bool_2

I'm going to assume that what was meant was we pick the Kernel with the current Ap v7XX app number (for this example it's 2737) in which to modify. This is correct?

So we modify all bool2 so they now read bool_2?

What do we do with Astropulse_Kernels_rXXXX.cl_GeForceGTX980.bin_V7_Twin_FFA_XXXXX?
Do we delete that and allow the kernel to rebuild?

I ask this as I don't know anyone other that you guys that say they have done it, but you haven't outline steps for the rest of us to do it. I'm not a programmer so I'm fly by the seat of my pants here.

Once we do this, is there no longer a need to download Raistmer's Dropbox fix?

Because if this does take the place of Raistmer's fix, then next question would be.
After I replace all the bool2 to bool_2 can I copy this file to a flashdrive and move it to different computers to just copy and paste to those .cl files?

If that is so, then once we have a working file, we can post one here for everyone just to copy and paste into that .cl file?

Raistmer does your .cl in your file already contain these corrections or do we also have to do a search in your version as well. If your version is correct, couldn't we just copy your .cl and use it to replace the others?

I think this is why some people are hesitant to play around with these files. Let me know, I'm not going to do anything until I have a better understanding of what to do.

Thanks, sorry this was so long

Zalster
ID: 1696316 · Report as offensive
Profile Cactus Bob
Avatar

Send message
Joined: 19 May 99
Posts: 209
Credit: 10,924,287
RAC: 29
Canada
Message 1696337 - Posted: 28 Jun 2015, 5:14:11 UTC

Zalistar

+1

Good questions. I don't think it applies to me with my AMD/ATI R9 280X GPU. I know I do CL with this GPU but after that I am lost.

If I need to adjust my GPU setting for my R9 280 to get a decent boost then I am all for it, Just give me some instruction, step by step on what to do.

Didn't mean to hijack your topic Zal if we are apple & oranges but I loved your post.

Bob
Sometimes I wonder, what happened to all the people I gave directions to?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SETI@home classic workunits 4,321
SETI@home classic CPU time 22,169 hours
ID: 1696337 · Report as offensive
WezH
Volunteer tester

Send message
Joined: 19 Aug 99
Posts: 576
Credit: 67,033,957
RAC: 95
Finland
Message 1696347 - Posted: 28 Jun 2015, 5:49:19 UTC

I did only edit Astropulse_Kernels_rXXXX.cl -file, didn't do anything to other files, and it works.
ID: 1696347 · Report as offensive
qbit
Volunteer tester
Avatar

Send message
Joined: 19 Sep 04
Posts: 630
Credit: 6,868,528
RAC: 0
Austria
Message 1696363 - Posted: 28 Jun 2015, 6:42:14 UTC

I just used Raistmers fix, didn't edit any of those files, so I guess it's already done there.
ID: 1696363 · Report as offensive
Rasputin42
Volunteer tester

Send message
Joined: 25 Jul 08
Posts: 412
Credit: 5,834,661
RAC: 0
United States
Message 1696370 - Posted: 28 Jun 2015, 7:22:03 UTC - in response to Message 1696363.  

Where can i find that?
ID: 1696370 · Report as offensive
qbit
Volunteer tester
Avatar

Send message
Joined: 19 Sep 04
Posts: 630
Credit: 6,868,528
RAC: 0
Austria
Message 1696375 - Posted: 28 Jun 2015, 7:54:11 UTC - in response to Message 1696370.  

ID: 1696375 · Report as offensive
Rasputin42
Volunteer tester

Send message
Joined: 25 Jul 08
Posts: 412
Credit: 5,834,661
RAC: 0
United States
Message 1696376 - Posted: 28 Jun 2015, 8:06:25 UTC

Thanks, NX-01!
ID: 1696376 · Report as offensive
Profile Raistmer
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 16 Jun 01
Posts: 6325
Credit: 106,370,077
RAC: 121
Russia
Message 1696403 - Posted: 28 Jun 2015, 10:32:57 UTC - in response to Message 1696316.  
Last modified: 28 Jun 2015, 10:34:38 UTC


I'm going to assume that what was meant was we pick the Kernel with the current Ap v7XX app number (for this example it's 2737) in which to modify. This is correct?

Yes, revision number of executable (exe) binary should correspond revision number of CL file.

So we modify all bool2 so they now read bool_2?

yes.


What do we do with Astropulse_Kernels_rXXXX.cl_GeForceGTX980.bin_V7_Twin_FFA_XXXXX?
Do we delete that and allow the kernel to rebuild?

In general - nothing. They can be deleted, they can be leaved as is.
The point is: if you have these files for revision you use currently - you do not affected bool2 issue at all. Most probably files you see have older rev numbers and can be deleted just to keep folder clean.


Once we do this, is there no longer a need to download Raistmer's Dropbox fix?

Well, usually if rev numbers differ big enough they have more than one change. So most right way still to get full new app package.That you called "fix".
But for those who don't want to do this to change CL file should be enough for they current revision continues to work.


After I replace all the bool2 to bool_2 can I copy this file to a flashdrive and move it to different computers to just copy and paste to those .cl files?

if rev numbers the same -yes. CL files of same rev are identical.


If that is so, then once we have a working file, we can post one here for everyone just to copy and paste into that .cl file?

LoL. Technically yes. But to post whole file - no.
1) it's long enough.
2) it's copyrighted work and I don't like to have it "fixed" in such way. It should be distributed along with whole package and all copyright notices it contains. And to post only part of it actually no better than to replace few bool2 occurencies via notepad.


Raistmer does your .cl in your file already contain these corrections or do we also have to do a search in your version as well. If your version is correct, couldn't we just copy your .cl and use it to replace the others?

Of course yes. For what reason I would offer not fixed file knowing about issue ??
But apparently it has different rev number from any CL file inmstalled before the fix. Also, depending of installed CL file, it can have other differencies so such way you propose not supported too. It may work and if rev number differ not too big will work in most cases but not in all.
ID: 1696403 · Report as offensive
Profile Zalster Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 27 May 99
Posts: 5517
Credit: 528,817,460
RAC: 242
United States
Message 1696437 - Posted: 28 Jun 2015, 13:35:13 UTC - in response to Message 1696403.  
Last modified: 28 Jun 2015, 13:36:30 UTC

Thanks Raistmer for your answers.

From this I get.

Your .cl has the corrections so no need to amend. It might or might not be able to be used for other versions but you don't recommend as there may be significant variations in length and description in other .cl text that correspond to the kernels.

If you have machines running prior versions of the AP app (not Raistmer's dropbox fix) and they are all the same kernel number (app number) then correction the .cl should allow them to work. Since they are all the same kernel version, you can copy the corrected .cl and move it to each of the other machines.

If they have different kernel versions, you can't move the .cl between machines.

As far as posting it here, 2 reasons. The first, which is mentioned above, each .cl might refer to different items in the kernel versions so it is not recommend to just copy and paste between different kernels.

#2 copyright issues (ah the lawyers...)

Ok, so if we want to correct the .cl we can, and thus not have to load Raistmer's fix.

Or we load Raistmer and then have to edit the app_info.xml to correspond to those additions.

Either way, you are going to have to learn to edit :( and the steps in which to make these corrections.

Zalster
ID: 1696437 · Report as offensive
Profile Raistmer
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 16 Jun 01
Posts: 6325
Credit: 106,370,077
RAC: 121
Russia
Message 1696504 - Posted: 28 Jun 2015, 17:40:02 UTC - in response to Message 1696437.  

Well, considerable efforts were made to get stock AstroPulse be updated fast enough to fix this issue.
So, stock users don't affected now. And for anonymous platform users it should be not SO hard. Cause they decided they more advanced to go anonymous platform some time ago ;)
Anyway, AFAIK corresponding Lunatics installer update on the way to help those who use anonymous platform only via that installer thing. If text editor usage fully unaccepted one can await that installer update. Anyway currently not too much AP tasks to cry about.
ID: 1696504 · Report as offensive
Profile Zalster Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 27 May 99
Posts: 5517
Credit: 528,817,460
RAC: 242
United States
Message 1696507 - Posted: 28 Jun 2015, 17:46:24 UTC - in response to Message 1696504.  

LOL, true very true... ;)
ID: 1696507 · Report as offensive

Message boards : Number crunching : Question on bool2


 
©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.