Newsgroups: comp.parallel.mpi
From: Thomas Fuerle <fuerle@vipios.pri.univie.ac.at>
Subject: Re: MPICH on Linux Machines using Nag F90 ??
Organization: Vienna University, Austria
Date: Tue, 12 May 1998 15:14:24 +0200
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Message-ID: <35584B30.8CB9923@vipios.pri.univie.ac.at>



Peter Biechele wrote:

> I am using the NAG f90 Compiler and the MPICH 1.1 Implementation of MPI
> on Linux.
> When I try to compile F90 Programs I canīt get the Linker to find the
> correct library, because
> the Nag F90 Compiler always appends an underscore (_) to the MPI Routine
> names.
>
> So the errors are like:
> 3dturb_parallel.o(.text+0x21): undefined reference to `mpi_init_'
>
> There doesnīt seem to be any way of changing the behaviour of the Nag
> Compiler, is there
> a way to get it working anyway ??
>
> Thanks for any suggestions or solutions !!
>
> Peter Biechele

The following is the string, I passed to configure, and I got no problems with mpich
& nagf90.

./configure -fc=f90 -f90nag -opt=-O -nodevdebug

hope this helps, Tom

>
>
> --
> $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
> Dipl. Phys. Peter Biechele, Uni Freiburg, Fakultaet fuer Physik, Abt. Honerkamp,
> Tel. (0761) 203-5875,  EMail: peter.biechele@physik.uni-freiburg.de
> FAX: (0761) 203-5967, WWW: http://phym1.physik.uni-freiburg.de/~pebi
> Privat: Stefan-Meier-Str. 86, 79104 Freiburg, 0761 / 50 87 20



--
Thomas Fuerle
mailto:fuerle@vipios.pri.univie.ac.at
http://vipios.pri.univie.ac.at
Institute for Applied Computer Science and Information Systems
University of  Vienna, Rathausstr. 19/4, A-1010 Vienna, Austria
Tel: +43 1 4277 38423



