Ruhollah Moussavi Baygi wrote:
> Hi every body at LAM/MPI
>
>
>
> Introduction:
>
> I have recently subscribed to this mailing list. I am glad to that I
> have entered the community of parallel programming.
>
> I am newbie at LAM/MPI (and not expert at LINUX) at this point; and have
> a problem with LAM/MPI 7.0.6
>
>
>
> My case:
>
> I have made my small cluster with 6 nodes (64bit) and installed CentOS
> 4.4 (64bit) on each of them. During Linux installation, I choose LAM to
> be installed for head node as well as each of compute nodes. I have done
> lamboot successfully.
>
>
>
> My questions:
>
> 1- By default, wrapper compiler mpif77 refers to g77 compiler. But, I
> want to use gfortran instead of g77 in parallel mode, .i.e. I want that
> mpif77 uses gfortran while compiling a FORTRAN program. Please help me.
>
> (I have read LAM installation guide and had a look at user guide. All
> over these mans authors pre-suppose that you want to install LAM
> yourself. However, in my case, CentOS ITSELF has installed LAM and I
> don't know where are source files, installation directory, etc.)
>
Hello,
No, you can build and install lam anywhere you like. For example, to install lam
to /home/lam and wrap gfortran as fortran compiler, try
FC=gfortran ./configure --prefix=/home/lam
in the unpacked lam source tree and the just "make" and "make install".
>
> 2- To compile and run parallel programs is it necessary to install
> LAM/MPI as well as C/F compilers in head node and ALL compute nodes?
> (NFS running on head with /home directory)
>
No, only lam-runtime is required on the nodes. If you use the configure options
suggested above, adding /home/lam/bin to your PATH will be sufficient for lam
daemon to boot up since /home can be reached by all nodes via NFS.
All these are in the documentation. The on-line faq.
http://www.lam-mpi.org/faq/
is very informative and instructive.
>
>
> Best wishes,
>
Good luck,
ST
--
|