Dead Men Walking

Forum Archive 2023 => dMw's Community Centre => Community Archive => Dead Men Folding => Topic started by: Jamoe on November 02, 2004, 12:46:35 PM

Title: linux, duel processor, and folding
Post by: Jamoe on November 02, 2004, 12:46:35 PM
http://forum.folding-community.org/viewtopic.php?t=2283 (http://forum.folding-community.org/viewtopic.php?t=2283)

quite nice folding installer for linux that finds all the cpus available. Also setsup a script that i move to my init.d/ so that i can run it as a service biggrin.gif (i feel leet now smile.gif )


(Edit: the above is what you came here for :) )



just got the old works server running with a fresh fedora install, its a duel p3 1gig machine and im gonna be using it to test php/mysql. Im also going to try getting it running 24/7 folding :).

Im googling now but anyone know how i go about installing 2 versions of folding on this linux machine. Im just gonna try niels suggestion in another thread, i just remebered it but im not sure its ment for linux. i wil go see :).

edit: nay doesnt hwlp much with installing it under linux.

cheers

Jamoe
Title: linux, duel processor, and folding
Post by: Whitey on November 02, 2004, 01:43:22 PM
There is a version available for Linux Here (http://www.stanford.edu/group/pandegroup/release/FAH502-Linux.exe)

Create 2 directories for it eg.

# mkdir /home/fold1
# mkdir /home/fold2

The copy the FAH502-Linux.exe to both directories

# cp FAH502-Linux.exe /home/fold1/FAH1.exe
# cp FAH502-Linux.exe /home/fold2/FAH2.exe
# cd /home/fold1
# ./FAH1.exe -advmethods -forceasm -local -config

answer all the questions and when complete press Cntrl-z and then type

# bg
to place the process in the background, then

# cd /home/fold2
# ./FAH2.exe -advmethods -forceasm -local -config

answer all the questions (make sure you choose a different number for the processor) and when complete press Cntrl-z and then type

# bg
to place the process in the background.

There may be other ways to run it, but that's the method I use.  You could also create a startup script to run the commands when the system boots.
Title: linux, duel processor, and folding
Post by: Jamoe on November 02, 2004, 02:49:31 PM
cheeres whitey, i tihnk i have booth installed now :)

just need to work out how to kick start them both at bootup :)

edit: wootage yeah baby

all sorted, found the servers bit, i neded up using

http://forum.folding-community.org/viewtopic.php?t=2283 (http://forum.folding-community.org/viewtopic.php?t=2283)

quite nice folding installer for linux that finds all the cpus available. Also setsup a script that i move to my init.d/ so that i can run it as a service :D (i fell leet now :) )

sadly this server sounds like a hover so im probably not running it 24/7 untill its moved back into our server room.
Title: linux, duel processor, and folding
Post by: Whitey on November 02, 2004, 05:36:43 PM
Nice find, I could use that  :D
Title: linux, duel processor, and folding
Post by: Rabbi Bob on January 06, 2005, 10:17:08 PM
Thanks Jamoe!

(http://galleria.rabbibob.com/albums/userpics/normal_folding.gif) (http://galleria.rabbibob.com/albums/userpics/folding.gif)

Expecting my first fold tomorrow morning :)
Title: linux, duel processor, and folding
Post by: Othbarty on May 13, 2009, 07:56:35 PM
Just wanted to heads-up a application in the *Ubuntu package repo called origami simple, and it works.

sudo apt-get install origami
and
sudo origami install -t 33597 and -u Othbarty
and your set. This detects the amount of cores available, and sets it up as a system service. You can always temporarily disable it with a sudo /etc/init.d/origami stop

If for some reason you dont want to have it autostarted, just issue a

sudo update-rd.c -f origami remove

Which will remove the softlinks for auto-start :)

Enjoy!
Title: linux, duel processor, and folding
Post by: Cadaver on May 14, 2009, 09:42:36 AM
Nice. :thumb:

I'm currently in the process of putting an Ubuntu box together at home for some media serving duties.  It'd be rude not to have it sat there folding as well.
Title: linux, duel processor, and folding
Post by: Jamoe on May 14, 2009, 12:57:49 PM
Superb :) going to try this now on my works laptop :D

going to see if i can trick everyone else into running those commands as well :D hahahaha
Title: linux, duel processor, and folding
Post by: delanvital on May 14, 2009, 02:36:26 PM
Quote from: Cadaver;275983Nice. :thumb:

I'm currently in the process of putting an Ubuntu box together at home for some media serving duties.  It'd be rude not to have it sat there folding as well.

Good stuff!
Title: linux, duel processor, and folding
Post by: Carr0t on May 14, 2009, 04:41:46 PM
I've been running FAH6 for yonks on Linux. Just start it with the -smp argument and it'll use any and all CPUs it can find for the one folding process, instead of having to run 1 folding process for each CPU. I did look at doing GPU folding under Linux, but there was a helluva lot of faff involving Wine that I just couldn't be bothered with.

I assume Origami uses FAH6 and isn't still using FAH5?
Title: linux, duel processor, and folding
Post by: Othbarty on May 16, 2009, 10:13:55 AM
yup, origami uses  fah6. Just checked :)