Dear NCL/NCARG users,<br><br>I&#39;m trying to compile MM5 model with NCARG using NCL/NCARG binaries, but I&#39;m getting the following errors when I compile MM5&#39;s TERRAIN program:<br><br>a lot of undefined references to &#39;_gfortran.....<br>
<br>please see below:<br><br>gesc.f:(.text+0x2820): undefined reference to `_gfortran_copy_string&#39;<br>gesc.f:(.text+0x28e6): undefined reference to `_gfortran_copy_string&#39;<br>gesc.f:(.text+0x2959): undefined reference to `_gfortran_copy_string&#39;<br>
gesc.f:(.text+0x2a27): undefined reference to `_gfortran_st_read&#39;<br>gesc.f:(.text+0x2a3e): undefined reference to `_gfortran_transfer_integer&#39;<br>gesc.f:(.text+0x2a46): undefined reference to `_gfortran_st_read_done&#39;<br>
<br>and problems with libpng<br><br>/usr/local/ncarg/lib/libncarg_gks.a(pixwrite_png.o): In function `write_png&#39;:<br>pixwrite_png.c:(.text+0x64): undefined reference to `png_create_write_struct&#39;<br>pixwrite_png.c:(.text+0x8d): undefined reference to `png_create_info_struct&#39;<br>
pixwrite_png.c:(.text+0xa7): undefined reference to `png_destroy_write_struct&#39;<br>pixwrite_png.c:(.text+0xe2): undefined reference to `png_destroy_write_struct&#39;<br>pixwrite_png.c:(.text+0x119): undefined reference to `png_init_io&#39;<br>
pixwrite_png.c:(.text+0x12e): undefined reference to `png_malloc&#39;<br>pixwrite_png.c:(.text+0x16d): undefined reference to `png_set_rows&#39;<br>pixwrite_png.c:(.text+0x1b4): undefined reference to `png_set_IHDR&#39;<br>
pixwrite_png.c:(.text+0x1dd): undefined reference to `png_write_png&#39;<br>pixwrite_png.c:(.text+0x1ef): undefined reference to `png_destroy_write_struct&#39;<br><br>I have installed the following package in fedora 10:         libpng.1.2.35-1.fc10<br>
<br>It seems that because I&#39;m using intel compiler with MM5, it isn&#39;t working with libraries compiled with other compilers. My questions are:<br><br>1) Can I compile NCAR Graphics with intel compiler and install it above the files provided with NCL/NCARG binaries download from Earth System Grid site? Could this procedure affect the functioning of NCL?<br>
<br>2) In the case of png libraries, can this error be associated with the compilation with other compiler instead of intel&#39;s?<br><br><br>Best regards,<br clear="all"><br>-- <br>Mateus da Silva Teixeira<br><br>Registered Linux User #466740<br>