[ncl-install] Ncl Mac Troubleshooting

Alyssa aatwood at uw.edu
Wed Mar 16 11:35:30 MDT 2016


Hi Mary,

I have seen the solution you posted below- this is the reason I updated my version of GCC to 4.9.3 (according to the filename of the NCL tar file, it was built with 4.9.2). As per the instructions in the link you sent, I have updated my gcc/gfortran compiler, confirmed that the new compiler is in “opt/local/lib/gcc49”, and set the environment variable DYLD_FALLBACK_LIBRARY_PATH in .profile.

These steps have not seemed to resolve the problem. Do you have any thoughts on what else the issue might be?

Kind regards,
Alyssa


> On Mar 16, 2016, at 11:29 AM, Mary Haley <haley at ucar.edu> wrote:
> 
> Alyssa,
> 
> This problem is likely due to you having an older version of the gnu compilers than what NCL was built with.
> 
> We've documented the problem and its solution here:
> 
> http://www.ncl.ucar.edu/Download/macosx.shtml#libgomp <http://www.ncl.ucar.edu/Download/macosx.shtml#libgomp>
> 
> Please see if this fixes your issue.
> 
> Good luck,
> 
> --Mary
> 
> 
> On Tue, Mar 15, 2016 at 6:42 PM, Alyssa <aatwood at uw.edu <mailto:aatwood at uw.edu>> wrote:
> Hi Mary,
> 
> I am also having troubles downloading NCL on my new Mac (running OS X 10.11.3). I have downloaded the OPeNDAP-enabled Mac 10.10 version of NCL (ncl_ncarg-6.3.0.MacOS_10.10_64bit_gcc492). When I type "ncl -V”, the output is “6.3.0”. But when I type "ng4ex xy01n -clean”, I receive the following error message:
> 
> dyld: Library not loaded: /usr/local/lib/libgomp.1.dylib
>   Referenced from: /usr/local/bin/ncargpath
>   Reason: image not found
> Trace/BPT trap
> 
> I have updated my version of gcc to 4.9.3. The file libgomp.1.dylib exists in the location: /opt/local/lib/gcc49.
> 
> In .profile, I have the following:
> 
> export PATH=/opt/local/bin:/opt/local/sbin:$PATH
> # Finished adapting your PATH environment variable for use with MacPorts.
> export NCARG_ROOT=/usr/local/ncl-6.3.0
> export PATH=$NCARG_ROOT/bin:$PATH
> export DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib/gcc49
> export PATH=/opt/local/lib/gcc49:$PATH
> export DYLD_LIBRARY_PATH=/opt/local/lib/gcc49
> 
> Do you know what the issue is here? Thank you in advance for any help you can provide!
> 
> Kind regards,
> Alyssa
> 
>> On Mar 14, 2016, at 3:39 PM, Mary Haley <haley at ucar.edu <mailto:haley at ucar.edu>> wrote:
>> 
>> Thomas,
>> 
>> I think you found an out-dated link that contained a special binary we created for somebody.
>> 
>> We recommend these download instructions:
>> 
>> http://www.ncl.ucar.edu/Download/ <http://www.ncl.ucar.edu/Download/>
>> http://www.ncl.ucar.edu/Download/install.shtml <http://www.ncl.ucar.edu/Download/install.shtml>
>> 
>> [1] The first step is to "download the appropriate binary" for your system. 
>> I suggest downloading one of our precompiled binaries for MacOS:
>> 
>> OPeNDAP-enabled:
>> https://www.earthsystemgrid.org/dataset/ncl.630.0.html <https://www.earthsystemgrid.org/dataset/ncl.630.0.html>
>> 
>> Non OPeNDAP-enabled:
>> https://www.earthsystemgrid.org/dataset/ncl.630.1.html <https://www.earthsystemgrid.org/dataset/ncl.630.1.html>
>> 
>> With either link, click on the "Download Options" link and select the binary that has "MacOS_10.10" in the name, which should be compatible for your 10.11 system.
>> 
>> [2] The second step is to decide where you want NCL V6.3.0 to reside on your system, and then extract the gzipped tar files from this location.
>> 
>> http://www.ncl.ucar.edu/Download/install.shtml#ExtractFile <http://www.ncl.ucar.edu/Download/install.shtml#ExtractFile>
>> 
>> [3] The third step is to set/update the NCARG_ROOT and PATH environment variables:
>> 
>> http://www.ncl.ucar.edu/Download/install.shtml#SetNCARG_ROOT <http://www.ncl.ucar.edu/Download/install.shtml#SetNCARG_ROOT>
>> 
>> [4] The final step is to test your NCL installation. You can type these commands:
>> 
>>     ncl -V
>> 
>> and
>> 
>>   ng4ex xy01n -clean
>> 
>> --Mary
>> 
>> 
>> 
>> 
>> On Mon, Mar 14, 2016 at 12:42 PM, Gard, Thomas L. <t.gard at miami.edu <mailto:t.gard at miami.edu>> wrote:
>> 
>> Hello all,
>> 
>> I am working on installing ncl for mac, but have run into compatibility errors for OS X 10.11. I am currently at a stopping point, as the comment “wget ftp.ucar.edu <http://ftp.ucar.edu/>:” was not feasible. Also, I am at a stopping point, trying to use the comment “/usr/local/lib/libfontconfig.1.dylib”. Where should I go from here? Attached are the websites I am using as a guide.
>> 
>> 
>> http://mailman.ucar.edu/pipermail/ncl-install/2015-December/001955.html <http://mailman.ucar.edu/pipermail/ncl-install/2015-December/001955.html>
>> https://www.earthsystemgrid.org/browse/viewCollectionFilesInitial.html?datasetId=0b490558-cd9a-11e4-bb80-00c0f03d5b7c <https://www.earthsystemgrid.org/browse/viewCollectionFilesInitial.html?datasetId=0b490558-cd9a-11e4-bb80-00c0f03d5b7c>
>> 
>> Best,
>> Thomas
>> 
>> _______________________________________________
>> ncl-install mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-install <http://mailman.ucar.edu/mailman/listinfo/ncl-install>
>> 
>> 
>> _______________________________________________
>> ncl-install mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-install <http://mailman.ucar.edu/mailman/listinfo/ncl-install>
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20160316/542e291d/attachment.html 


More information about the ncl-install mailing list