Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go »
No member browsing this thread
Thread Status: Active
Total posts in this thread: 8
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 926 times and has 7 replies Next Thread
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Need some scripts for starting/stopping BOINC

Hello.

I have access to a lot of powerful linux machines that I want to use for the project, but I don't want to run BOINC during the day. I noitced that regardless if people are on the server and using something or not, the rosetta always stops and then restarts the minute the CPU is not used. I cannot explain myself to my collegues that I'm using their machines during the day to run something that's non-work related, and if the machines degrade in performance by whatever precentage, then Im in trouble.

I would appreciate if anyone could help me setup some kind of cron job, script or whatever to start BOINC say at 8pm or midnight, every day (except on weekends) and stop at 6am.

I'm using RedHat 7.3, and my scripts are located in /root/BOINC and I have a file called start.sh that starts the program automatically. Now all I need is to start this, and stop this using cron/other scripts. I'm not script writer/programmer, otherwise I would have done this myself.

If *ANYONE* here has these kinds of scripts, or could give me a hand, I would greatly appreciate it.

smile
[Nov 17, 2005 8:04:21 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Need some scripts for starting/stopping BOINC

One more question.

On PCs you have to login manually, and you're bound to your team through the login. With linux, you get a key file something like :

276ae51a1d8a25038104812a346cc32d

Does this key file bind you to your team?
[Nov 17, 2005 8:13:37 PM]   Link   Report threatening or abusive post: please login first  Go to top 
uplinger
Former World Community Grid Tech
Joined: May 23, 2005
Post Count: 3952
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Need some scripts for starting/stopping BOINC

First, your BOINC key is linked to your user name, which your username is linked with a particular team. So Yes, it does count the points you receive on your BOINC device with your team.

Second, You can use the device profiles located http://www.worldcommunitygrid.org/ms/device/viewProfiles.do to edit the "default" profile for times when you want the application to run. This will suspend the application that is using your spare CPU cycles. This does leave BOINC running on your system, but it is in idle mode and unless someone searches for it, they wouldn't notice an impact from it. Also, I would recommend doing this before you initially attach BOINC to World Community Grid.

Hope this helps.
[Nov 17, 2005 9:48:18 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Need some scripts for starting/stopping BOINC

You can also use boinc_cmd if the schedule is more complex than same times every day (weekends special for example).
[Nov 18, 2005 3:46:49 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Need some scripts for starting/stopping BOINC

You can also use boinc_cmd if the schedule is more complex than same times every day (weekends special for example).


Thanks for the info John.

Question :

What's this ?

2005-11-18 10:12:02 [---] Number of CPUs: 1
2005-11-18 10:12:02 [---] 297 double precision MIPS (Whetstone) per CPU
2005-11-18 10:12:02 [---] 547 integer MIPS (Dhrystone) per CPU
2005-11-18 10:12:02 [---] Finished CPU benchmarks
2005-11-18 10:12:03 [---] Resuming computation and network activity
2005-11-18 10:12:03 [---] request_reschedule_cpus: Resuming activities
2005-11-18 10:12:04 [---] Attempting to communicate with [secure.worldcommunitygrid.org] timed out
2005-11-18 10:12:04 [---] Attempting to communicate with [secure.worldcommunitygrid.org] timed out
2005-11-18 10:12:04 [http://www.worldcommunitygrid.org/] Scheduler request to https://secure.worldcommunitygrid.org/boinc/wcg_cgi/fcgi failed with a return value of -182
2005-11-18 10:12:04 [http://www.worldcommunitygrid.org/] Scheduler request to https://secure.worldcommunitygrid.org/boinc/wcg_cgi/fcgi failed with a return value of -182
2005-11-18 10:12:04 [http://www.worldcommunitygrid.org/] No schedulers responded
2005-11-18 10:12:04 [http://www.worldcommunitygrid.org/] No schedulers responded
2005-11-18 10:12:04 [http://www.worldcommunitygrid.org/] Couldn't connect to URL http://www.worldcommunitygrid.org/.
Please check URL.
2005-11-18 10:12:04 [http://www.worldcommunitygrid.org/] Couldn't connect to URL http://www.worldcommunitygrid.org/.
Please check URL.
2005-11-18 10:12:04 [http://www.worldcommunitygrid.org/] Resetting project
2005-11-18 10:12:04 [---] request_reschedule_cpus: exit_tasks
2005-11-18 10:12:04 [http://www.worldcommunitygrid.org/] Detaching from project


Does this mean that the secure server is down? Or I have something incorrectly configured in my proflle?
[Nov 18, 2005 3:14:35 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Need some scripts for starting/stopping BOINC

Another question

We're behind a proxy.

I usually set the proxy settings in the .tcshrc profile, then execute boinc.
Is there any place where I can set the proxy settings within the boinc files so its there by default?
[Nov 18, 2005 3:24:23 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Need some scripts for starting/stopping BOINC

I was able to attach all my machines using the boincmgr, however this was a graphical installation. My question is. Will this setup/information stay once a machine has to be rebooted, or will I have to redo the binding in boincmgr (?). I know I gotta start the process manually, I just want it to have the proxy information saved.
[Nov 18, 2005 5:03:17 PM]   Link   Report threatening or abusive post: please login first  Go to top 
knreed
Former World Community Grid Tech
Joined: Nov 8, 2004
Post Count: 4504
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Need some scripts for starting/stopping BOINC

The information and settings that you set via the BOINC Manager are persistent and will continue to be set even after stopping and restarting the client or computer.

Kevin
----------------------------------------
[Edit 1 times, last edit by knreed at Nov 18, 2005 10:14:39 PM]
[Nov 18, 2005 10:09:50 PM]   Link   Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Post new Thread