Thanks!  I will post a bug with PGI.

Brock Palen
www.umich.edu/~brockp
Center for Advanced Computing
brockp@umich.edu
(734)936-1985



On Jul 23, 2008, at 4:50 PM, Brian Dobbins wrote:
Hi Brock,

  Just to add my two cents now, I finally got around to building WRF with PGI 7.2 as well.  I noticed that in the configure script there isn't an option specifically for PGI (Fortran) + PGI (C), and when I try that combination I do get the same error you have - I'm doing this on RHEL5.2, with PGI 7.2-2.  There is a 7.2-3 out that I haven't tried yet, but they don't mention anything about this particular error in the fixes section of their documentation, so I'm guessing they haven't come across it yet.

  .. In the meantime, you can successfully build WRF with a PGI (Fortran) + GCC (C) OpenMPI install.  I just did that, and tested it with one case, using OpenMPI-1.2.6, PGI 7.2-2 and GCC 4.1.2 on the same RHEL 5.2 system. 

  In a nutshell, I'm pretty sure it's a PGI problem.  If you want to post it in their forums, they're generally pretty responsive. (And if you don't, I will, since it'd be nice to see it work without a hybrid MPI installation!)

  Cheers,
  - Brian


Brian Dobbins
Yale Engineering HPC


On Wed, Jul 23, 2008 at 12:09 PM, Brock Palen <brockp@umich.edu> wrote:
Not yet, if you have no ideas I will open a ticket.


Brock Palen
www.umich.edu/~brockp
Center for Advanced Computing
brockp@umich.edu
(734)936-1985



On Jul 23, 2008, at 12:05 PM, Jeff Squyres wrote:
Hmm; I haven't seen this kind of problem before.  Have you contacted PGI?


On Jul 21, 2008, at 2:08 PM, Brock Palen wrote:

Hi, When compiling WRF with PGI-7.2-1  with openmpi-1.2.6
The file buf_for_proc.c  fails.  Nothing specail about this file sticks out to me.  But older versions of PGI like it just fine.  The errors PGI complains about has to do with mpi.h though:

[brockp@nyx-login1 RSL_LITE]$ mpicc  -DFSEEKO64_OK  -w -O3 -DDM_PARALLEL   -c buf_for_proc.c
PGC-S-0036-Syntax error: Recovery attempted by inserting identifier .Z0000 before '(' (/home/software/rhel4/openmpi-1.2.6/pgi-7.0/include/mpi.h: 823)
PGC-S-0082-Function returning array not allowed (/home/software/rhel4/openmpi-1.2.6/pgi-7.0/include/mpi.h: 823)
PGC-S-0043-Redefinition of symbol, MPI_Comm (/home/software/rhel4/openmpi-1.2.6/pgi-7.0/include/mpi.h: 837)
PGC/x86-64 Linux 7.2-1: compilation completed with severe errors

Has anyone else seen that kind of problem with mpi.h  and pgi?  Do I need to use -c89  ?  I know PGI changed the default with this a while back, but it does not appear to help.

Thanks!


Brock Palen
www.umich.edu/~brockp
Center for Advanced Computing
brockp@umich.edu
(734)936-1985



_______________________________________________
users mailing list
users@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users


--
Jeff Squyres
Cisco Systems

_______________________________________________
users mailing list
users@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users



_______________________________________________
users mailing list
users@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users

_______________________________________________
users mailing list
users@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users