On 18 Feb 2013 at 0:51, Thomas Schneider wrote:
[...]
I am currently using a global variable and passing by var. with trimax at 501502 it compiles and runs.
When I set it to 2003001 it compiles but gives a segmention fault even though it's global. Maybe there's a limitation to allocating that way?
Nope. The only limitation is the amount of available memory. On my Windows system I get no segfaults, even when allocating the full 490mb. I know precious little about OS X, but I think that you should check how much memory your system is allocating to programs.
Then I switched dataprism to be a pointer using 'dataprism: ^trisquare;' as you suggested and changed the calls to be 'dataprism^' (a rather cute trick!) and ... it compiles but still gives me a segmentation fault!
See above. I believe that you may have run into some sort of system limitation. There must be ways of increasing system resources available to applications on OS X (there is on unix systems, and I believe that OS X is, at its heart, a unix system).
Best regards, The Chief ------- Prof. Abimbola Olowofoyeku (The African Chief) Web: http://www.greatchief.plus.com