Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

This is required information for some MPI using app that I am working with...

From its Makefile template:

#insert memory per core and uncomment the following line

Note that said scientific app runs also on NUMA machines, like Cray, where each core has its own memory. I am asking here what to put in above line on Linux on e.g. 12GB machine with 16 cores.

share|improve this question
I don't understand the question. On most architectures, the RAM is shared between all cores. Processes aren't associated with particular cores either. What information are you after? –  Gilles May 27 '11 at 21:37
I have added fragment of Makefile template of said app that talks about "memory per core". Your guess is as good as mine in what it mean; I think it might be total memory / number of cores (CPUs). –  Jakub NarÄ™bski May 28 '11 at 6:13
It depends on what the program does with that parameter. Total memory / number of cores would be a good starting point, but if it actually tries to allocate that much memory per core, you'd probably want to use a smaller value. On the other hand, maybe that parameter is only for use on NUMA machines. You haven't given us enough information for a definitive answer. –  cjm May 28 '11 at 8:00
Is this scientific app open source? If so, what is its homepage? –  Philip Durbin Oct 23 '11 at 0:57
Voting to close as there is not enough information provided here. –  Stéphane Gimenez Feb 15 '12 at 18:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.