[MMTK] result['info']

Mihali A. Felipe mihali.felipe at yale.edu
Tue Jan 11 03:59:41 CET 2005


On Mon, 10 Jan 2005 konrad.hinsen at laposte.net wrote:

> On 10.01.2005, at 17:46, Mihali A. Felipe wrote:
> 
> > In other words, long int and char * are different. Would this cause a
> > problem? I am using the lapack that comes with mmtk.
> >
> The difference in long int could be the cause of the problem. Try  
> recompiling lapack_subset.c with the additional compiler option  
> -D_LONG64_ (just compiling it that way before doing "python  
> setup.py"... should be OK).

Hi Konrad: 

Yes, this fixes the problem. Thanks!! :)  

Not sure if this is the best way but I added -D_LONG64_ in setup.py  

(ca. line 139)

high_opt = []
if sys.platform[:5] == 'linux' and sysconfig['CC'][:3] == 'gcc':
    high_opt = ['-D_LONG64_', '-O3', '-ffast-math', 
'-fomit-frame-pointer', '-fkeep-inline-functions']

and did a 'python setup.py build --force' and a 
'python setup.py install --force'

That did it. 


- Mihali

--
Mihali A. Felipe
Systems Programmer
Gerstein Lab : Bioinformatics
Yale University Molecular Biophysics and Biochemistry







More information about the mmtk mailing list