[ncl-talk] problem for environment in mac

Mary Haley haley at ucar.edu
Tue Aug 5 13:37:17 MDT 2014


Azizul,

According to your error message, it looks like you installed NCL in
/usr/local and not /user/loca/ahaque/CMIP5.

I suggest trying:

export NCARG_ROOT=/usr/local

In the future, please post your NCL installation questions to
ncl-install at ucar.edu and not ncl-talk at ucar.edu. Thanks for your
consideration.

--Mary



On Tue, Aug 5, 2014 at 10:04 AM, Ekin Akoglu <ekin at ims.metu.edu.tr> wrote:

> Dear Azizul,
>
> There is still something wrong with your NCARG_ROOT environment variable
> setting. Please see this link http://www.ncl.ucar.edu/FAQ/#err_msgs_002
> and try to follow the instructions written there.
>
> Regards,
>
> Ekin
>
> On 5 August 2014 17:54, azizul haque <haque.azizul320 at yahoo.com> wrote:
>
>> Hi Ekin,
>> I set my path like this (export NCARG_ROOT=/user/local/ahaque/CMIP5) and
>> still having following error message. Please help me. Regards
>> Azizul
>>
>> warning:Unable to load System Resource File
>> /user/local/ahaque/CMIP5/lib/ncarg/sysresfile
>> warning:WorkstationClassInitialize:Unable to access rgb color database -
>> named colors unsupported:[errno=2]
>> warning:["Palette.c":1850]:NhlLoadColormapFiles: Invalid colormap
>> directory: /user/local/ahaque/CMIP5/lib/ncarg/colormaps
>> fatal:Could not open ($NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl)
>>  fatal:error at line 4 in file cmip5ac.ncl
>>    On Monday, 4 August 2014, 16:21, Ekin Akoglu <ekin at ims.metu.edu.tr>
>> wrote:
>>
>>
>> You should have replaced the "/path/to/your/ncl_folder" part in the
>> command statement with your NCL installation folder on your system.
>>
>> Cheers,
>>
>> Ekin
>>
>>
>> On 5 August 2014 00:16, azizul haque <haque.azizul320 at yahoo.com> wrote:
>>
>> Hi Ekin,
>> Thanks for your quick response. I did it and got following message:
>> warning:Unable to load System Resource File
>> /path/to/your/ncl_folder/lib/ncarg/sysresfile
>> warning:WorkstationClassInitialize:Unable to access rgb color database -
>> named colors unsupported:[errno=2]
>> warning:["Palette.c":1850]:NhlLoadColormapFiles: Invalid colormap
>> directory: /path/to/your/ncl_folder/lib/ncarg/colormaps
>> fatal:Could not open ($NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl)
>>  fatal:error at line 4 in file cmip5ac.ncl
>>
>> Any help
>> Azizul
>>
>>
>>
>>   On Monday, 4 August 2014, 16:00, Ekin Akoglu <ekin at ims.metu.edu.tr>
>> wrote:
>>
>>
>>  Dear Azizul,
>>
>> Could you please try setting your NCARG_ROOT environment variable like
>> below in your terminal?
>>
>> export NCARG_ROOT=/path/to/your/ncl_folder
>>
>> Cheers,
>>
>> Ekin
>>
>> On 4 August 2014 23:50, azizul haque <haque.azizul320 at yahoo.com> wrote:
>>
>> Hi NCL User
>> I was using my script and data in the NOAA lab, Boulder. Now I copied all
>> data and script into my mac pro and trying to do similar plotting and
>> getting following error message:
>> ********warning:Unable to Get System Resource File Name?
>> warning:Unable to load System Resource File (null)
>> fatal:GetSysAppDir:Unable to get a default value for the system App
>> Resource directory
>> warning:["Resources.c":734]:Unable to set appSysDir to default value -
>> Using NULL
>> fatal:GetSysAppDir:Unable to get a default value for the system App
>> Resource directory
>> warning:["Resources.c":734]:Unable to set appSysDir to default value -
>> Using NULL
>> warning:Unable to Get System Resource File Name?
>> warning:WorkstationClassInitialize:Unable to access rgb color database -
>> named colors unsupported:[errno=2]
>> NDV_COLORMAP_PATH environment variable not set:
>> defaulting to .:$NCARG_ROOT/lib/ncarg/colormaps
>> warning:["Palette.c":1844]:NhlLoadColormapFiles: Invalid directory
>> encountered in colormap path specification
>> /usr/local/bin/ncl: line 5:  1088 Segmentation fault: 11
>> /usr/local/ncl/bin/ncl "$@"*******************
>>
>> Appreciated for your kind support and cooperation.
>>
>> Regards
>> Azizul
>>
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>>
>>
>>
>>
>>
>>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140805/6cd5233e/attachment.html 


More information about the ncl-talk mailing list