To compile LAM 7.1.2 on top of intel compilers (icc,ifort,icpc)
either
Case1)
you must export some environment variables like
FC(for f77 compiler),CC(for C compiler),CXX(for C++ compiler) as follows.
export FC=ifort
export CC=icc
export CXX=icpc
Then
./configure --prefix=/installation/path --with-rsh="ssh -x"
make
make install
OR
Case 2)
./configure --with-cc=icc --with-cxx=icpc --with-fc=ifort --with-rsh="ssh -x"
make
make install
Note
See the -x option along with ssh is to disable X11 forwarding which will consume more time to get authentication.
You can also change the LAM commuincation mechanism(rsh or ssh)after installation by setting the environment variable LAMRSH.
For eg: export LAMRSH=rsh { Changes your communication mechanism to rsh }
export LAMRSH=ssh { Changes your communicaion mechanism to ssh }
Regards
Saifu
esaifu_at_[hidden]
> I'll give this a try; however, what is the -x option? I don't see it as
> being available. Is that a typo?
>
> Thanks,
>
> Allen
>
> Paul T. Bauman wrote:
>> I've compiled LAM 7.1.2 using the Intel 8.0 and Intel 8.1 compilers on
>> Linux workstations as follows:
>>
>> ./configure --without-exflags --with-rsh=ssh -x --prefix=/directory/you/want
>> make
>> make install
>>
>> Hope this helps.
>>
>> Paul
>>
>> Allen Holtz wrote:
>>
>>>Has anyone ever compiled LAM MPI using Intel compilers? If so, what
>>>options did you use? I am having difficulty getting the software compiled.
>>>
>>>Thanks,
>>>
>>>Allen
>>>_______________________________________________
>>>This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>>>
>>
>> _______________________________________________
>> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
>
>
|