SEARCH
TOOLBOX
LANGUAGES
Forum Menu

How to define the optimum value of ARMCI DEFAULT SHMMAX?

From NWChem

Viewed 592 times, With a total of 3 Posts
Jump to: navigation, search

Clicked A Few Times
Threads 3
Posts 6
Hi,

I compiled the nwchem-6.0 with Intel 11.x compilers, OpenMPI/1.4.2 and OPENIB flag to use it on the Infiniband em64t cluster. I found the script 'getmem.newchem' in nwchem-6.0/contrib subdirecotry, which was handy to define the preprocessor memory-related directive "-DDFLT_TOT_MEM=value".

However, neither installation nor users' guide has information on how to define the optimum value of ARMCI_DEFAULT_SHMMAX, which must be specified in run-time. Can somebody instruct me how to define the optimum value for ARMCI_DEFAULT_SHMAX ?

Regards,

Ivan Rostov
ANU Supercomputer Facility
Leonard Huxley Bldg #56
The Australian National University
Canberra ACT 0200 Australia

Gets Around
Threads 1
Posts 173
Answer
You do not have to define it to run. It will use the default value. Global arrays use shared memory (which is what is used for the global portion of the memory for fast access to data as it is pinned. If the shared memory needed by the global arrays exceeds the shared block it will simply allocate another block. You can increase the initial block size (which is in megabytes) by setting ARMCI_DEFAULT_SHMMAX to 2048 or larger, but remember this memory will be pinned, used or not.

Bert

Clicked A Few Times
Threads 3
Posts 6
then a question what is the default value?
The doqmtests pass if I specify ARMCI_DEFAULT_SHMMAX=128, when running on one or several SMP nodes of 8 cores each (SMP RAM 24GB, though /proc/sys/kernel/shmmax value is 17179869184 or 16GB). Without the explicit specification, they fail.

Gets Around
Threads 1
Posts 173
Depends on how it is compiled. What NWCHEM_TARGET are you using?

Quote:Rostov Mar 30th 3:20 am
The doqmtests pass if I specify ARMCI_DEFAULT_SHMMAX=128, when running on one or several SMP nodes of 8 cores each (SMP RAM 24GB, though /proc/sys/kernel/shmmax value is 17179869184 or 16GB). Without the explicit specification, they fail.


Forum >> NWChem's corner >> Compiling NWChem


               
         

Post Title

You are posting a



Who's here now Members 0 Guests 0 Bots/Crawler 1


AWC's: 2.5.10 MediaWiki - Stand Alone Forum Extension
Forum theme style by: AWC