LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Sriram Sankaran (ssankara_at_[hidden])
Date: 2002-09-20 15:31:51


Hi,

You will have to specify the fortran compiler to be used, at compile-time.
See the related FAQ at the following link:
http://www.lam-mpi.org/faq/category2.php3#question12

Also, generally speaking, it is a bad idea to mix vendor compilers within
the same executable. Sometimes it works, and sometimes it doesn't. For
example, gcc works with cc, but g++ doesn't work with CC on Solaris.

So, unless you have vendor docs that ensure cross-compatibility, it is not
a very good idea to mix compilers.

Hope this helps.

--
Sriram Sankaran
em_at_il: ssankara_at_[hidden]
http://www.lam-mpi.org/
Thus spake Zongjun Hu, on Sep 19:
>Date: Thu, 19 Sep 2002 10:36:25 -0700 (PDT)
>From: Zongjun Hu <zongjunhu_at_[hidden]>
>Reply-To: lam_at_[hidden]
>To: lam_at_[hidden]
>Subject: LAM: fortran compiler problem
>
>
>Hi, everyone,
>
>I am new to lam mpi. I have a quesiton. Can I use another Fortran compiler instead of the default f77 on Redhat linux? Our system has been set up with specifying f77as the fortran compiler. I do not want to reinstall lammpi again. I just want to redirect the compiler to another one.
>
>When I read the instruction to installing lam-mpi from lam-mpi.org, it is said that, all the compilers should come from the same vendor. Does that mean I will not be able to use another compiler for Fortran even I reinstall the system? Currently all the C and C++ compiler is gnu compiler.
>
>Thank you.
>
>
>
>Regards,
>
>Zongjun Hu
>-------------------------
>6329 SW 33rd ST
>Miami, FL 33155
>zongjunhu_at_[hidden]
>zjhu.myetang.com
>
>
>
>---------------------------------
>Do you Yahoo!?
>Yahoo! News - Today's headlines
_______________________________________________
This list is archived at http://www.lam-mpi.org/MailArchives/lam/