Should I install Anaconda (or miniconda) Python?

2023-04-28 Thread Tao Zhang
Hi, all   I want to attend a python workshop which requires the installation of Anaconda Python, see the info. below.   Since I have already installed python in my Macbook pro through Macport (see info. below),   I am asking if I still need to install Anaconda Python?   Does this Anaconda

Re: Should I install Anaconda (or miniconda) Python?

2023-04-29 Thread Tao Zhang
usually create new ports for any missing packages. On Apr 28, 2023, at 7:13 PM, Tao Zhang wrote: Hi, all I want to attend a python workshop which requires the installation of Anaconda Python, see the info. below. Since I have already installed python in my Macbook pro through Macport (see

Re: Should I install Anaconda (or miniconda) Python?

2023-04-29 Thread Tao Zhang
rs/tzhang/anaconda3/bin:$PATH"     fi fi unset __conda_setup # <<< conda initialize <<< --- 4) [MacBook-Pro:~] tzhang% conda deactivate [MacBook-Pro:~] tzhang% python3 python3: Command not found. On 4/28/23 6:57 PM, Balthasar Indermuehle wrote: The same, so long as your anaco

Re: Should I install Anaconda (or miniconda) Python?

2023-04-29 Thread Tao Zhang
re. Where does /opt/local/bin/python3 point? Dr Balthasar Indermühle Inside Systems Pty Ltd 5007/101 Bathurst Street Sydney NSW 2000, Australia t: +61 (0)405 988 500 On Sun, 30 Apr 2023 at 02:27, Tao Zhang wrote: Hi Balthasar & all,   After I installed Anaconda python, previous c

Re: Should I install Anaconda (or miniconda) Python?

2023-04-29 Thread Tao Zhang
Hi all,   If I want to completely remove installed anaconda python and associated package,   Should I use the following command?  "conda remove --all"  Thanks  Tao On 4/29/23 10:46 AM, Tao Zhang wrote:  My .cshrc file is not changed. The only changed file is .bash_profile (see

Re: Should I install Anaconda (or miniconda) Python?

2023-04-29 Thread Tao Zhang
  I have to use "source .cshrc" to change back to previous state.   Although I delete all sentences in .bash_profile, it still comes with anaconda environments when I start a new terminal.  Weird! On 4/29/23 10:46 AM, Tao Zhang wrote:  My .cshrc file is not changed. The only chang

dyld: Library not loaded: @rpath/libgcc_s.1.1.dylib

2023-04-29 Thread Tao Zhang
Hi, After I install "py39-cartopy" (see below), NCL does not work any more (it works well before) It said "dyld: Library not loaded: @rpath/libgcc_s.1.1.dylib"  Do you know how to fix it?  Thanks  Tao MacBook-Pro:~ 213;ncl dyld: Library not loaded: @rpath/libgcc_s.1.1.dylib   Referenced fr

How can I restore /opt/local from time machine backup drive?

2023-04-29 Thread Tao Zhang
All,   I want to follow the following procedure to restore /opt/local to previous date from time machine external drive, but I get “Time Machine” can’t be modified or deleted because it’s required by macOS." error message after I click "restore" button.  Do you know how to fix it? Thanks,

Re: How can I restore /opt/local from time machine backup drive?

2023-04-29 Thread Tao Zhang
ing the date in the timeline. — Peter West p...@pbw.id.au “Do not cling to me, for I have not yet ascended to the Father; but go to my brothers and say to them, ’I am ascending to my Father and your Father, to my God and your God.’” On 30 Apr 2023, at 1:12 pm, Tao Zhang wrote: All,   I wan

X11 and grads do not work after upgrading to Sonoma

2023-10-07 Thread Tao Zhang
Hi,  I have problem in X11 and grads after upgrading to  Sonoma. I am using intel i9 chip.  see below.  Do you know how to fix it?  Thanks Tao “XQuartz” is damaged and can’t be opened. MacBook-Pro-2018:~ 33;grads dyld[6709]: Library not loaded: /usr/X11/lib/libX11.6.dylib   Referenced fr

Re: X11 and grads do not work after upgrading to Sonoma

2023-10-07 Thread Tao Zhang
, Tao Zhang wrote: Hi, I have problem in X11 and grads after upgrading to Sonoma. I am using intel i9 chip. see below. Do you know how to fix it? Thanks Tao “XQuartz” is damaged and can’t be opened. MacBook-Pro-2018:~ 33;grads dyld[6709]: Library not loaded: /usr/X11/lib/libX11.6

Is there anyone who has successfully migrated Macport to Sonoma?

2023-10-08 Thread Tao Zhang
Hi,   The following is the Migration procedure as listed in Macport website.   1)  For 1. below , should I use Xcode15 or older version?   2) Does the following procedure work? Is there anyone who has successfully migrated Macport to Sonoma?  3) How long will this migration procedure take?

Re: Is there anyone who has successfully migrated Macport to Sonoma?

2023-10-08 Thread Tao Zhang
Hi Josh,  Thanks for your helpful comments. One more question:    gfortran and ifort  do not work after upgrading to Sonoma. see below.  1) Should I upgrade to the latest Xcode15 or old Xcode14 to fix this problem?  2)  It is reported that Xcode15 does not work well with Macport, right?  Than

Re: gfortran and ifort do not work after upgrading to Sonoma

2023-10-09 Thread Tao Zhang
/2022.1.0/mac/bin/intel64/../../compiler/lib/libirc.a[126](ssse3_strncpy.o)', assuming: macOS ld: warning: no platform load command found in '/opt/intel/oneapi/compiler/2022.1.0/mac/bin/intel64/../../compiler/lib/libirc.a[158](intel_mic_avx512f_memcpy.o)', assuming: macOS ld: warni

CACKey_0.7.8_Slandup.pkg installation fails

2021-07-21 Thread Tao Zhang
Hi,  I am installing "CACKey_0.7.8_Slandup.pkg" CACKey package. It failed with the following information: "The installation failed. The installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance." I just checked two directories in

wgrib2 installation error

2022-05-18 Thread Tao Zhang
Hi,   When I install wgrib2 into my Macbook pro (10.14.6), I get the following error.   Does anyone have the same issue? What causes this issue?   How to fix this it?   Thanks   Tao --->  Attempting to fetch gcc10-10.2.0_4.darwin_18.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirr

Re: wgrib2 installation error

2022-05-18 Thread Tao Zhang
his error I just followed the instructions given in the error message and did sudo port -f deactivate libunwind-headers and retried the installation, and it worked. I think I reactivated libunwind-headers after installing gcc10 Ciao Franco On 18 May 2022, at 17:31, Tao Zhang wrote: sudo port -f deactivate libunwind-headers

Re: wgrib2 installation error

2022-05-18 Thread Tao Zhang
s well?  Thanks  Tao MacBook-Pro:~ 40;which g2ctl g2ctl: Command not found. MacBook-Pro:~ 41;which wgrib2 /opt/local/bin/wgrib2 On 5/18/22 9:43 AM, Franco Vaccari wrote: Try sudo port activate libunwind-headers Ciao Franco On 18 May 2022, at 17:31, Tao Zhang wrote: Hi, When I install wg

Re: wgrib2 installation error

2022-05-18 Thread Tao Zhang
local/bin/g2ctl On 5/18/22 11:16 AM, Franco Vaccari wrote: Sorry, I’m not familiar with that. port contents wgrib2 will show what have been installed by wgrib2 Ciao Franco On 18 May 2022, at 18:53, Tao Zhang wrote: Hi Franco, wgrib2 has been installed. I have also re-activate libunwin

NCEPLIB in Mac

2022-07-07 Thread Tao Zhang
Hi,   When I install wgrib2 into my Macbook pro (10.14.6), I get the following error.   Does anyone have the same issue? What causes this issue?   How to fix this it?   Thanks   Tao --->  Attempting to fetch gcc10-10.2.0_4.darwin_18.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mir

NCEPLIB in Mac

2022-07-07 Thread Tao Zhang
Sorry for the wrong info. below is the new one. Hi, When I compile the code in other machine (maybe Linux), it works fine. But it does not work in Mac because of the lib. issue. see below. I find that there are some info. about NCEP lib., see https://github.com/NOAA-EMC/NCEPLIBS I am asking

Re: NCEPLIB in Mac

2022-07-07 Thread Tao Zhang
Sorry, I sent the wrong info. Please delete this. Thanks  Tao On 7/7/22 4:14 PM, Chris Jones wrote: The instructions given below are i think quite clear, just follow them… sudo port -f deactivate libunwind-headers Then try again. On 7 Jul 2022, at 11:11 pm, Tao Zhang wrote: Hi

Re: NCEPLIB in Mac

2022-07-07 Thread Tao Zhang
work just fine with those libs as long as you use them correctly, which it doesn’t look like you currently are doing.. On 7 Jul 2022, at 11:13 pm, Tao Zhang wrote:  Sorry for the wrong info. below is the new one. Hi, When I compile the code in other machine (maybe Linux), it works fine. But

Re: NCEPLIB in Mac

2022-07-07 Thread Tao Zhang
the OS you are actually using… On 7 Jul 2022, at 11:31 pm, Tao Zhang wrote:  Chris,  Yes. I download those *.a from other platform, not from Mac.  Gfortran works fine in my Mac if I do not call those *.a in a code. https://github.com/NOAA-EMC/NCEPLIBS does not mention which platform the