PattiMichelle wrote:
> I am trying to compile a FORTRAN open source program with lam-mpi on
> my AMD dual core laptop running openSuSE 10.3 x86_64. I was able to
> download and install g95:
>
> patti_at_PattiLaptop:~> g95
> g95: no input files
> patti_at_PattiLaptop:~>
>
> ...so I know it's working. I can install the lam-mpi via an .rpm file,
> but am not sure how to get the lam wrapper compiler to identify and use
> the g95 compiler. In trying to get it going, it doesn't even seem to
> find the default installations of gFortran 41 or 42.
>
> patti_at_PattiLaptop:~> mpif77
> -----------------------------------------------------------------------------
> The LAM/MPI wrapper compiler was unable to find the specified compiler
> gfortran in your PATH.
> -----------------------------------------------------------------------------
> patti_at_PattiLaptop:~>
>
> So I've been looking around on the web for which files need to have
> paths to relevant compilers but haven't come across anything that
> helps. I think this is affected by environment variables, so I should
> mention SuSE defaults to the bash shell, but to build the application I
> need to build, I must use tcsh. Can someone help me set up a lam
> configuration file so it finds/uses g95? The link to g95 (in
> /usr/local/bin) is in my path, and there doesn't seem to be any
> standalone libraries for g95 - it's just one executable file (in
> /usr/local/g95-32Bit-Integers).
>
> Thank You Very Much,
> PattiMichelle Sheaffer
>
Hello,
mpif77 is a wrapper to the underlying (default) fortran compiler when
the binary package is built. You can see what it is using the laminfo
command.
If you want to use your own compiler, you'll have to build lam yourself.
See the FAQ.
BTW, the maintainers recommend using openmpi if you're just starting
with lam.
Regards,
ST
--
|