[ncl-install] Fwd: installation tests work but ncargf90 does not run
Simon Mason
simon at iri.columbia.edu
Thu Jul 22 10:32:13 MDT 2021
... To elaborate, the error messages I receive are:
1. Before conda activate
f77 -fPIC -g -O2 -fdebug-prefix-map=/build/ncl-ncarg=.
-fstack-protector-strong -fno-second-underscore -fno-range-check -fPIE
-Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,-z,now -L../../../.././shared
maps.f95 -L/usr/lib/x86_64-linux-gnu/ncarg -lncarg -lncarg_gks -lncarg_c
-lX11 -lXext -lcairo -lXrender -lfontconfig -lpixman-1 -lfreetype
-lexpat -lpng -lz -lbz2
/usr/bin/ld: cannot find -lX11
/usr/bin/ld: cannot find -lXext
/usr/bin/ld: cannot find -lcairo
/usr/bin/ld: cannot find -lXrender
/usr/bin/ld: cannot find -lfontconfig
/usr/bin/ld: cannot find -lpixman-1
/usr/bin/ld: cannot find -lfreetype
/usr/bin/ld: cannot find -lexpat
/usr/bin/ld: cannot find -lpng
/usr/bin/ld: cannot find -lz
/usr/bin/ld: cannot find -lbz2
collect2: error: ld returned 1 exit status
2. After conda activate
home/conda/feedstock_root/build_artifacts/ncl_1602173391809/_build_env/bin/x86_64-conda-linux-gnu-gfortran
-fPIC -fno-second-underscore -fno-range-check -fopenmp -O
-L/home/simon/anaconda3/envs/ncl_stable/lib -Wl,-O2 -Wl,--sort-common
-Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags
-Wl,--gc-sections -Wl,-rpath,/home/simon/anaconda3/envs/ncl_stable/lib
-Wl,-rpath-link,/home/simon/anaconda3/envs/ncl_stable/lib
-L/home/simon/anaconda3/envs/ncl_stable/lib maps.f95
-L/home/simon/anaconda3/envs/ncl_stable/lib -L/usr/X11R6/lib64 -lncarg
-lncarg_gks -lncarg_c -lX11 -lXext -lcairo -lXrender -lfontconfig
-lpixman-1 -lfreetype -lexpat -lpng -lz -lbz2
/home/conda/feedstock_root/build_artifacts/ncl_1602173391809/_build_env/bin/x86_64-conda-linux-gnu-gfortran:
Command not found.
On 7/22/21 9:54 AM, Orhan Eroglu wrote:
> Hi Simon,
>
> Could you please provide the he outputs of the following three commands:
>
> which ncl
> ncl -V
> env | grep NCARG
> Thanks!
>
> On Mon, Jul 19, 2021 at 11:13 AM Simon J Mason via ncl-install
> <ncl-install at mailman.ucar.edu <mailto:ncl-install at mailman.ucar.edu>>
> wrote:
>
> I have successfully installed NCAR Graphics on ubuntu using
> anaconda, as
>
> per the recommendation. The following commands all performed as they
> should:
>
> ncl -V
> ncl $NCARG_ROOT/lib/ncarg/nclex/gsun/gsun02n.ncl
> ncl $NCARG_ROOT/lib/ncarg/nclex/nug/NUG_multi_timeseries.ncl
>
> However, if I try to run ncargf90 on this new installation, I get
> a long error message
> ultimately saying:
>
> /home/conda/feedstock_root/build_artifacts/ncl_1602173391809/_build_env/bin/x86_64-conda-linux-gnu-gfortran:
> Command not found.
>
> I do not seem to have a /home/conda directory, and am new to Anaconda.
>
> Please advise.
>
> Many thanks,
>
> Simon Mason
>
>
> --
> ____________________________________________________________________
> Senior Research Scientist
> Chief Climate Scientist
>
> Tel : +1 845 680 4514 IRI, Columbia University
> Fax : +1 845 680 4865 61 Route 9W, PO Box 1000
> E-mail:simon at iri.columbia.edu <mailto:simon at iri.columbia.edu> Palisades, NY 10964-8000
> WWW :http://iri.columbia.edu/contact/staff-directory/simon-mason/ <http://iri.columbia.edu/contact/staff-directory/simon-mason/>
>
> Ἆρα σύ, ὦ Σώκρατες, ὁ φροντιστὴς ἐπικαλούμενος;
> Οὐκοῦν κάλλιον, ἔφη, ἢ εἰ ἀφρόντιστος ἐκαλούμην.
> Εἰ μή γε ἐδόκεις τῶν μετεώρων φροντιστὴς εἶναι.
>
> Xenophon
> ____________________________________________________________________
>
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> https://mailman.ucar.edu/mailman/listinfo/ncl-install
> <https://mailman.ucar.edu/mailman/listinfo/ncl-install>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-install/attachments/20210722/c61ef426/attachment-0001.html>
More information about the ncl-install
mailing list