Re: 64bit compatibility

From: Alan Borning <borning_at_cs.washington.edu>
Date: Mon, 16 Jul 2007 20:15:42 -0700

Fabrice,

Thanks for the suggestion regarding handling installations with two
Python versions! I think I fixed this everywhere in the code, and have
checked it into the repository - but if you spot any more let me know
(or file a trac bug report).
     Alan

Paul Waddell wrote:
> Fabrice
>
> I've been running for several months on a 64-bit linux configuration
> without a problem. I'm using Fedora Core 7 and Python 2.5 on this, but
> I believe others have used Suse (not sure whether on 64-bit or not)
> without problems. But your point about handling multiple python
> installs on the same machine is a good one.
>
> I suggest retrieving the most recent code from Subversion, rather than
> using the Nov 2006 release. It is available from
> https://trondheim.cs.washington.edu/svn/opus/. We no longer install
> opus/urbansim into site-packages, but rather into a user-specified
> workspace.
>
> Paul
>
> Fabrice Marchal wrote:
>> Hi,
>>
>> we just installed the latest opus release on our linux 64bit server
>> (November2006 release).
>>
>> We had to hack the code a bit to be granted a green light from all_tests.
>>
>> basically they were two sources of error:
>>
>> 1) we have two different python installation (2.3 and 2.4). While the
>> default
>> is 2.3, we use 2.4 for opus/urbansim. In many places in the code,
>> scripts are executed
>> running the "python " command explicitly. These should be replaced
>> with "sys.executable"
>> to make sure we fork the same python version.
>>
>> 2) Sometimes tests expects "Int32" variable types and check for it.
>> Replacing
>> some with "Int64" seem to do the job. However we didn't touch the code
>> outside
>> the tests (in opus_core/attribute_cache.py and variable.py for
>> instance) and reading the
>> Eugene baseyear cache seems to run smoothly though.
>>
>> Fabrice
>>
>>
>> =====================================================
>> Fabrice Marchal
>> fabrice.marchal_at_let.ish-lyon.cnrs.fr
>> <mailto:fabrice.marchal_at_let.ish-lyon.cnrs.fr>
>> Associate researcher +33 472 72 79 44 fabrice.marchal_at_ieee.org
>> <mailto:fabrice.marchal_at_ieee.org>
>> CNRS - Lab of Transport Economics (LET), Lyon http://marchal.let.fr
>> =====================================================
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Users mailing list
>> Users_at_urbansim.org
>> http://www.urbansim.org/mailman/listinfo/users
>>
>
> _______________________________________________
> Users mailing list
> Users_at_urbansim.org
> http://www.urbansim.org/mailman/listinfo/users
Received on Mon Jul 16 2007 - 20:15:34 PDT

This archive was generated by hypermail 2.2.0 : Mon Jul 16 2007 - 20:15:35 PDT