<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Hi,</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">When I compile the code in other
      machine (maybe Linux), it works fine. But it does not work in Mac
      because of the lib. issue. see below.
      <br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">I find that there are some info. about
      NCEP lib., see <br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><a class="moz-txt-link-freetext" href="https://github.com/NOAA-EMC/NCEPLIBS">https://github.com/NOAA-EMC/NCEPLIBS</a></div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">I am asking if Macport can easily
      install some of them, especially for <a href="https://github.com/NOAA-EMC/NCEPLIBS-bacio">NCEPLIBS-bacio</a>,
      <a href="https://github.com/NOAA-EMC/NCEPLIBS-ip">NCEPLIBS-ip</a>,
      <a href="https://github.com/NOAA-EMC/NCEPLIBS-sp">NCEPLIBS-sp</a>,</div>
    <div class="moz-cite-prefix"> <br>
    </div>
    <div class="moz-cite-prefix"> <a href="https://github.com/NOAA-EMC/NCEPLIBS-w3emc">NCEPLIBS-w3emc</a>, 
      and <strong itemprop="name" class="mr-2 flex-self-stretch"><a data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" href="https://github.com/NOAA-EMC/NCEPLIBS-w3nco">NCEPLIBS-w3nco</a><br>
      </strong></div>
    <div class="moz-cite-prefix"><br>
      <strong itemprop="name" class="mr-2 flex-self-stretch"></strong></div>
    <div class="moz-cite-prefix">Also, does gfortran work with these
      libs.?<br>
      <br>
    </div>
    <div class="moz-cite-prefix">  <br>
    </div>
    <div class="moz-cite-prefix"> Thanks
      <br>
      <br>
       Tao
      <br>
      <br>
      <br>
      /Users/tzhang/Disk/CPC/mkgrbsst/anncli/File2> gflib
      gribsst.daily.PSD.SST_cli.1991-2020.f
      <br>
      ld: warning: ignoring file
      /Users/tzhang/Disk/CPC/mkgrbsst/bin/libsp_4.a, file was built for
      archive which is not the architecture being linked (x86_64):
      /Users/tzhang/Disk/CPC/mkgrbsst/bin/libsp_4.a
      <br>
      ld: warning: ignoring file
      /Users/tzhang/Disk/CPC/mkgrbsst/bin/libip_4.a, file was built for
      archive which is not the architecture being linked (x86_64):
      /Users/tzhang/Disk/CPC/mkgrbsst/bin/libip_4.a
      <br>
      ld: warning: ignoring file
      /Users/tzhang/Disk/CPC/mkgrbsst/bin/libw3emc_4.a, file was built
      for archive which is not the architecture being linked (x86_64):
      /Users/tzhang/Disk/CPC/mkgrbsst/bin/libw3emc_4.a
      <br>
      ld: warning: ignoring file
      /Users/tzhang/Disk/CPC/mkgrbsst/bin/libw3nco_4.a, file was built
      for archive which is not the architecture being linked (x86_64):
      /Users/tzhang/Disk/CPC/mkgrbsst/bin/libw3nco_4.a
      <br>
      ld: warning: ignoring file
      /Users/tzhang/Disk/CPC/mkgrbsst/bin/libbacio_4.a, file was built
      for archive which is not the architecture being linked (x86_64):
      /Users/tzhang/Disk/CPC/mkgrbsst/bin/libbacio_4.a
      <br>
      Undefined symbols for architecture x86_64:
      <br>
        "_main", referenced from:
      <br>
           implicit entry/start for main executable
      <br>
      ld: symbol(s) not found for architecture x86_64
      <br>
      collect2: error: ld returned 1 exit status
      <br>
      <br>
      /Users/tzhang/Disk/CPC/mkgrbsst/anncli/File2> which gfnew
      <br>
      gfnew:      aliased to gfortran -m64 -ffixed-line-length-0
      -finit-local-zero -fbounds-check
      <br>
      <br>
      gflib:
      <br>
      <br>
      -----
      <br>
      <br>
      #set -x
      <br>
      gfnew \
      <br>
      /Users/tzhang/Disk/CPC/mkgrbsst/bin/libsp_4.a \
      <br>
      /Users/tzhang/Disk/CPC/mkgrbsst/bin/libip_4.a \
      <br>
      /Users/tzhang/Disk/CPC/mkgrbsst/bin/libw3emc_4.a \
      <br>
      /Users/tzhang/Disk/CPC/mkgrbsst/bin/libw3nco_4.a \
      <br>
      /Users/tzhang/Disk/CPC/mkgrbsst/bin/libbacio_4.a
      <br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <br>
  </body>
</html>