[mvapich-discuss] mvapich clang build fails

Justin Watson jkw104 at arl.psu.edu
Wed Mar 2 09:14:36 EST 2016


Everyone,
                I am attempting to build mvapich (version 2.2b) using  llvm (version 3.7.1) on the following system:

Linux a1.arl.psu.edu 2.6.32-358.6.2.el6.x86_64 #1 SMP Thu May 16 20:59:36 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

                I configured mvapich with the following options:

./configure --prefix=/scratch/software/mvapich/mvapich2-2.2b-llvm3.7.1 --with-device=ch3:psm --enable-cxx --enable-threads=multiple CC=clang CXX=clang++

                During the compile phase I get the following error.

  CC       src/mpi/pt2pt/lib_libmpi_la-bsend.lo
  CC       src/mpi/pt2pt/lib_libmpi_la-bsend_init.lo
  CC       src/mpi/pt2pt/lib_libmpi_la-bufattach.lo
  CC       src/mpi/pt2pt/lib_libmpi_la-buffree.lo
  CC       src/mpi/pt2pt/lib_libmpi_la-cancel.lo
  CC       src/mpi/pt2pt/lib_libmpi_la-greq_start.lo
src/mpi/pt2pt/greq_start.c:239:62: error: alias definition is part of a cycle
        MPIX_Grequest_class *greq_class) __attribute__((weak,alias("MPIX_Grequest_class_create")));


                Has anyone successfully built mvapich using clang and is it a supported compiler?  Are there other options that I should set?  Any help would be appreciated.  Also let me know if you would like additional information.

Justin K. Watson, Ph.D.
Research Associate and Assistant Professor of Nuclear Engineering
Advanced Fluid-Thermal Modeling Department
Applied Research Laboratory
The Pennsylvania State University
Phone: (814) 863-6754

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20160302/720455af/attachment.html>


More information about the mvapich-discuss mailing list