LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Farschad Torabi (farschad_at_[hidden])
Date: 2003-09-11 07:33:10


Dear Friends,
Yes Bogdan, it is FFLAGS='-Msecond_underscore'.
Anyway, I am still not able to configure LAM perfectly. Let's take a look at the final trials:
1. Setting environment variables:
   PATH=$PATH:/usr/pgi/bin
   PATH=$PATH:/usr/pgi/lib
   PATH=$PATH:/usr/pgi/include
   PATH=$PATH:/usr/lam-7.0/bin
   PGI=/usr/pgi
   FC=pgf90
   FFLAGS='-Msecond_underscore'
   export PATH PGI FC FFLAGS
2. Configuring:
   ./configure --prefix=/usr/lam-7.0 --with-fc=pgf90
3. make
4. make install

the installer program works a lot and lots of outputs are produced. Then when I want to compile a program, it messages me
"fpi.o(.text+0x38): undefined reference to `mpi_init_'"

I can send the config.log file too if you like.

   

-----Original Message-----
From: Bogdan Costescu <bogdan.costescu_at_[hidden]>
To: General LAM/MPI mailing list <lam_at_[hidden]>
Date: Thu, 11 Sep 2003 14:01:36 +0200 (CEST)
Subject: Re: Re: LAM: Installing LAM-MPI

On Thu, 11 Sep 2003, Farschad Torabi wrote:

> 1. When I use --with-fflags='-Msecond_score', it
> messages me "--with-fflags flag is deprecated.
> Use FFLAGS" and the program halts.

Take a better look at the message. Where does it say anything about
--with-FFLAGS ? It says about FFLAGS only, so the way to do it is:

csh > setenv FFLAGS "-Msecond_score" or
sh > FFLAGS="-Msecond_score"; export FFLAGS

then > ./configure [other options]

BTW, shouldn't the option be "-Msecond_underscore" ?

--
Bogdan Costescu
IWR - Interdisziplinaeres Zentrum fuer Wissenschaftliches Rechnen
Universitaet Heidelberg, INF 368, D-69120 Heidelberg, GERMANY
Telephone: +49 6221 54 8869, Telefax: +49 6221 54 8868
E-mail: Bogdan.Costescu_at_[hidden]
_______________________________________________
This list is archived at http://www.lam-mpi.org/MailArchives/lam/