Newsgroups: comp.parallel.mpi
From: getin@uni-paderborn.de (Markus Fischer)
Subject: Problems compiling mpich for sun4
Organization: Universitaet Paderborn, Germany
Date: 2 Oct 1996 13:07:36 GMT
Message-ID: <52tpeo$vv@news.uni-paderborn.de>

hi,
we get the following problems when compiling on a sun4.
after having configured we call make and get:
ranlib ../../../../lib/sun4/ch_p4/libmpi.a
if [ ! -s adi2recv.c ] ; then ln -s ../ch2/adi2recv.c adi2recv.c ; fi
cc -DFORTRANUNDERSCORE  -DMPE_USE_EXTENSIONS=1 -DHAS_XDR=1  -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYSTEM=1 -DHAVE_NICE=1 -DMPI_ADI2 -I../../mpid/ch2    -I../.. -I../../include -I./ -I../ch2  -I../util -Ip4-1.4/include  -DMPID_DEVICE_CODE  -DHAVE_GETHOSTNAME=1 -DHAVE_UNAME=1  -DMPID_DEBUG_NONE -DMPID_STAT_NONE   -DMPE_USE_EXTENSIONS=1 -DHAVE_GETTIMEOFDAY=1  -c adi2recv.c 
p4-1.4/include/p4_MD.h: 396: Can't find include file sys/systeminfo.h
p4-1.4/include/p4_MD.h: 397: Can't find include file sys/processor.h
p4-1.4/include/p4_MD.h: 398: Can't find include file sys/procset.h
p4-1.4/include/p4_MD.h: 399: Can't find include file synch.h
p4-1.4/include/p4_MD.h: 687: Can't find include file sys/systeminfo.h
*** Error code 2
make: Fatal error: Command failed for target `adi2recv.o'
Current working directory /tmp_mnt/homes1/uranus/mpi/mpich1.0.13/mpich/mpid/ch_p4
*** Error code 1

this is pretty bad. do we have to change some flags ?
we looked in the headerfiles and we have seen a ifdef (SUN_SOLARIS) which is
set to true for sun4. then the missing headerfiles are included which cause
the problem above ..

any ideas ?

Markus



--
#-----------------------------------------------------------------------#
# Markus Fischer            Vogeliusweg 19  |  104 Ayres Hall           #
#                           33100 Paderborn |  Knoxville, TN 37996      #
#                           Germany         |  USA                      #
#-----------------------------------------------------------------------#
# getin@uni-paderborn.de    SHK PC^2 (PVM, MPI support,META-Computing), #
#                           Diplomand AG Monien                         #
#-----------------------------------------------------------------------#
# fischer@cs.utk.edu        PVM for WIN32                               #
#                           Research Assitant for Jack Dongarra         #
#-----------------------------------------------------------------------#

