[ncl-talk] gfortran not consistent with the version of NCAR Graphics

Zilore Mumba zmumba at gmail.com
Fri Apr 1 10:11:20 MDT 2022


after installing the ncl_stable environment "conda create -n ncl_stable -c
conda-forge ncl; source activate ncl_stable" and "conda install -n
ncl_stable -c conda-forge gfortran_linux-64" and then editing line 26 of
the ncargf90 script, everything is fine.
Thanks very much for all the assistance.

On Fri, Apr 1, 2022 at 5:57 PM Dave Allured - NOAA Affiliate <
dave.allured at noaa.gov> wrote:

> Zilore, not a waste of time at all.  Other NCARG users may run into the
> same questions and find this conversation to be helpful.  Thanks for
> asking.  If you get it working, please post your solution.
>
>
> On Fri, Apr 1, 2022 at 7:16 AM Zilore Mumba <zmumba at gmail.com> wrote:
>
>> Sorry, excuse me. I assumed it was a binary just by the fact that it is
>> in /usr/local/bin. I have seen it and it is editable. I will take it from
>> here and see how far I can get. I am very sorry for wasting your time on
>> this.
>>
>> On Fri, Apr 1, 2022 at 1:55 PM Dave Allured - NOAA Affiliate <
>> dave.allured at noaa.gov> wrote:
>>
>>> Please check.  I think you will find that ncargf90 is not a binary, but
>>> rather it is an executable shell script which is editable by any text
>>> editor.  Perhaps there is a file permission problem.
>>>
>>> On my computer, ncargf90 was installed by Macports, not conda.  But it
>>> should be approximately the same code.  Diagnostic commands give these
>>> results.  Do you get something similar on your system?
>>>
>>> 1> where ncargf90
>>> /opt/local/bin/ncargf90
>>>
>>>  2> file /opt/local/bin/ncargf90
>>> /opt/local/bin/ncargf90: C shell script text executable, ASCII text
>>>
>>> 3> ls -go /opt/local/bin/ncargf90
>>> -rwxr-xr-x  1   4871 Jan 27 21:04 /opt/local/bin/ncargf90
>>>
>>>
>>> On Fri, Apr 1, 2022 at 5:33 AM Zilore Mumba via ncl-talk <
>>> ncl-talk at mailman.ucar.edu> wrote:
>>>
>>>> which ncargf90 gives the binary which is not editable, so I do not know
>>>> which ncargf90 script was referred to.
>>>>
>>>> On Fri, Apr 1, 2022 at 9:40 AM Zilore Mumba <zmumba at gmail.com> wrote:
>>>>
>>>>> Thank you Dave, but ncargf90 is an executable. I do not see how it can
>>>>> be edited.
>>>>>
>>>>> On Thu, Mar 31, 2022 at 11:00 PM Dave Allured - NOAA Affiliate <
>>>>> dave.allured at noaa.gov> wrote:
>>>>>
>>>>>> Please try "which ncargf90" at the linux shell prompt.  I suspect
>>>>>> ncargf90 is buried somewhere inside a conda install block.  Also try "where
>>>>>> ncargf90" to check whether you might have multiple instances in your active
>>>>>> command path.
>>>>>>
>>>>>>
>>>>>> On Thu, Mar 31, 2022 at 2:53 PM Zilore Mumba via ncl-talk <
>>>>>> ncl-talk at mailman.ucar.edu> wrote:
>>>>>>
>>>>>>> I am trying to install RIP_47 for post-processing WRF output, having
>>>>>>> failed to compile UPP.
>>>>>>> When I run ./configure for RIP, I get the message below.
>>>>>>>
>>>>>>> *"The Fortran compiler,  gfortran  is not consistent with the
>>>>>>> version of NCAR Graphics"*
>>>>>>> I have seen the post at
>>>>>>> https://mailman.ucar.edu/pipermail/ncl-install/2019-July/002824.html
>>>>>>> .
>>>>>>> I have been able to
>>>>>>> *"install the gfortran package on conda:conda install -n ncl_stable
>>>>>>> -c conda-forge gfortran_linux-64"* as suggested
>>>>>>>
>>>>>>> But I cannot find the ncargf90 script where I can *edit line 26 *of
>>>>>>> the said script
>>>>>>> I will appreciate if someone has an answer to this, otherwise I run
>>>>>>> WRF but I cannot visualise the graphics.
>>>>>>> Thank you. Regards
>>>>>>>
>>>>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20220401/5c1c1d31/attachment.html>


More information about the ncl-talk mailing list