Re: NCAR Graphics on 64 bit AMD Opteron (x86-64) and MM5

From: Rick Grubin (grubin AT ucar.edu)
Date: Thu Oct 14 2004 - 15:28:01 MDT

  • Next message: Cathryn Meyer: "ctrans issues"

    Siji and Michael and ncarg-talk folks,

    With regard to building NCAR Graphics on an AMD Opteron 64 host running
    Linux, there's a bit of configuration work that you'll need to do in order
    to build properly/cleanly. Let's assume:

    $NCARG_ROOT_SRC = /dir/where/you/untarred/ncarg/source/code

    Step-by-step:

    1. edit $NCARG_ROOT_SRC/config/LINUX.pgi
         change: #define ArchRecLibSearch -L/usr/X11R6/lib
             to: #define ArchRecLibSearch -L/usr/X11R6/lib64

         change: FC = $(F77)
             to: FC = $(F90)

    2. cp $NCARG_ROOT_SRC/LINUX.pgi $NCARG_ROOT_SRC/LINUX

    3. Setting these environment variables can be useful:

          CC=pgcc
          CPPFLAGS=-DNDEBUG -DpgiFortran
          CFLAGS=-O -Msignextend -Mreentrant -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
          FC=pgf90
          F77=pgf77
          F90=pgf90
          FFLAGS=-O -w -Msignextend -Mreentrant -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
          CXX=pgCC
          LIBS=-L/opt/pgi/linux86-64/5.1/lib -lpgc -lpgf90

          (note: -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE are not strictly
           required but do not hurt)

    4. Run 'Configure' and then 'make'

    Alternately, I've created a binary NCAR Graphics distribution for AMD
    Opteron 64 hosts, which is available via anonymous ftp:

      ftp.ucar.edu
      login: anonymous
      passwd: your email address

      cd to 'ncl'
      file is: ncarg-4.4.0-x86_64.tar.gz

    Please let me know of any questions.

    -Rick.

    --
    Rick Grubin                     Visualization + Enabling Technologies
    Scientific Computing Division   National Center for Atmospheric Research   
    grubin@ucar.edu                 303.497.1832
    

    _______________________________________________ ncarg-talk mailing list ncarg-talk@ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncarg-talk



    This archive was generated by hypermail 2b29 : Fri Oct 15 2004 - 13:59:20 MDT