Two minor patches for compiling with pgf77 on RHEL 3

From: Tod Hagan (tod AT XXXXXX)
Date: Thu Jan 29 2004 - 14:27:32 MST

  • Next message: Angel Dimitrov: "NCAR GKS and Windows"

    I ran into problems compiling with version 5.1 of the Portland Group
    compilers on Red Hat Enterprise Linux 3.

    I had to add a line to the LINUX.pgi file to prevent whitespace
    modifications that result in compile errors:

    #define CppCommand '/usr/bin/cpp -traditional'

    The attached patch also adds '-L/usr/local/pgi/linux86/5.1/lib' to the
    definition of CtoFLibraries; beware if your compiler libs are in a
    different location.

    Even with the 'traditional' switch I still encountered preprocessor
    corruption of ngmath/src/bin/nnalg/nadisp.F. The attached patch changes
    the statements in nadisp.F so to avoid the corruption.






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



    This archive was generated by hypermail 2b29 : Tue Feb 17 2004 - 08:20:42 MST