[ncl-install] Segmentation fault

Yuanfu Xie yuanfu_xie at yahoo.com
Wed Jan 17 17:55:20 MST 2018


Thanks, Ted. It works now. Thanks a lot.
Yuanfu 

    On Wednesday, January 17, 2018 9:04 AM, Ted Mansell <ted.mansell at noaa.gov> wrote:
 

 This could be a stacksize issue, as the default stack size in OS X is pretty small (8MB). If you are running tcsh, try the command 'unlimit stacksize' to boost it to 65MB. If you have the default bash shell, it is something similar but not the same (ulimit?).
-- Ted

__________________________________________________________
| Edward Mansell <ted.mansell at noaa.gov>
| National Severe Storms Laboratory
|--------------------------------------------------------------
| "The contents of this message are mine personally and
| do not reflect any position of the U.S. Government or NOAA."
|--------------------------------------------------------------


On Jan 16, 2018, at 11:33 PM, Yuanfu Xie via ncl-install <ncl-install at ucar.edu> wrote:

Hello,
I have compiled a very simple program to test ncl. When I ran it with a small array, say 10x10, it ran fine. However, when I increased the sizes to 100x100 or larger, it got segmentation faults. I attached the simple code in the following for your reference. Please let me know if I did anything wrong or how to solve this problem. Thanks.
Yuanfu
program tst    integer, parameter nd = 100  real a(nd,nd)
  a = 1.0
  call opngks  call cpcnrc(a,nd,nd,nd,0.0,0.0,0.0,0,0,-1000)  call frame  call clsgks
end program_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install




   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-install/attachments/20180118/4b4f4eea/attachment.html>


More information about the ncl-install mailing list