site map - email us - search  
 

General Questions

NCAR IBM Related Questions

Terrain

Regrid

Datagrid

Rawins

MM5

Graph

Conventions used in MM5

Trouble shooting and clues on various computers


 

Note on using OpenMP on a PC

Before running the code set the following:

 

Type:

Note:

1.

limit stacksize X

Where X is the stack size value, for example 256M
This may not be necessary on all computers  

 

(or)

 

 

unlimit
 
 

 

2.

setenv OMP_NUM_THREADS X

Where X is the number of threads you would like to use
 
   

3.

setenv MPSTKZ X

Where X is the stack size value, for example 256M

 

Note: If after this you get a segmentation fault when running MM5, either increase OR descrease the MPSTKZ value. MM5 needs to have MPSTKZ reasonable large to be able to run, BUT if you oversubscribe MKSTKZ, for your specific computer, you will also get a segmentation fault. If you oversubscribe MPSTKZ by a small amount (ie, 256M is the largest value your computer can use, and you set MPSTKZ to 257M), your MM5
run may well hang.
On most computers, 256M will be the largest value you can set MPSTKZ to.
 

 

UCAR Privacy Policy - Terms of Use - ©2003UCAR