I recently learned (from I response on this newsgroup to an earlier
query) of the processing module for working with subprocesses in a
similar manner to threading. For what I needed to do, it worked great
--- until I tried to run my code on an x64 box, for which that module
isn't available*. So, I'm just wondering if when processing is renamed
to multiprocessing and included in the standard lib for 2.6, will x64 be
supported?
~Scott
*yes, yes, I know. download the source and compile it myself. 5 2045
Benjamin Kaplan wrote:
I'm not an expert on this, but I think that anything written for x86 (32
bit) machines can run on x64 machines.
Become an export - say the opposite :)
Benjamin Kaplan wrote:
I don't have a 64-bit machine, so I can only go off of what I read. This is
from the AMD64 FAQ<http://www.amd.com/us-en/Processors/ProductInformation/0,,30_118_9331_13278,00.html#100144>
Welcome to the world of marketing. The FAQ just explains that AMD64
compatible processors can still run 32bit programs. It doesn't say that
you can recompile your code for 64bit w/o trouble.
It's possible to write software that compiles and works on all sorts of
platforms and CPU architectures like X86, AMD64, IA64, PPC etc. The
Python interpreter is a good example.
However one can easily write C code that runs on 32bit X86 CPUs but
crashes on 64bit systems. The same code may run on a 64bit Linux/BSD
system but crashes on a Win32 X64 because 64bit Windows defines a long
as a 32bit datatype, while a long on 64bit Unix systems has 64bits.
Christian
Benjamin Kaplan wrote:
I don't have a 64-bit machine, so I can only go off of what I read. This is
from the AMD64 FAQ<http://www.amd.com/us-en/Processors/ProductInformation/0,,30_118_9331_13278,00.html#100144>
Welcome to the world of marketing. The FAQ just explains that AMD64
compatible processors can still run 32bit programs. It doesn't say that
you can recompile your code for 64bit w/o trouble.
It's possible to write software that compiles and works on all sorts of
platforms and CPU architectures like X86, AMD64, IA64, PPC etc. The
Python interpreter is a good example.
However one can easily write C code that runs on 32bit X86 CPUs but
crashes on 64bit systems. The same code may run on a 64bit Linux/BSD
system but crashes on a Win32 X64 because 64bit Windows defines a long
as a 32bit datatype, while a long on 64bit Unix systems has 64bits.
Christian
Interesting, I see Christian's responses to Benjamin, but not Benjamin's
posts themselves.
Anyways, the question remains: will multiprocessing be supported for the
x64 platform when it's released in 2.6?
pigmartian wrote:
I recently learned (from I response on this newsgroup to an earlier
query) of the processing module for working with subprocesses in a
similar manner to threading. For what I needed to do, it worked great
--- until I tried to run my code on an x64 box, for which that module
isn't available*. So, I'm just wondering if when processing is renamed
to multiprocessing and included in the standard lib for 2.6, will x64 be
supported?
~Scott
*yes, yes, I know. download the source and compile it myself.
Benjamin Kaplan wrote:
The only problem I can see is that 32-bit programs can't access 64-bit
dlls, so the OP might have to install the 32-bit version of Python for
it to work.
Anyway, all of this is beside the point, because the multiprocessing
module works fine on amd64 systems.
Kris This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: jinDoankz |
last post by:
Hi there.
Let's just get to the point.
I have 10 of arrays and let's say it has 2000 words for each array as the elements.
I use an algorithm (maybe you know the Levensthein Distance/Edit...
|
by: Aaron \Castironpi\ Brady |
last post by:
Hi,
I'm trying to step through a subprocess I launch with
multiprocessing. Does anyone know what hack to add? The actual call
comes in forking.Popen.__init__, Windows version, forking.py, line...
|
by: nhwarriors |
last post by:
I am attempting to use the (new in 2.6) multiprocessing package to
process 2 items in a large queue of items simultaneously. I'd like to
be able to print to the screen the results of each item...
|
by: redbaron |
last post by:
I stuck in new multiprocessing module (ex. processing). I dont'
understand why queue.get_nowait() never returns data, but always
raises Empty, even if it is guaranteed that queue is not empty.
...
|
by: redbaron |
last post by:
I run into problem with queue from multiprocessing. Even if I
queue.qsize() != 0 queue.get() still blocks and queue.get_nowait()
raises Emtpy error.
I'm unable to cut my big part to small test...
|
by: YouCanCallMeAl |
last post by:
It seems that the multiprocessing module in 2.6 is broken for *BSD;
I've seen issue 3770 regarding this. I'm curious if there are more
details on this issue since the posts in 3770 were a bit...
|
by: davy zhang |
last post by:
I mean every process attach like thread in wingide
like thread or tasklet in wingide
:)
maybe I asked toooo much:D
|
by: Jeffrey Barish |
last post by:
With the release of multiprocessing in Python 2.6, is there any reason to
use Pyro or RPyC?
--
Jeffrey Barish
|
by: Jeffrey Barish |
last post by:
skip@pobox.com wrote:
So I thought at first, but then I saw this statement in the documentation:
It is possible to run a manager server on one machine and have clients use
it from other...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |