[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Help-glpk] 64-bit with Mac G5

From: Marcos Roberto Silva
Subject: RE: [Help-glpk] 64-bit with Mac G5
Date: Tue, 19 Apr 2005 20:11:28 -0300

Dear Andrew,
unfortunately the definition of the variable _GLPLIB_HUGEMEM of glplib2.c does 
not work for me.
The error output was:

*** malloc: vm_allocate(size=8421376) failed (error code=3)
*** malloc[3857]: error: Can't allocate region
umalloc: size = 8000; malloc failed

Thank you very much.
Best regards.


-----Original Message-----
From:   Andrew Makhorin [mailto:address@hidden
Sent:   Tue 4/19/2005 4:44 PM
To:     Marcos Roberto Silva
Cc:     address@hidden
Subject:        Re: [Help-glpk] 64-bit with Mac G5
Hi Marcos,

> "(May be replacing `int' by `long int' during compilation is a most
> natural way to port Glpk on a 64-bit machine, however, I've never
> tried that.)"
> Can I do this only with compiler flags?

I don't know because I don't have a 64-bit machine. Looks like gcc
translates `int' as well as `long int' to 32-bit integers, and only
`long long int' to 64-bit integers; however, it seems to me there is
no compiler flag to change `int' to `long long int'.


Andrew Makhorin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]