From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653669621878.tru64-unix-managers.marc@archive.invalid> From: Sung Moon Kang Date: Sun, 12 Aug 2001 23:46:11 +0000 To: tru64-unix-managers Subject: Fortran v5.4A OpenMP call errors X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653669621878 I've just finished setting up a brand new DS20E (with 2 CPU's running Tru64 UNIX 5.1A Patch Kit 3 [t64v51AS0003-20010521 -- the new one] ) up and running (including the installation of C++ and Fortran from the Layer Products CD). However, we are getting an error with a Fortran 90 program: ------ error message -------- f90 -O5 -r8 -omp -c subah.f f90: Error: subah.f, line 231: This name does not have a type, and must have an explicit type. [OMP_GET_NUM_PROCS] ntask=omp_get_num_procs() ------------^ f90: Error: subah.f, line 311: This name does not have a type, and must have an explicit type. [OMP_GET_THREAD_NUM] taskID=omp_get_thread_num() ---------------^ *** Exit 1 Stop. ------ end of error message -------- So obviously the problem is with the OpenMP calls, but the programmer and I can't figure out what's missing. I've now un-installed and re-installed Fortran 5.4A (from the Layered Products CD) and the EC02 patch from the web site several times. And we still get the error. I've also had the DXML (now apparently obsolete) libraries and the CXML libraries installed at the same time. Currently, I have not installed the DXML library but have the CXML libraries (which is installed by the Fortran installer). There's also the High Performance Libraries v 1.8-5 and v1.9 (again by the Fortran installer and the EC02 patch). So I'm mystified and pretty close to giving up and calling Compaq Support. But before I deal with that hell, I was hoping someone here could help me out. Am I supposed to un-install DFABASE541 before installing DFABASE542? Are we missing a declaration in the program itself? I've never programmed on a multi-cpu system before, so please use small words so that I can understand. :-) Many thanx in advance.