Hi Ahsan

Besides Andrew's excellent suggestion for the runtime environment.

For the installation, Open MPI configuration scripts
and Makefiles support VPATH.
Hence, you can create two separate directories to
*build* it with Gnu and Intel compilers.
Then you launch configure, make, make install from
each of these dirctories, using the appropriate compilers,
and pointing to two distinct *installation directories*
(with configure -prefix).


My two cents,
Gus Correa

On 08/04/2014 11:54 PM, Andrew Caird wrote:
Hi Ahsan,

We, and I think many people, use the Environment Modules software,
http://modules.sourceforge.net , to do this.

I hope that helps.

--andy

On Aug 4, 2014, at 11:47 PM, Syed Ahsan Ali <ahsansha...@gmail.com> wrote:


I want to compile openmpi with both intel and gnu compilers. How can I install 
both at the same time and then specify which one to use during job submission.


Regards
Ahsan
_______________________________________________
users mailing list
us...@open-mpi.org
Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
Link to this post: 
http://www.open-mpi.org/community/lists/users/2014/08/24905.php
_______________________________________________
users mailing list
us...@open-mpi.org
Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
Link to this post: 
http://www.open-mpi.org/community/lists/users/2014/08/24906.php


Reply via email to