Overclock.net › Forums › Overclockers Care › Overclock.net Folding@Home Team › Folding@Home Guides and Tutorials › [Windows 7] 2500k & X6 Bigadv Folding w/ Native Linux Client
New Posts  All Forums:Forum Nav:

[Windows 7] 2500k & X6 Bigadv Folding w/ Native Linux Client - Page 7  

post #61 of 348
Thread Starter 
The & is supposed to be there, it puts it in the background so you wont actually see it. If you need to see progress you tail -f FAHlog.txt , or run top to make sure the fah client is running. If you need to kill the process your can find the PID with ps ax | grep fah then it will show you the PID so you can kill PID
Gene-Z Dedi
(7 items)
 
Captain America
(6 items)
 
 
CPUMotherboardRAMHard Drive
i7 2600k @ 5.2 Ghz Asus Maximus IV Gene-Z Gskill 2133 4GB Caviar Black 
CoolingOSPower
Corsair H100 Arch x64 OCZ 650 Watt 
CPUCPUMotherboardGraphics
Intel Xeon E5-2650 Intel Xeon E5-2650 ASUS Z9PE-D8 WS XFX 6870 
RAMOS
32 GB Samsung Arch Nix 
  hide details  
Gene-Z Dedi
(7 items)
 
Captain America
(6 items)
 
 
CPUMotherboardRAMHard Drive
i7 2600k @ 5.2 Ghz Asus Maximus IV Gene-Z Gskill 2133 4GB Caviar Black 
CoolingOSPower
Corsair H100 Arch x64 OCZ 650 Watt 
CPUCPUMotherboardGraphics
Intel Xeon E5-2650 Intel Xeon E5-2650 ASUS Z9PE-D8 WS XFX 6870 
RAMOS
32 GB Samsung Arch Nix 
  hide details  
post #62 of 348
Doh

I'm a complete nub btw so try to explain like you would to a child, a child who knows nothing about Linux and is just generally slow

Anyway, I changed it so it's in the background, tried tail -f FAHlog.txt and all is working ok Sooo when I want to shut it down do I just ctrl+c? and then uh, what about starting it back up?
post #63 of 348
run the command again. .fah6 -smp 4 -bigadv

I usually kill fah6 in the process manager. Haven't lost a unit so far CTRL+C doesn't seem to work for me

After a reboot, you're going to have to run the processor script though. I usually press up-arrow to retrieve previous commands.

So should be:
1.
Code:
cat /proc/stat | awk 'BEGIN { TARGET_NCPUS=8 } ; { if ($1 == "intr") { for (i=NR-2;i<TARGET_NCPUS;i++) print "cpu" i S } ; S="" ; for (i=2;i<=NF;i++) S=S " " $i ; print }' > /tmp/stat.save
2.
Code:
mount --bind /tmp/stat.save /proc/stat
3.
Code:
cd /fah
4.
Code:
./fah6 -smp 4 -bigadv &
Just up arrow baby
Edited by doritos93 - 4/4/11 at 4:19pm
The Douchebag
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX-8320 SABERTOOTH 990FX AMD Radeon (TM) R9 380 Series Mushkin  
  hide details  
The Douchebag
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD FX-8320 SABERTOOTH 990FX AMD Radeon (TM) R9 380 Series Mushkin  
  hide details  
post #64 of 348
Thanks

I created a launcher for the 8 core thing like in this guide, any idea how to make a launcher for fah too? :l or won't it work with it being in root? I tried but I'm probably overlooking something stupid.. D;

EDIT: K I figured it out and made it a little quicker/simpler for myself

First I created a launcher to apply the 8 core fix at start up from CHUNKYBOWSERs guide

Quote:
right click on the desktop and "create document">Empy File. Name it 8cores.sh. Open it and add this text:

Code:
cat /proc/cpuinfo | awk 'BEGIN { C=0 ; I=0 } /processor\: 1/ { C=0 } { if (C == 1) { B[I]=$0 ; I++ } } /processor\: 0/ { C=1 } END { for (K=0;K<8;K++) { print "processor\: " K ; for (J=0;J<I;J++) print B[J] } }' > /tmp/cpuinfo.$$
sudo mount --bind /tmp/cpuinfo.$$ /proc/cpuinfo
Save it. Now, right click the file and go to Properties, then go to the permissions tab. Check "Allow executing file as program". Now right click on the task bar, "Add to Panel" > Custom Application Launcher. Change type to "Application in Terminal". Name it 8 Cores. Browse for the file you created on the desktop in the command section, and click close. Now click the launcher you just created and a terminal should pop up asking for your password. Enter it and press enter. This will make the SMP client think your computer has 8 cores.
Then I did the same for fah, created another empty document and put in
Code:
cd /fah
./fah6 -smp 4 -bigadv
and the thing which was stopping it from working was that I needed to add sudo at the start of the command in the launcher..
Edited by GeforceGTS - 4/4/11 at 7:26pm
post #65 of 348
Thread Starter 
Quote:
Originally Posted by GeforceGTS View Post
Doh

I'm a complete nub btw so try to explain like you would to a child, a child who knows nothing about Linux and is just generally slow

Anyway, I changed it so it's in the background, tried tail -f FAHlog.txt and all is working ok Sooo when I want to shut it down do I just ctrl+c? and then uh, what about starting it back up?
When you run the cmd with "nohup cmdhere &" it means that when you close the terminal the process will not hup (hang up) and the & will put it in the background so a cntrl+c will not stop the process. You will need to kill the process with a kill command or through the process manager.
Gene-Z Dedi
(7 items)
 
Captain America
(6 items)
 
 
CPUMotherboardRAMHard Drive
i7 2600k @ 5.2 Ghz Asus Maximus IV Gene-Z Gskill 2133 4GB Caviar Black 
CoolingOSPower
Corsair H100 Arch x64 OCZ 650 Watt 
CPUCPUMotherboardGraphics
Intel Xeon E5-2650 Intel Xeon E5-2650 ASUS Z9PE-D8 WS XFX 6870 
RAMOS
32 GB Samsung Arch Nix 
  hide details  
Gene-Z Dedi
(7 items)
 
Captain America
(6 items)
 
 
CPUMotherboardRAMHard Drive
i7 2600k @ 5.2 Ghz Asus Maximus IV Gene-Z Gskill 2133 4GB Caviar Black 
CoolingOSPower
Corsair H100 Arch x64 OCZ 650 Watt 
CPUCPUMotherboardGraphics
Intel Xeon E5-2650 Intel Xeon E5-2650 ASUS Z9PE-D8 WS XFX 6870 
RAMOS
32 GB Samsung Arch Nix 
  hide details  
post #66 of 348
quick question? Does it have to be vmware or can it be virtual box?
post #67 of 348
Thread Starter 
Quote:
Originally Posted by Boyboyd View Post
quick question? Does it have to be vmware or can it be virtual box?
Havent tried vbox, would like to test it out when I get time... would love to run the vm headless and just ssh in when need be.
Gene-Z Dedi
(7 items)
 
Captain America
(6 items)
 
 
CPUMotherboardRAMHard Drive
i7 2600k @ 5.2 Ghz Asus Maximus IV Gene-Z Gskill 2133 4GB Caviar Black 
CoolingOSPower
Corsair H100 Arch x64 OCZ 650 Watt 
CPUCPUMotherboardGraphics
Intel Xeon E5-2650 Intel Xeon E5-2650 ASUS Z9PE-D8 WS XFX 6870 
RAMOS
32 GB Samsung Arch Nix 
  hide details  
Gene-Z Dedi
(7 items)
 
Captain America
(6 items)
 
 
CPUMotherboardRAMHard Drive
i7 2600k @ 5.2 Ghz Asus Maximus IV Gene-Z Gskill 2133 4GB Caviar Black 
CoolingOSPower
Corsair H100 Arch x64 OCZ 650 Watt 
CPUCPUMotherboardGraphics
Intel Xeon E5-2650 Intel Xeon E5-2650 ASUS Z9PE-D8 WS XFX 6870 
RAMOS
32 GB Samsung Arch Nix 
  hide details  
post #68 of 348
It works pretty well. I just have to set Vbox's priority in the windows task manager to below normal or low to use my computer. When i wont be using it for a few hours I turn it back up to normal though.

post #69 of 348
Thread Starter 
Quote:
Originally Posted by Boyboyd View Post
It works pretty well. I just have to set Vbox's priority in the windows task manager to below normal or low to use my computer. When i wont be using it for a few hours I turn it back up to normal though.

Awesome I guess Ill have to switch later tonight, one thing I love about vbox is headless mode
Gene-Z Dedi
(7 items)
 
Captain America
(6 items)
 
 
CPUMotherboardRAMHard Drive
i7 2600k @ 5.2 Ghz Asus Maximus IV Gene-Z Gskill 2133 4GB Caviar Black 
CoolingOSPower
Corsair H100 Arch x64 OCZ 650 Watt 
CPUCPUMotherboardGraphics
Intel Xeon E5-2650 Intel Xeon E5-2650 ASUS Z9PE-D8 WS XFX 6870 
RAMOS
32 GB Samsung Arch Nix 
  hide details  
Gene-Z Dedi
(7 items)
 
Captain America
(6 items)
 
 
CPUMotherboardRAMHard Drive
i7 2600k @ 5.2 Ghz Asus Maximus IV Gene-Z Gskill 2133 4GB Caviar Black 
CoolingOSPower
Corsair H100 Arch x64 OCZ 650 Watt 
CPUCPUMotherboardGraphics
Intel Xeon E5-2650 Intel Xeon E5-2650 ASUS Z9PE-D8 WS XFX 6870 
RAMOS
32 GB Samsung Arch Nix 
  hide details  
post #70 of 348
I need to figure that out, the more resources that fah has for bigadv the better.
New Posts  All Forums:Forum Nav:
  Return Home
This thread is locked  
Overclock.net › Forums › Overclockers Care › Overclock.net Folding@Home Team › Folding@Home Guides and Tutorials › [Windows 7] 2500k & X6 Bigadv Folding w/ Native Linux Client