ankit ashwinbhai patel wrote:
> Hi Tim,Thanks for your reply. I do not understand your last statement \"you can\'t use ifort until you have built a copy of lam with ifort.\"For installation first i install Intel fortran compiler than i set environment variable FC=ifc and than i install lam-7.2.1 on my machine. Is it ok?I used mpif77 for compilation but it gives me following error at mpirun time.$mpirun -np 2 a.outforrtl: Illegal seekforrtl: Illegal seekforrtl: severe (20): REWIND error, unit 5, file /dev/pts/1Image
Did you follow the advice you got earlier to study lam FAQ? You should
read a little more of it. A pre-built lam which you get with a linux
distro doesn't automatically configure itself to the compiler you
prefer, among those which may be present on your system. It would be
expected to be configured to the gnu Fortran version chosen by the
distro builders. gnu and Intel Fortran are not link compatible, nor are
different major versions of gnu Fortran link compatible with each other.
You could install from the source provided with your linux distro, but
it might be better to follow the advice on the lam site. In particular,
that would make it easier for people to help.
|