<div dir="ltr"><div><div><div><div>Hi George,<br><br></div>Thank you. I tried reinstalling gfortran 64 bit. I think all the libraries point to the 32-bit version of the libgfortran.so.3. So I fixed it like this <br><br>export LD_PRELOAD=/usr/local/MATLAB/sys/os/glnxa64/libgfortran.so.3<br><br></div>Then it works perfectly and can execute ncl scripts. I hope this won't cause any other issues.  <br><br></div>Thank you very much <br><br>:)<br></div>Siva<br><div><div><div><div><br><br><br><br></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 7, 2018 at 11:19 AM, George Vandenberghe <span dir="ltr"><<a href="mailto:george.vandenberghe@noaa.gov" target="_blank">george.vandenberghe@noaa.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Your upgrade may have changed from 32 bit to 64 bit addressing. If so, you need<br>
<br>
to reinstall a 64 bit version of gfortran.  32 and 64 bit addressed libraries and objects<br>
<br>
are incompatible.<br>
<br>
<br>
On 4/7/2018 3:50 AM, Prasad, Siva wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
wrong ELF class: ELFCLASS32<br>
</blockquote>
<br>
</blockquote></div><br></div>