Home News Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | [Merged] Team Seti & distributed computing


You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > General IT Discussion

[Merged] Team Seti & distributed computing
Reply
 
Thread Tools
Old 21-07-2004, 14:30   #811
PFF TV - Fantasy TV
 
Join Date: Jun 2003
Location: Stafford
Age: 34
Services: Sky World 300k BB NTL Phone
Posts: 2,386
poolking has a brilliant futurepoolking has a brilliant futurepoolking has a brilliant futurepoolking has a brilliant futurepoolking has a brilliant futurepoolking has a brilliant futurepoolking has a brilliant futurepoolking has a brilliant futurepoolking has a brilliant futurepoolking has a brilliant futurepoolking has a brilliant futurepoolking has a brilliant future
Send a message via AIM to poolking Send a message via MSN to poolking Send a message via Yahoo to poolking
Re: Team SETI@cableforum

Before going off into a strop. Tell us what problems you are having and someone maybe able to help.
poolking is offline   Reply With Quote
Old 21-07-2004, 14:32   #812
 
 
Join Date: Nov 2003
Location: Leeds - the dog house
Age: 31
Services: Email me for a current price list
Posts: 8,266
greencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny star
greencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny star
Re: Team SETI@cableforum

Ah. chmod changes the permissions for the file. You have read, write and execute permissions that can be assigned to the file owner, the group that "owns" the file, and the world (neither the owner or the group). You probably need to set execute permission on the file:

chmod 775 nameoffile

should do it. Then execute the file. On Solaris you would type:

./nameoffile

I imagine it'll be the same for Linux. The ./ bit is needed because . isn't in the path environment variable - nor should it ever be.

This command:

ls -la

should show you what the permissions are at the moment. Permissions are slightly different for directories than for files. You can also do complex things such as setting the owner and/or group that the file runs as - known as setuid and setgid.
__________________
Consistency is the last refuge of the unimaginative [Wilde]
greencreeper is offline   Reply With Quote
Old 21-07-2004, 14:37   #813
Electrolyte01
Guest
 
Posts: n/a
Re: Team SETI@cableforum

I just did that greencreeper, executed it, then 2 other files appeared. I think I might be getting somewhere, I'l report back when I get it running (and add some reputation to you! )
  Reply With Quote
Old 21-07-2004, 14:41   #814
Electrolyte01
Guest
 
Posts: n/a
Re: Team SETI@cableforum

I don't understand how I add -attach-project to it. It keeps coming up saying invalid option, but when I just do "file boinc" BOINC says this: boinc: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), got GNU/Linux 2.2.5, dymatically linked (uses shared libs), not stripped.

So I think BOINC is ready, just the commands I don't know how to work out.
  Reply With Quote
Old 21-07-2004, 14:41   #815
 
 
Join Date: Nov 2003
Location: Leeds - the dog house
Age: 31
Services: Email me for a current price list
Posts: 8,266
greencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny star
greencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny star
Re: Team SETI@cableforum

Have a look at that URL I posted - gives the various command line options. Try running a benchmark, then try attaching to a project. See what happens

[edit] Wasn't quick enough

./executable -version

See what happens. Oh and it's attach_project - not attach-project
__________________
Consistency is the last refuge of the unimaginative [Wilde]

Last edited by greencreeper; 21-07-2004 at 14:44.
greencreeper is offline   Reply With Quote
Old 21-07-2004, 14:52   #816
Electrolyte01
Guest
 
Posts: n/a
Re: Team SETI@cableforum

Thanks! Running CPU Benchmarks, then going to get it to TRY and download the WU's. Account info set, so it will probably do it automatically.

Can you help me get it to start up when the PC starts up? I think it's not automatic.

EDIT: Darn, since the system is down it couldn't check my account ID, and detached from the project. I'l have to wait for it to go back up, but it ran the CPU benchmarks fine!

EDIT 2: Can you tell me the command to switch directorys? I just made a directory called "BOINC" for it, but I can't remember the command to switch to it in konsole.

Last edited by Electrolyte01; 21-07-2004 at 14:58.
  Reply With Quote
Old 21-07-2004, 15:08   #817
 
 
Join Date: Nov 2003
Location: Leeds - the dog house
Age: 31
Services: Email me for a current price list
Posts: 8,266
greencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny star
greencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny star
Re: Team SETI@cableforum

cd is the command to change to a directory:

cd fred = change to fred directory
cd .. = go back one directory

. = current directory
.. = parent directory

you can build them together - cd ../fred

Start on boot is a bit more tricky. You need to create a run-level script and put sym links to the script in the appropriate run-level directories. I'll look for some URLs for you and post them - unless someone else reading this is familar with Linux run-levels
__________________
Consistency is the last refuge of the unimaginative [Wilde]
greencreeper is offline   Reply With Quote
Old 21-07-2004, 15:12   #818
PFF TV - Fantasy TV
 
Join Date: Jun 2003
Location: Stafford
Age: 34
Services: Sky World 300k BB NTL Phone
Posts: 2,386
poolking has a brilliant futurepoolking has a brilliant futurepoolking has a brilliant futurepoolking has a brilliant futurepoolking has a brilliant futurepoolking has a brilliant futurepoolking has a brilliant futurepoolking has a brilliant futurepoolking has a brilliant futurepoolking has a brilliant futurepoolking has a brilliant futurepoolking has a brilliant future
Send a message via AIM to poolking Send a message via MSN to poolking Send a message via Yahoo to poolking
Re: Team SETI@cableforum

You won't get any WUs at the moment, the project is still down and there is still no work from predictor yet.
poolking is offline   Reply With Quote
Old 21-07-2004, 15:19   #819
Electrolyte01
Guest
 
Posts: n/a
Re: Team SETI@cableforum

Quote:
Originally Posted by poolking
You won't get any WUs at the moment, the project is still down and there is still no work from predictor yet.
Yeh I know, notebook still reporting it's down and BOINC on this system can't even check if my ID is correct
  Reply With Quote
Old 21-07-2004, 15:35   #820
 
 
Join Date: Nov 2003
Location: Leeds - the dog house
Age: 31
Services: Email me for a current price list
Posts: 8,266
greencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny star
greencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny star
Re: Team SETI@cableforum

I'm going to have to disappear but you should be able to do the first bit of getting BOINC to start on boot...

You need to write a script like this:

#!/bin/sh

case "$1" in
start)
echo -n "Starting BOINC"

;;
stop)
echo -n "Shutting down BOINC"
;;
restart)
$0 stop
$0 start
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac

exit 0

After the echo statement in the start section you need to put the command to start BOINC - e.g.

/path/to/boinc/nameofboincexecutable -options

There doesn't seem to be an option to stop BOINC so I guess you just kill it?? If there is a command it needs to go after the echo statement in the stop section.

Once you've written the script you'll need to chmod 775 it otherwise it won't run. Test that it works by typing:

./scriptname start

If it all works then you just need to put the script in /etc/rc.d/init.d and put links to the script in the appropriate run-level directories. This is the tricky bit that I'm not sure on - the run-level directories are numbered like this: rc3.d I need to find out what the levels are on Linux
__________________
Consistency is the last refuge of the unimaginative [Wilde]
greencreeper is offline   Reply With Quote
Old 21-07-2004, 15:46   #821
cf.addict
 
Feenix's Avatar
 
Join Date: Jul 2003
Age: 30
Services: badger badger badger
Posts: 151
Feenix is a jewel in the roughFeenix is a jewel in the roughFeenix is a jewel in the roughFeenix is a jewel in the roughFeenix is a jewel in the rough
Re: Team SETI@cableforum

ahhh the joys of the startup folder
__________________
bleh
Feenix is offline   Reply With Quote
Old 21-07-2004, 15:58   #822
Electrolyte01
Guest
 
Posts: n/a
Re: Team SETI@cableforum

This is Linux Feenix, not Windows
  Reply With Quote
Old 21-07-2004, 16:01   #823
Electrolyte01
Guest
 
Posts: n/a
Re: Team SETI@cableforum

Hopefully you can help me out later, this is going to be hard
  Reply With Quote
Old 21-07-2004, 19:45   #824
 
 
Join Date: Nov 2003
Location: Leeds - the dog house
Age: 31
Services: Email me for a current price list
Posts: 8,266
greencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny star
greencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny stargreencreeper has a nice shiny star
Re: Team SETI@cableforum

Quote:
Originally Posted by Electrolyte
Hopefully you can help me out later, this is going to be hard
Any luck with writing that script??

There's a program called chkconfig that you might have - will save a lot of hassle if you do
__________________
Consistency is the last refuge of the unimaginative [Wilde]
greencreeper is offline   Reply With Quote
Old 21-07-2004, 20:45   #825
Electrolyte01
Guest
 
Posts: n/a
Re: Team SETI@cableforum

Nope, no luck, not good enough with scripts yet
  Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 17:27.


Links
Google
 
Web www.cableforum.co.uk


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0
Copyright © 2003 - 2008, Cable Forum.
(server1.cableforum.co.uk)