[mvapich-discuss] Error trying to build mvapich2-1.0 with PGI (fwd)

Peter Thompson peter.thompson at totalviewtech.com
Thu Oct 11 17:14:09 EDT 2007


Hello Wei,

It looks like I never answered this question.  Sorry.  If my
recollection is correct, this particular section was changed to make
sure the documentation directories were created.  I believe the original
order sometimes missed that, or something in install-local was looking
for these directories to exist, and that may have messed things up
downstream.  So they may not be absolutely essential to ensure that
mpich2 ran correctly, but it at least missed creating the doc directory
in some situations.

Regards,
PeterT

wei huang wrote:
> Hi Peter,
> 
> Thanks for your suggestions. We've applied the changes and will verify
> totalview works. However, I find the following changes to Makefile.in is
> not there for mpich2-1.0.5p4 either. Does it really affect correctness?
> 
> Thanks.
> 
> -- Wei
> 
>>> diff -rc src.orig/Makefile.in src/Makefile.in
>>> *** src.orig/Makefile.in	2006-08-11 09:54:48.000000000 -0400
>>> --- src/Makefile.in	2006-09-21 11:09:55.331187000 -0400
>>> ***************
>>> *** 114,125 ****
>>>   	if [ ! -d ${DESTDIR}${htmldir} ] ; then $(MKDIR_P) ${DESTDIR}${htmldir} ; fi
>>>   	if [ ! -d ${DESTDIR}${mandir} ] ; then $(MKDIR_P) ${DESTDIR}${mandir} ; fi
>>>   	if [ ! -d ${DESTDIR}${includedir} ] ; then $(MKDIR_P) ${DESTDIR}${includedir} ; fi
>>> ! 	${MAKE} install-local
>>> ! 	$(INSTALL_DATA) src/include/mpi.h ${DESTDIR}${includedir}/mpi.h
>>>   	if [ ! -d ${DESTDIR}${exec_prefix} ] ; then $(MKDIR_P) ${DESTDIR}${exec_prefix} ; fi
>>>   	if [ ! -d ${DESTDIR}${libdir} ] ; then $(MKDIR_P) ${DESTDIR}${libdir} ; fi
>>>   	$(INSTALL_DATA) lib/lib${MPILIBNAME}.a ${DESTDIR}${libdir}/lib${MPILIBNAME}.a
>>> - 	if [ ! -d ${DESTDIR}${docdir} ] ; then $(MKDIR_P) ${DESTDIR}${docdir} ; fi
>>>   	@if test -d $(srcdir)/www && cd $(srcdir)/www ; then \
>>>   	 for name in * ; do \
>>>   	  if [ -f $$name ] ; then \
>>> --- 114,125 ----
>>>   	if [ ! -d ${DESTDIR}${htmldir} ] ; then $(MKDIR_P) ${DESTDIR}${htmldir} ; fi
>>>   	if [ ! -d ${DESTDIR}${mandir} ] ; then $(MKDIR_P) ${DESTDIR}${mandir} ; fi
>>>   	if [ ! -d ${DESTDIR}${includedir} ] ; then $(MKDIR_P) ${DESTDIR}${includedir} ; fi
>>> ! 	if [ ! -d ${DESTDIR}${docdir} ] ; then $(MKDIR_P) ${DESTDIR}${docdir} ; fi
>>>   	if [ ! -d ${DESTDIR}${exec_prefix} ] ; then $(MKDIR_P) ${DESTDIR}${exec_prefix} ; fi
>>>   	if [ ! -d ${DESTDIR}${libdir} ] ; then $(MKDIR_P) ${DESTDIR}${libdir} ; fi
>>> + 	${MAKE} install-local
>>> + 	$(INSTALL_DATA) src/include/mpi.h ${DESTDIR}${includedir}/mpi.h
>>>   	$(INSTALL_DATA) lib/lib${MPILIBNAME}.a ${DESTDIR}${libdir}/lib${MPILIBNAME}.a
>>>   	@if test -d $(srcdir)/www && cd $(srcdir)/www ; then \
>>>   	 for name in * ; do \
>>>   	  if [ -f $$name ] ; then \
> 
> 


More information about the mvapich-discuss mailing list