Dear NCL/NCARG users,<br><br>I'm trying to compile MM5 model with NCARG using NCL/NCARG binaries, but I'm getting the following errors when I compile MM5's TERRAIN program:<br><br>a lot of undefined references to '_gfortran.....<br>
<br>please see below:<br><br>gesc.f:(.text+0x2820): undefined reference to `_gfortran_copy_string'<br>gesc.f:(.text+0x28e6): undefined reference to `_gfortran_copy_string'<br>gesc.f:(.text+0x2959): undefined reference to `_gfortran_copy_string'<br>
gesc.f:(.text+0x2a27): undefined reference to `_gfortran_st_read'<br>gesc.f:(.text+0x2a3e): undefined reference to `_gfortran_transfer_integer'<br>gesc.f:(.text+0x2a46): undefined reference to `_gfortran_st_read_done'<br>
<br>and problems with libpng<br><br>/usr/local/ncarg/lib/libncarg_gks.a(pixwrite_png.o): In function `write_png':<br>pixwrite_png.c:(.text+0x64): undefined reference to `png_create_write_struct'<br>pixwrite_png.c:(.text+0x8d): undefined reference to `png_create_info_struct'<br>
pixwrite_png.c:(.text+0xa7): undefined reference to `png_destroy_write_struct'<br>pixwrite_png.c:(.text+0xe2): undefined reference to `png_destroy_write_struct'<br>pixwrite_png.c:(.text+0x119): undefined reference to `png_init_io'<br>
pixwrite_png.c:(.text+0x12e): undefined reference to `png_malloc'<br>pixwrite_png.c:(.text+0x16d): undefined reference to `png_set_rows'<br>pixwrite_png.c:(.text+0x1b4): undefined reference to `png_set_IHDR'<br>
pixwrite_png.c:(.text+0x1dd): undefined reference to `png_write_png'<br>pixwrite_png.c:(.text+0x1ef): undefined reference to `png_destroy_write_struct'<br><br>I have installed the following package in fedora 10: libpng.1.2.35-1.fc10<br>
<br>It seems that because I'm using intel compiler with MM5, it isn'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's?<br><br><br>Best regards,<br clear="all"><br>-- <br>Mateus da Silva Teixeira<br><br>Registered Linux User #466740<br>