climateprediction.net home page
Win2K logoff

Win2K logoff

Message boards : Number crunching : Win2K logoff
Message board moderation

To post messages, you must log in.

AuthorMessage
old_user40646

Send message
Joined: 27 Jan 05
Posts: 3
Credit: 11,115
RAC: 0
Message 7768 - Posted: 27 Jan 2005, 15:10:50 UTC

I generally logoff from my machine when not using it. Does the model still run when logged off?
ID: 7768 · Report as offensive     Reply Quote
Profile geophi
Volunteer moderator

Send message
Joined: 7 Aug 04
Posts: 2185
Credit: 64,822,615
RAC: 5,275
Message 7774 - Posted: 27 Jan 2005, 15:40:45 UTC - in response to Message 7768.  

> I generally logoff from my machine when not using it. Does the model still
> run when logged off?
>
I think you will need to start BOINC as a service to do that. You may want to start another thread with the title "Running BOINC as a service, what's the best way to do this?" I haven't tried it and can't currently find some of the advice that was given earlier.
ID: 7774 · Report as offensive     Reply Quote
Profile Thyme Lawn
Volunteer moderator

Send message
Joined: 5 Aug 04
Posts: 1283
Credit: 15,824,334
RAC: 0
Message 7776 - Posted: 27 Jan 2005, 15:58:34 UTC
Last modified: 27 Jan 2005, 15:58:45 UTC

It's a pretty straightforward process.

1. Delete the BOINC shortcut from all startup folders.

2. Open a command prompt window, change to the directory you installed BOINC in and enter the command "boinc_cli -install".

3. If you had to explicitly allow firewall access for boinc_gui.exe you'll need to do the same for boinc_cli.exe

4. Go to the BOINC GUI window, suspend calculation and exit from BOINC.

5. In your command prompt window run the command "net start boinc".

The only thing missing from the CLI version is viewing of the model on demand, but that will change with the next major release of BOINC which will run as a service with a separate user interface program.
"The ultimate test of a moral society is the kind of world that it leaves to its children." - Dietrich Bonhoeffer
ID: 7776 · Report as offensive     Reply Quote
Profile old_user36084
Avatar

Send message
Joined: 15 Jan 05
Posts: 31
Credit: 1,249,348
RAC: 0
Message 7777 - Posted: 27 Jan 2005, 16:04:19 UTC

If you are running boinc_gui then that will stop when you log off. Running boinc_cli as service will ensure that it runs all the time, unless PC is turned off!

To run the boinc_cli (command line interface) first stop boinc_gui (graphical user interface). Then delete the boinc_gui shortcut in the "startup" directory of your start menu, thus disabling the automatic start of boinc_gui.

To start boinc_cli goto start menu --> run and type: "cmd"

In the cmd window type: "cd c:\program files\boinc"

This is the default location of the installed boinc program. You may need to adjust this to the appropriate location.

To install boinc as a windows service type: "boinc_cli -install"

To start boinc type: "net start boinc"
To stop boinc type: "net stop boinc"

Now exit cmd window and right click "My Computer" on desktop and click "Manage".

In the "Computer Management Console" goto "Services" and look for "BOINC". Double click to open and set startup type to "Automatic".

Restart the computer and you'll notice the service is running automatically in the background all the time.

Other boinc_cli arguments are:

-attach_project
Attach this computer to a new project. You must have an account with that project. You will be asked for the project URL and the account ID.

-show_projects
Print a list of projects to which this computer is attached.

-detach_project
URL Detach this computer from a project.

-reset_project
URL Clear pending work for a project. Use this if there is a problem that is preventing your computer from working.

-update_prefs
URL Contact a project's server to obtain new preferences. This will also report completed results and get new work if needed.

-return_results_immediately
Contact scheduler as soon as any result done.

-run_cpu_benchmarks
Run CPU benchmarks. Do this if you have modified your computer's hardware.

-check_all_logins
If 'run if user active' preference is off, check for input activity on all current logins; default is to check only local mouse/keyboard.

-exit_when_idle
Get, process and report work, then exit.

-allow_remote_gui_rpc
Allow GUI RPCs from remote hosts.

-help
Show client options.

-version
Show client version.
ID: 7777 · Report as offensive     Reply Quote

Message boards : Number crunching : Win2K logoff

©2024 cpdn.org