Murali, I typically configure with CC=clang CXX=clang++ on the configure command line. Editing of the files generated by configure (such as the Makefile) is not advisable.
-Paul On Mon, Jul 18, 2016 at 1:06 PM, Emani, Murali <ema...@llnl.gov> wrote: > Hi all, > > I would like to know if there is Clang support for OpenMPI codebase. > > I am trying to change the underlying compiler from gcc to clang in > ‘configure' and ‘make all install’, I changed these values in Makefile in > root dir and another one in config directory. The steps during ‘configure’ > reflect gcc again instead of clang. Is this the right way or am I missing > something here ? > > Is the wrapper compiler environment variable ‘OMPI_CC’ intended to replace > the underlying compiler when compiling an MPI application. > > > — > Murali > > > _______________________________________________ > devel mailing list > de...@open-mpi.org > Subscription: https://www.open-mpi.org/mailman/listinfo.cgi/devel > Link to this post: > http://www.open-mpi.org/community/lists/devel/2016/07/19235.php > -- Paul H. Hargrove phhargr...@lbl.gov Computer Languages & Systems Software (CLaSS) Group Computer Science Department Tel: +1-510-495-2352 Lawrence Berkeley National Laboratory Fax: +1-510-486-6900