immediate 'computation error' after I change run as

Frank
Frank
Joined: 8 Sep 12
Posts: 3
Credit: 4814473
RAC: 0
Topic 196549

Hello,

On Win7, I changed the properties from the task manager to run the cuda thing with high priority.

It ran with no problem.

Next, I changed the cuda thing to run as adminstrator and I immediately get "computational error" for all the cuda things.

I tried uninstalling boinc and then reinstalling boinc and adding e@h.

The cuda thing immediately returns "computation error" on all the cuda projects.

Is there some way I can reset the whole Boinc thing to the fresh install permissions?

When I invoke the Win7 task manager, the cuda thing is not displayed and I can't reset the permissions back.

There were no cuda "computation errors" when I first installed Boinc for E@h. The cuda thing just worked as designed.

Jord
Joined: 26 Jan 05
Posts: 2952
Credit: 5893653
RAC: 0

immediate 'computation error' after I change run as

Right click on the Einstein CUDA app.
Properties.
Compatibility tab.
If there exists a check on "Run as administrator", remove it.
Apply.
OK.

You can also get rid of all apps by Einstein by detaching & reattaching (removing & adding EAH). Though I am not so sure that actually removes the Windows set administrator override.

If you want to speed up the running of things, get better hardware, run multiple tasks at the same time on your GPU, or some sort. Speeding up the priority won't do it, nor will making things run as the administrator. When you installed BOINC, you did so with an account that was administrator (normally your user account), so BOINC and all programs running under it are set to run under this account.

When you then tell one application that's running under BOINC to go run as the Windows built in administrator, which is what "Run as administrator" means, then it no longer has permission to run under BOINC. And thus it crashes work by the tens, hundreds or thousands. Only telling the application to no longer run as administrator will fix that.

Uninstalling BOINC does not remove any applications or work in the BOINC Data directory. Thus the CUDA application will stay as run as administrator always.

Or if you feel so strongly about fiddling with priorities and which apps should run as what, then create a restore point prior to that. Then you can always quickly return to an earlier setting.

Frank
Frank
Joined: 8 Sep 12
Posts: 3
Credit: 4814473
RAC: 0

Wrong. Your answer did not


Wrong. Your answer did not work on my system. What makes you think I
have not already tried your answer? Did you try to right click the
CUDA app *AFTER* the Administrator rights were given to the CUDA app?
If so, you would observe that there is no practical way to right click
on the CUDA app before it disappears from the Task Menu, if you see it
at all. The CUDA app immediately fails with a compute error. Because
you can give Administrator rights to a CUDA app from the Task Menu, that
does not mean that you can remove the Administator rights from the Task
Menu.

Now for the solution, which I discovered myself.

The Einstein CUDA app is in a hidden directory: ProgramData.

Previously, I tried searching for the CUDA app. But, since it
was in a hidden directory, the search results were empty.

To get Windows Explorer to display hidden directories, one needs
to change the folder preferences. Google for "display hidden folders".
I trust the instructions from microsoft.com domains in the Google
search results.

One needs to find out exactly where the CUDA app is. Now, this is
where Task Manager is useful. In Task Manager, right click on the SSE
app. The SSE app is the app that runs on a CPU. Look at the properties
of the SSE app. The CUDA app is in that directory.

Now, we are getting somewhere.

Once one knows where the CUDA app is, just navigate to that directory
in Windows Explorer.

Simple: right click on the CUDA app and remove the Administrator.

Everything is everything and E@H runs the CUDA app.

Jord
Joined: 26 Jan 05
Posts: 2952
Credit: 5893653
RAC: 0

RE: Wrong. Your answer did

Quote:
Wrong. Your answer did not work on my system. What makes you think I
have not already tried your answer?


You never mentioned or breathed any word about it. You have to tell us the information on all and everything that you have tried already so people who try to help you won't be yelled back at in the way that you just did.

And as for me being wrong...

you wrote:
Simple: right click on the CUDA app and remove the Administrator.


I wrote:
Right click on the Einstein CUDA app.
Properties.
Compatibility tab.
If there exists a check on "Run as administrator", remove it.
Apply.
OK.

As for the BOINC Data directory being hidden, I could've told you that, but since you never said how you made the CUDA app run as administrator in the first place --and I am not psychic or use a crystal ball, or have hacked into the CCTV camera across from your house-- I assumed that you had made the application in teh Einstein directory, in the BOINC Data directory, run as administrator by right-clicking on it and telling it to do so. I gave you the advice as given and an explanation on why what you did was bad form. For you to do with what you will, and if you want to go yell at me for that, be my guest. A next time you can go look for help from someone else.

Last bit of advice, all the Einstein applications live in C:\ProgramData\BOINC\projects\einstein.phys.uwm.edu\
All of BOINC its useful files live at C:\Programdata\BOINC\
By default the Data directory is hidden, but you can get to it by either directly entering the path into Windows Explorer, or as you did by showing hidden files and folders.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.