Newsgroups: comp.parallel.mpi
From: Thomas Fuerle <fuerle@vipios.pri.univie.ac.at>
Subject: Re: MPICH under Linux with NAG f95
Organization: Vienna University, Austria
Date: Mon, 15 Jun 1998 12:42:02 +0200
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <3584FA7A.52AD3323@vipios.pri.univie.ac.at>

Gaetano Bellanca wrote:

> Hello,
>
> I'm trying to compile MPICH under Linux (Slackware 2.0.33).
> The c part is O.K. but how can I compile the Fortran part of this library?
> I need to use F90 and I have the new NAG f95 Compiler ... but it seems not to
> be supported.
>
> Modifying configure I can see the compiler, but the compilation stops with
> these errors
>
> >/utenti/bellanca/sw/mpi/mpich/lib/LINUX/ch_p4/libmpi.a(farg.o): In function `mpir_iargc__':
> >farg.o(.text+0x7): undefined reference to `f90_unix_env__MP_iargc'
> >/utenti/bellanca/sw/mpi/mpich/lib/LINUX/ch_p4/libmpi.a(farg.o): In function
> `mpir_getarg__':farg.o(.text+0x2c): >undefined reference to
> `f90_unix__MP_getarg'make[2]: *** [secondf] Error 1make[1]: *** [linktest]
> Error 2
> >make: *** [mpi] Error 2

I had the similar problem, running  configure with the following options did work

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

With best regards, Tom

--
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

"Don't hate yourself in the morning -- sleep till noon."



