Dear All,
I want to use lam-mpi for parallel computing on a PIV personal computer running Linux RH9. My main code is written in FORTRAN-90 and I use PGF90 for compiling and running the program. My question is how to install LAM-MPI on my computer so that I can use pgf90 as the fortran compiler instead of g77!
I have done the following steps:
1. setting following variables:
PGI=/urs/pgi
LAMHOME=/usr/lam-7.0
LAMHF77=pgi
PATH=$PATH:/usr/lam-7.0/bin
PATH=$PATH:/usr/lam-7.0/lib
PATH=$PATH:/usr/lam-7.0/include
export PGI LAMHOME PATH LAMHF77
2. configuring LAM
./configure --prefix=/usr/lam-7.0 --with-fc=pgf90 --with-FFLAGS='-Msecond_underscore -g77libs' -with-rsh='ssh-x'
3. make
4. make install
now the problem is that i am not able to build and link examples that use MPI library.
What am I doing wrong?? What should I do??
Thank you in advance.
Farschad
|