[Merged] Team Seti & distributed computing
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
|
Re: Team SETI@cableforum
Before going off into a strop. Tell us what problems you are having and someone maybe able to help.
|
|
|
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
|
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]
|
|
|
21-07-2004, 14:37
|
#813
|
|
Guest
|
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!  )
|
|
|
|
21-07-2004, 14:41
|
#814
|
|
Guest
|
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.
|
|
|
|
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
|
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.
|
|
|
21-07-2004, 14:52
|
#816
|
|
Guest
|
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.
|
|
|
|
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
|
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]
|
|
|
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
|
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.
|
|
|
21-07-2004, 15:19
|
#819
|
|
Guest
|
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
|
|
|
|
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
|
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]
|
|
|
21-07-2004, 15:46
|
#821
|
|
cf.addict
Join Date: Jul 2003
Age: 30
Services: badger badger badger
Posts: 151
|
Re: Team SETI@cableforum
ahhh the joys of the startup folder
__________________
bleh
|
|
|
21-07-2004, 15:58
|
#822
|
|
Guest
|
Re: Team SETI@cableforum
This is Linux Feenix, not Windows
|
|
|
|
21-07-2004, 16:01
|
#823
|
|
Guest
|
Re: Team SETI@cableforum
Hopefully you can help me out later, this is going to be hard
|
|
|
|
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
|
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]
|
|
|
21-07-2004, 20:45
|
#825
|
|
Guest
|
Re: Team SETI@cableforum
Nope, no luck, not good enough with scripts yet
|
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT. The time now is 17:27.
|