<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><font class="Apple-style-span" face="Arial">Hi Moti,</font><div><font class="Apple-style-span" face="Arial"><br></font></div><div><font class="Apple-style-span" face="Arial">You should be able to use your own compile to compiler and link and NCAR Graphics program, but there are probably some gfortran dependencies, and thus you will need to link in "-lgfortran".</font></div><div><font class="Apple-style-span" face="Arial"><br></font></div><div><font class="Apple-style-span" face="Arial">You have the compile line that was echoed from running "ncargex cpex08", so try taking that compile line, adding your own compiler, and adding -lgfortran at the end:</font></div><div><font class="Apple-style-span" face="Arial"><br></font></div><div><font class="Apple-style-span" face="Arial">&nbsp;&nbsp; &nbsp; &nbsp;pgfortran -fPIC -fno-second-underscore -O -o cpex08 cpexcc.f cpex08.f -L/usr/local/lib -L/usr/X11R6/lib64 -lncarg -lncarg_gks -lncarg_c -lX11 -lXext</font></div><div><font class="Apple-style-span" face="Arial"><br></font></div><div><font class="Apple-style-span" face="Arial">This is probably not going to work on the first try, though, because "gfortran" doesn't appear to be installed on your system. Hence "libgfortran.so", which is what "-lgfortran" is going to cause your compiler to look for, is probably not available either.</font></div><div><font class="Apple-style-span" face="Arial"><br></font></div><div><font class="Apple-style-span" face="Arial">You have two choices from here: you can try to install the same version of gfortran that was used to build this binary (gfortran 4.1.2), or you can build NCAR Graphics/NCL from scratch yourself from the source code, using your own compilers. The former choice is much easier!</font></div><div><font class="Apple-style-span" face="Arial"><br></font></div><div><font class="Apple-style-span" face="Arial">If you only plan to use NCL, and not write your own NCAR Graphics programs, then really, it's not important that you get this stuff to work. "ncl" should work just fine on your system as is.</font></div><div><font class="Apple-style-span" face="Arial"><br></font></div><div><font class="Apple-style-span" face="Arial">--Mary</font></div><div><font class="Apple-style-span" face="Tahoma" size="3"><span class="Apple-style-span" style="font-size: 13px;"><br></span></font></div><div><div><div>On Jun 24, 2011, at 12:35 PM, Mittal, Moti wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10pt; "><div style="font-family: 'Times New Roman'; color: rgb(0, 0, 0); font-size: 16px; "><div><div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10pt; "><br class="Apple-interchange-newline">I am trying to install ncl 6.00 using the binary<br>ncl_ncarg-6.0.0-beta.Linux_RedHat_x86_64_nodap_gcc412.tar<br><br>on my Linux 86-64 machine.<br><br>When I try to execute<br><br>ncargex cpex08 -clean<br><br><div>NCAR Graphics Fortran&nbsp; Example &lt;cpex08&gt;<br><br>&nbsp; Copying cpex08.f<br><br>&nbsp; Copying cpexcc.f<br><br>Compiling and linking...<br>gfortran -fPIC -fno-second-underscore -O -o cpex08 cpexcc.f cpex08.f -L/usr/local/lib -L/usr/X11R6/lib64 -lncarg -lncarg_gks -lncarg_c -lX11 -lXext<br>gfortran: Command not found.<br><br>The compile and link failed.<br><br>Is it important to have gfortran? We use pgfortran.<br>Thank you for your help and suggestion.<br><br>Moti<br><div class="BodyFragment"><font size="2"><div class="PlainText">Professor, Department of Environment and Occupational Health<br>College of Public Health<br>University of South Florida<br>13201 Bruce B. Downs Blvd., MDC56<br>Tampa, Fl 33612-3805<br><br>Tel: (813) 974-9571<br>Fax: (813) 974-4986<br>Email:<span class="Apple-converted-space">&nbsp;</span><a href="mailto:mmittal@health.usf.edu">mmittal@health.usf.edu</a></div></font></div></div></div></div></div></div>_______________________________________________<br>ncl-install mailing list<br>List instructions, subscriber options, unsubscribe:<br><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br></span></blockquote></div><br></div></body></html>