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