Bitcoin Forum
November 11, 2024, 03:42:14 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Phoenix in command line Linux  (Read 1892 times)
foreshadow (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
June 25, 2011, 05:05:33 AM
 #1

How do I run phoenix as command line in Linux? They all have python extensions...

Thanks.
bcforum
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
June 27, 2011, 02:40:01 AM
 #2

python phoenix.py -u http://user:pass@host:port -k poclbm DEVICE=0 AGGRESSION=13 WORKSIZE=64 BFI_INT FASTLOOP=false

If you found this post useful, feel free to share the wealth: 1E35gTBmJzPNJ3v72DX4wu4YtvHTWqNRbM
foreshadow (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
June 30, 2011, 04:41:40 AM
 #3

thx, however I get this error message:

Traceback (most recent call last):
  File "phoenix.py", line 26, in ?
    from twisted.internet import reactor
ImportError: No module named twisted.internet
KenJackson
Full Member
***
Offline Offline

Activity: 127
Merit: 100



View Profile
June 30, 2011, 11:00:06 AM
 #4

The internet module is part of the core twisted python package. 
Do you have twisted installed?

In Fedora Linux, you would run yum install python-twisted to install it.
Other distros should be similar.
foreshadow (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
July 01, 2011, 04:04:44 AM
 #5

I'm on Redhat:

 1# yum install python-twisted
Loading "rhnplugin" plugin
Loading "security" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Parsing package install arguments
No package python-twisted available.
Nothing to do


Thanks.
KenJackson
Full Member
***
Offline Offline

Activity: 127
Merit: 100



View Profile
July 01, 2011, 04:20:03 AM
 #6

No package python-twisted available.

Ouch!   Shocked

But I wonder if that is a result of this:
This system is not registered with RHN.
RHN support will be disabled.


Does that mean you stopped paying for support?  Or is something misconfigured?

The python-twisted package (spelled just like that) is in Fedora repositories.  I would be surprised if it's not in Redhat.

If you are choosing to no longer pay for updates, I would recommend switching to Fedora.  Redhat is supposed to be super stable, but I have no problems with Fedora.

Amused2death
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
July 01, 2011, 04:28:28 AM
 #7

You probably need to enable a different repo for the twisted library on redhat. Depending on the version you might be able to use one from fedora. I think that error just means you wontget security updates from rhn
foreshadow (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
July 02, 2011, 08:24:49 AM
 #8

Its a custom Redhat that I have at work for Real-Time communication/control of Xilinx FPGA cards. I eventually would like to start my own project on the side by inserting some graphic cards, but I would at least start mining with the CPU.

I could install the package if it won't affect the stability of the system or the python SConscripts we use to compile code.

 1# python -V
Python 2.4.3
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!