Thanks for the suggestion. After consulting with: 1) PGI tech support, 2) the FAQs at the Numerical Recipes Web site, and 3) some oher Numerical Recipe users in my work group, I wrote a small include file “nr_some.h” which contains only the five Numerical Recipe prototypes from “nr.h” that my applications actually use.
double dpythag(double a, double b);
void dsvbksb(double **u, double w, double **v, int m, int n, double b, double x);
void dsvdcmp(double **a, int m, int n, double w, double **v);
void jacobi(float **a, int n, float d, float **v, int nrot);
float selectf(unsigned long k, unsigned long n, float arr);
#endif / NR_SOME */
I still need to include the prototypes in “nrutil.h”, but these don’t cause any trouble with the new PGI 7.0 compiler.