<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div class="">Hello,</div><div class=""><br class=""></div><div class="">The responses to the unix commands asked for in the web site are below.</div><div class=""><br class=""></div><div class="">Here is my problem. I am having no problem using ncargf90 to compile my code. However, when the <b class="">“permil” </b>call is made I get the following error….</div><div class=""><br class=""></div><div class=""><div class=""><b class="">gram received signal SIGSEGV: Segmentation fault - invalid memory reference.</b></div><div class=""><b class=""><br class=""></b></div><div class=""><b class="">Backtrace for this error:</b></div><div class=""><b class="">#0 0x10413f72c</b></div><div class=""><b class="">#1 0x10413ead3</b></div><div class=""><b class="">#2 0x7fff72703b3c</b></div><div class=""><b class="">#3 0x7fff725be958</b></div><div class=""><b class="">#4 0x10413f078</b></div><div class=""><b class="">#5 0x1042fbf25</b></div><div class=""><b class="">#6 0x10430ccf7</b></div><div class=""><b class="">#7 0x103b30b5c</b></div><div class=""><b class="">#8 0x103b31535</b></div><div class=""><b class="">#9 0x103b15a45</b></div><div class=""><b class="">#10 0x103ba4c6f</b></div><div class=""><b class="">Segmentation fault</b></div></div><div class=""><b class=""><br class=""></b></div><div class=""><br class=""></div><div class="">I thought is might have been a memory allocation, but I have the .cshrc and .login setting up the memory with </div><div class="">limit stack size unlimited</div><div class=""><br class=""></div><div class="">John</div><div class=""><br class=""></div><div class=""><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">[Johns-MacBook-Air:~] jmoisan% which ncl</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">/usr/local/ncl-6.5.0/bin/ncl</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">[Johns-MacBook-Air:~] jmoisan% otool -L 'which ncl'</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">/Library/Developer/CommandLineTools/usr/bin/objdump: 'which ncl': No such file or directory</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">[Johns-MacBook-Air:~] jmoisan% env | grep NCARG</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">NCARG_ROOT=/usr/local/ncl-6.5.0</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">[Johns-MacBook-Air:~] jmoisan% which gcc</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">/usr/local/bin/gcc</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">[Johns-MacBook-Air:~] jmoisan% which gfortran</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">/usr/local/bin/gfortran</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">[Johns-MacBook-Air:~] jmoisan% gfortran --version</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">GNU Fortran (GCC) 8.1.0</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">Copyright (C) 2018 Free Software Foundation, Inc.</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">This is free software; see the source for copying conditions. There is NO</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"><span class="" style="font-variant-ligatures: no-common-ligatures;"></span><br class=""></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">[Johns-MacBook-Air:~] jmoisan% gcc --version</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">gcc (GCC) 8.1.0</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">Copyright (C) 2018 Free Software Foundation, Inc.</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">This is free software; see the source for copying conditions. There is NO</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</span></div><div class=""><span class="" style="font-variant-ligatures: no-common-ligatures;"><br class=""></span></div></div></body></html>