Newsgroups: comp.parallel.mpi
From: Axel vom Endt <Axel.vom.Endt@linmpi.mpg.de>
Subject: Re: MPI_GetProcessor_Name returns 1 character
Organization: MPI f. Aeronomie
Date: Wed, 01 Jul 1998 11:17:32 +0200
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <3599FEAC.B66AA54E@linmpi.mpg.de>

Well, you are declaring 'ProcessorName' as a character array of
dimension MPI_Max_Processor_Name, therefore you get just one character.
Try declaring a string of length MPI_Max_Processor_Name:

      Character(MPI_Max_Processor_Name) ProcessorName

instead of

      Character ProcessorName(MPI_Max_Processor_Name)

and it works (at least for me).

Hope that helps

	Axel

-- 
  Axel vom Endt                      Office: A2_95
  Max-Planck-Institut f. Aeronomie   Phone:  +49-(0)5556-979-481
  Postfach 20                        Fax:    +49-(0)5556-979-240
  D-37191 Katlenburg-Lindau          Email:  endt@linmpi.mpg.de

