Newsgroups: comp.parallel.mpi
From: Klaus Mandel <mandel@tu-harburg.d400.de>
Subject: Re: MPICH and NAGWARE f90 on LINUX
Organization: TU Hamburg-Harburg
Date: Wed, 19 Feb 1997 11:59:56 +0100
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Message-ID: <330ADD2C.7319B953@tu-harburg.d400.de>

Frank Mahler wrote:
> 
> Hi folks,
> 
> I'm trying to use the NAGWARE-F90-Compiler (I got licensed binaries for
> Linux from the RRZN, our local provider at the Universität Hannover)
> together with the free MPICH-Implementation...
> 
> After compiling MPICH and some /etc/hosts*-fiddling to get access to at
> least my own machine :-) it's up and running, but - until now - with the
> GNU-g77 (FORTRAN-77) only.
> 
> Though there is a special configure-option in MPICH to use it with
> NAGWARE-f90 it won't work?
> 
> Any hints? Someone who got it running?
> 
> TIA, FRANK
> --
> Sometimes you've got to give a little to get a little ...
>          ... and other times I get stuck in the middle ...         (MC
> Lyte)
> 
> mailto:Frank.Mahler@stud.uni-hannover.de
> mailto:nhchance@rrzn-user.uni-hannover.de
> http://www.stud.uni-hannover.de/~mahler

Hi Frank,

there is a switch -f90nag in the configure-program. If you type

      e.g.   ./configure -arch=LINUX -device=ch_p4 -mpe -f90nag

and you have a working installation of NAG f90 then the configure 
program will find f90 automatically and use it as FORTRAN-Compiler.

The libraries are only usable with NAG f90. If you use the g77 -
Compiler you get a lot of errors.

Another tip. To compile program with f90 and mpi you need the following
compiler switch:

      -mismatch

The NAG f90 has problems with the mutitype parameters in some functions
e.g. MPI_Bcast or MPI_Send. The buffer variable can have different
datatypes. The NAG f90 without this switch takes the first appearance of
a function and fixed the datatypes for all following calls.

We are working since 6 month with NAG f90 and mpi without major
problems.


Bye
   
    Klaus   

-- 
------------------------------------------------------------
Dipl. Ing. Klaus Mandel			TU Hamburg-Harburg                
					Chemische Reaktionstechnik / VT4 
email: <mandel@tu-harburg.d400.de>	Prof. Dr. F. Keil
http://www.vt4.tu-harburg.de		Eissendorfer Str. 38
Tel.	(+49) 40 7718-2490
Fax	(+49) 40 7718-2573		21071  Hamburg
------------------------------------------------------------

