I have just moved my installation to a new computer, re-installed it, and have obtained a permament license for my new installation. I obtained a demo program from www.openmp.org that is having a problem including the omp_lib.h include file. This is a standard Foratran 77 OpenMP demo program that computes pi from a series. The program includes the omp_lib.h include file:
parameter ( r8_logn_max = 10 )
When I compile, this code, I am seeing a number of the following errors:
$ pgf77 -mp compute_pi.f -o compute_pi
PGFTN-S-0034-Syntax error at or near /opt/pgi/linux86-64/7.2-5/include/omp_lib.h: xx
Obviously, I am missing a lib enviroment variable or have some installation error.
If someone could suggest a solution, I would appreciate the information.