[ncl-install] ncl-install Digest, Vol 101, Issue 9

Alyssa aatwood at uw.edu
Wed Mar 16 12:21:58 MDT 2016


HI Andrei,

Thank you for your help! 

The output to

> echo $DYLD_FALLBACK_LIBRARY_PATH

 is

/opt/local/lib/gcc49

and the output to:

> gcc -v


is

Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin15.3.0
Thread model: posix

Kind regards,
Alyssa

> On Mar 16, 2016, at 2:17 PM, Andrei Kurbatov <akurbatov at maine.edu> wrote:
> 
> Alyssa,
> what is the output from these commands?
> 
> echo $DYLD_FALLBACK_LIBRARY_PATH
> 
> and 
> 
> gcc -v
> Andrei
> 
>> On Mar 16, 2016, at 2:00 PM, ncl-install-request at ucar.edu wrote:
>> 
>> Send ncl-install mailing list submissions to
>> 	ncl-install at ucar.edu
>> 
>> To subscribe or unsubscribe via the World Wide Web, visit
>> 	http://mailman.ucar.edu/mailman/listinfo/ncl-install
>> or, via email, send a message with subject or body 'help' to
>> 	ncl-install-request at ucar.edu
>> 
>> You can reach the person managing the list at
>> 	ncl-install-owner at ucar.edu
>> 
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of ncl-install digest..."
>> 
>> 
>> Today's Topics:
>> 
>>  1. Re: Ncl Mac Troubleshooting (Alyssa)
>> 
>> 
>> ----------------------------------------------------------------------
>> 
>> Message: 1
>> Date: Wed, 16 Mar 2016 13:35:30 -0400
>> From: Alyssa <aatwood at uw.edu>
>> Subject: Re: [ncl-install] Ncl Mac Troubleshooting
>> To: Mary Haley <haley at ucar.edu>
>> Cc: "ncl-install at ucar.edu" <ncl-install at ucar.edu>
>> Message-ID: <66595239-0949-42FA-8B03-4B0526F244F7 at uw.edu>
>> Content-Type: text/plain; charset="utf-8"
>> 
>> 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-0001.html 
>> 
>> ------------------------------
>> 
>> _______________________________________________
>> ncl-install mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>> 
>> 
>> End of ncl-install Digest, Vol 101, Issue 9
>> *******************************************
> 
> _______________________________________________
> 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/20160316/ed26ad84/attachment-0001.html 


More information about the ncl-install mailing list