From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2006-11-07 10:22:49


Jim --

I see this from last night:

hello.f:
PGFTN-S-0034-Syntax error at or near identifier programmain (hello.f:
18)

It looks like you're using PGI 6.1-3. I tested my trivial hello.f
program with PGI 6.1-1 on an IU machine. Can you try compiling the
following program with mpif77 and tell me what happens?

         program main
         implicit none
         include 'mpif.h'
         integer rank, size, ierr
         call MPI_INIT(ierr)
         call MPI_COMM_RANK(MPI_COMM_WORLD, rank, ierr)
         call MPI_COMM_SIZE(MPI_COMM_WORLD, size, ierr)
         print *, 'Hello, Fortran 77 world, I am ', rank, ' of ', size
         call MPI_FINALIZE(ierr)
         end

It's apparently complaining about the "end" statement; I don't know why.

-- 
Jeff Squyres
Server Virtualization Business Unit
Cisco Systems