<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hello,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I am triying to compile and execute and example with NCARG following the instructions on "<i>Chapter 2: Five quick steps for creating and viewing your plot"</i>, but I have a problem when I execute:
<div><br>
</div>
<b> $ env <br>
</b></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b><br>
</b></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I don't have either NCARG_ROOT, or NCARG_BIN, NCARG_LIB, and NCARG_INCLUDE set, I don't know why, because I followed the installating instrucctions (I've installed with Conda), even I tested NCL with:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b> $ ncl -V</b>
<div><b> $ ncl $NCARG_ROOT/lib/ncarg/nclex/gsun/gsun02n.ncl</b></div>
<b> $ ncl $NCARG_ROOT/lib/ncarg/nclex/nug/NUG_multi_timeseries.ncl</b></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
and all of them works, but when I execute<b>:</b></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b><br>
</b></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b><span id=""> $ ncargex</span> fcover</b></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b><br>
</b></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Output is: <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
"NCAR Graphics Fortran Fundamentals Example <fcover>
<div><br>
</div>
<div> Copying fcover.f</div>
<div><br>
</div>
<div> Copying fcover.dat</div>
<div><br>
</div>
<div>Compiling and linking...</div>
<div>/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/omar13/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/omar13/anaconda3/envs/ncl_stable/lib -Wl,-rpath-link,/home/omar13/anaconda3/envs/ncl_stable/lib -L/home/omar13/anaconda3/envs/ncl_stable/lib -o fcover fcover.f -L/home/omar13/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</div>
<div>/home/conda/feedstock_root/build_artifacts/ncl_1602173391809/_build_env/bin/x86_64-conda-linux-gnu-gfortran: Command not found.</div>
<div><br>
</div>
<span>The compile and link failed."</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span></span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
The same issue is present when I compile my own *.f program (I am sure t is rk, because I can run it with other omputher with NCL):</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b> $ ncargf77 drag_vs_step.f</b></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b><br>
</b></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b>Output is: <br>
</b></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
"/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/omar13/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/omar13/anaconda3/envs/ncl_stable/lib -Wl,-rpath-link,/home/omar13/anaconda3/envs/ncl_stable/lib -L/home/omar13/anaconda3/envs/ncl_stable/lib drag_vs_step.f -L/home/omar13/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<br>
<span>/home/conda/feedstock_root/build_artifacts/ncl_1602173391809/_build_env/bin/x86_64-conda-linux-gnu-gfortran: Command not found."</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>________________________________________________________</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span></span>Outputs from typing the following commands from a UNIX terminal window:
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b>$ conda list -n ncl_stable</b></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b><br>
</b></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b><span></span>Output:</b></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b><br>
</b>
<div># packages in environment at /home/omar13/anaconda3/envs/ncl_stable:</div>
<div>#</div>
<div># Name Version Build Channel</div>
<div>_libgcc_mutex 0.1 conda_forge conda-forge</div>
<div>_openmp_mutex 4.5 1_gnu conda-forge</div>
<div>boost-cpp 1.74.0 h9359b55_0 conda-forge</div>
<div>bzip2 1.0.8 h7f98852_4 conda-forge</div>
<div>c-ares 1.17.1 h7f98852_1 conda-forge</div>
<div>ca-certificates 2021.5.30 ha878542_0 conda-forge</div>
<div>cairo 1.16.0 h488836b_1006 conda-forge</div>
<div>cfitsio 3.470 h2e3daa1_7 conda-forge</div>
<div>curl 7.76.1 h979ede3_1 conda-forge</div>
<div>esmf 8.0.1 nompi_hcaa3220_2 conda-forge</div>
<div>expat 2.4.1 h9c3ff4c_0 conda-forge</div>
<div>fontconfig 2.13.1 hba837de_1005 conda-forge</div>
<div>freetype 2.10.4 h0708190_1 conda-forge</div>
<div>freexl 1.0.6 h7f98852_0 conda-forge</div>
<div>geos 3.8.1 he1b5a44_0 conda-forge</div>
<div>geotiff 1.6.0 h5d11630_3 conda-forge</div>
<div>gettext 0.19.8.1 h0b5b191_1005 conda-forge</div>
<div>giflib 5.2.1 h36c2ea0_2 conda-forge</div>
<div>gsl 2.6 he838d99_2 conda-forge</div>
<div>hdf4 4.2.15 h10796ff_3 conda-forge</div>
<div>hdf5 1.10.6 nompi_h7c3c948_1111 conda-forge</div>
<div>hdfeos2 2.20 h64bfcee_1000 conda-forge</div>
<div>hdfeos5 5.1.16 hb4ce793_7 conda-forge</div>
<div>icu 67.1 he1b5a44_0 conda-forge</div>
<div>jasper 1.900.1 h07fcdf6_1006 conda-forge</div>
<div>jpeg 9d h36c2ea0_0 conda-forge</div>
<div>json-c 0.13.1 hbfbb72e_1002 conda-forge</div>
<div>kealib 1.4.14 hcc255d8_2 conda-forge</div>
<div>krb5 1.17.2 h926e7f8_0 conda-forge</div>
<div>libblas 3.9.0 8_openblas conda-forge</div>
<div>libcblas 3.9.0 8_openblas conda-forge</div>
<div>libcurl 7.76.1 hc4aaa36_1 conda-forge</div>
<div>libdap4 3.20.6 hd7c4107_2 conda-forge</div>
<div>libedit 3.1.20191231 he28a2e2_2 conda-forge</div>
<div>libev 4.33 h516909a_1 conda-forge</div>
<div>libffi 3.3 h58526e2_2 conda-forge</div>
<div>libgcc-ng 9.3.0 h2828fa1_19 conda-forge</div>
<div>libgdal 3.1.4 h50e41a3_1 conda-forge</div>
<div>libgfortran-ng 7.5.0 h14aa051_19 conda-forge</div>
<div>libgfortran4 7.5.0 h14aa051_19 conda-forge</div>
<div>libglib 2.68.3 h3e27bee_0 conda-forge</div>
<div>libgomp 9.3.0 h2828fa1_19 conda-forge</div>
<div>libiconv 1.16 h516909a_0 conda-forge</div>
<div>libkml 1.3.0 h238a007_1013 conda-forge</div>
<div>libnetcdf 4.7.4 nompi_h56d31a8_107 conda-forge</div>
<div>libnghttp2 1.43.0 h812cca2_0 conda-forge</div>
<div>libopenblas 0.3.12 pthreads_hb3c22a3_1 conda-forge</div>
<div>libpng 1.6.37 h21135ba_2 conda-forge</div>
<div>libpq 12.3 h255efa7_3 conda-forge</div>
<div>librttopo 1.1.0 hb271727_4 conda-forge</div>
<div>libspatialite 5.0.1 h6ec7341_0 conda-forge</div>
<div>libssh2 1.9.0 ha56f1ee_6 conda-forge</div>
<div>libstdcxx-ng 9.3.0 h6de172a_19 conda-forge</div>
<div>libtiff 4.2.0 hbd63e13_2 conda-forge</div>
<div>libuuid 2.32.1 h7f98852_1000 conda-forge</div>
<div>libwebp-base 1.2.0 h7f98852_2 conda-forge</div>
<div>libxcb 1.13 h7f98852_1003 conda-forge</div>
<div>libxml2 2.9.10 h68273f3_2 conda-forge</div>
<div>lz4-c 1.9.3 h9c3ff4c_0 conda-forge</div>
<div>ncl 6.6.2 h087f628_23 conda-forge</div>
<div>ncurses 6.2 h58526e2_4 conda-forge</div>
<div>netcdf-fortran 4.5.3 nompi_hfef6a68_101 conda-forge</div>
<div>openjpeg 2.4.0 hb52868f_1 conda-forge</div>
<div>openssl 1.1.1k h7f98852_0 conda-forge</div>
<div>pcre 8.45 h9c3ff4c_0 conda-forge</div>
<div>pixman 0.38.0 h516909a_1003 conda-forge</div>
<div>poppler 0.89.0 h2de54a5_5 conda-forge</div>
<div>poppler-data 0.4.10 0 conda-forge</div>
<div>postgresql 12.3 hc2f5b80_3 conda-forge</div>
<div>proj 7.1.1 h966b41f_3 conda-forge</div>
<div>pthread-stubs 0.4 h36c2ea0_1001 conda-forge</div>
<div>readline 8.1 h46c0cb4_0 conda-forge</div>
<div>sqlite 3.36.0 h9cd32fc_0 conda-forge</div>
<div>tiledb 2.1.6 h91fcb0e_1 conda-forge</div>
<div>tk 8.6.10 h21135ba_1 conda-forge</div>
<div>tzcode 2021a h7f98852_1 conda-forge</div>
<div>udunits2 2.2.27.27 h975c496_1 conda-forge</div>
<div>xerces-c 3.2.3 hfe33f54_1 conda-forge</div>
<div>xorg-imake 1.0.7 0 conda-forge</div>
<div>xorg-kbproto 1.0.7 h7f98852_1002 conda-forge</div>
<div>xorg-libice 1.0.10 h7f98852_0 conda-forge</div>
<div>xorg-libsm 1.2.3 hd9c2040_1000 conda-forge</div>
<div>xorg-libx11 1.6.12 h36c2ea0_0 conda-forge</div>
<div>xorg-libxau 1.0.9 h7f98852_0 conda-forge</div>
<div>xorg-libxaw 1.0.14 h7f98852_0 conda-forge</div>
<div>xorg-libxdmcp 1.1.3 h7f98852_0 conda-forge</div>
<div>xorg-libxext 1.3.4 h516909a_0 conda-forge</div>
<div>xorg-libxmu 1.1.3 h516909a_0 conda-forge</div>
<div>xorg-libxpm 3.5.13 h516909a_0 conda-forge</div>
<div>xorg-libxrender 0.9.10 h516909a_1002 conda-forge</div>
<div>xorg-libxt 1.1.5 h516909a_1003 conda-forge</div>
<div>xorg-makedepend 1.0.6 he1b5a44_1 conda-forge</div>
<div>xorg-renderproto 0.11.1 h7f98852_1002 conda-forge</div>
<div>xorg-xextproto 7.3.0 h7f98852_1002 conda-forge</div>
<div>xorg-xproto 7.0.31 h7f98852_1007 conda-forge</div>
<div>xz 5.2.5 h516909a_1 conda-forge</div>
<div>zlib 1.2.11 h516909a_1010 conda-forge</div>
<span>zstd 1.4.9 ha95c52a_0 conda-forge</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span></span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b>$ conda --version</b></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-size:12pt"><b><span></span>Output:</b></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
<span>conda 4.10.1</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b><span></span>$ which ncl</b></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><span style="font-size:12pt"><span><b><span></span>Output:</b></span></span><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>/home/omar13/anaconda3/envs/ncl_stable/bin/ncl</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b><span></span>$ ncl -V</b></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b><br>
</b></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><span style="font-size:12pt"><span><b><span></span>Output</b></span></span></span>:<br>
<span>6.6.2</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><b>$ env | grep NCARG</b></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><b><br>
</b></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><span><span><span style="font-size:12pt"><span><b><span></span>Output</b></span></span></span>:<br>
</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><span>NCARG_ROOT=/home/omar13/anaconda3/envs/ncl_stable</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><span><br>
</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><span><br>
</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><span>___________________________________<br>
</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><span><br>
</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><span>Regards.</span></span><br>
</div>
</body>
</html>