LAM/MPI logo

XMPI User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |  

From: Aditya Datey (avdatey_at_[hidden])
Date: 2005-01-14 15:48:45


Hi,

Im trying to compile install-2.2-6.3.2 on a RH8 machine.
LAM version : 7.0.6
o/p of uname -a :
Linux m***.****.edu 2.4.22-mosix #12 SMP Sun May 2 15:35:47 EDT 2004
i686 i686
i386 GNU/Linux

g++ version 3.2

Heres the o/p of make for xmpi:
cd libxmpi; make
make[1]: Entering directory `/usr/local/xmpi-2.2-6.3.2/libxmpi'
hcc -I.. -I. -O -c -o mpitr_com.o mpitr_com.c
In file included from mpitr_com.c:42:
/usr/include/t_types.h:114: parse error before "rw"
/usr/include/t_types.h:114: parse error before "oword"
hcc: No such file or directory
make[1]: *** [mpitr_com.o] Error 1
make[1]: Leaving directory `/usr/local/xmpi-2.2-6.3.2/libxmpi'
make: *** [lib-lam] Error 2

I did compile LAM with the with-trillian option. I went through the list
archives without success.

For installing xmpi, I :
1. Unpacked it in /usr/local
2. ran ./configure --with-lam
3. ran make

Attaching the reqd. files (as per INSTALL).

Hope I can get help,
Thanks,
Aditya

checking host system type... i686-pc-linux-gnu
installing to default location "/usr/local/lam"
checking for gcc... hcc
checking whether the C compiler (hcc ) works... yes
checking whether the C compiler (hcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether hcc accepts -g... yes
checking how to run the C preprocessor... hcc -E
checking whether hcc needs -traditional... no
checking whether default compiler flags (-O) are valid... yes
checking whether the C compiler (hcc -O) accepts ANSI prototypes... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for Motif includes directory... /usr/X11R6/include
checking for Motif libraries... /usr/X11R6/lib
checking how to run the C preprocessor... hcc -E
checking for rm... /bin/rm
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
checking for sh... /bin/sh
checking whether byte ordering is bigendian... no
checking for atexit... yes
checking for getcwd... yes
checking if need to include sys/select.h... no
checking for type int4... no
checking for type float8... no
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of float... 4
checking size of double... 8
checking for ANSI C header files... yes
checking for app_mgmt.h... yes
creating ./config.status
creating ./config.mk
creating ./XMPI
creating ./Makefile
creating ./libxmpi/Makefile
creating ./xmpi_config.h
./xmpi_config.h is unchanged

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:574: checking host system type
configure:687: checking for gcc
configure:800: checking whether the C compiler (hcc ) works
configure:816: hcc -o conftest conftest.c 1>&5
configure:842: checking whether the C compiler (hcc ) is a cross-compiler
configure:847: checking whether we are using GNU C
configure:856: hcc -E conftest.c
configure:875: checking whether hcc accepts -g
configure:907: checking how to run the C preprocessor
configure:928: hcc -E conftest.c >/dev/null 2>conftest.out
configure:988: checking whether hcc needs -traditional
configure:1046: checking whether default compiler flags (-O) are valid
configure:1055: hcc -c -O conftest.c 1>&5
configure:1189: checking whether the C compiler (hcc -O) accepts ANSI prototypes
configure:1219: checking for X
configure:1533: checking for dnet_ntoa in -ldnet
configure:1552: hcc -o conftest -O conftest.c -ldnet 1>&5
/usr/bin/ld: cannot find -ldnet
collect2: ld returned 1 exit status
hcc: No such file or directory
configure: failed program was:
#line 1541 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:1574: checking for dnet_ntoa in -ldnet_stub
configure:1593: hcc -o conftest -O conftest.c -ldnet_stub 1>&5
/usr/bin/ld: cannot find -ldnet_stub
collect2: ld returned 1 exit status
hcc: No such file or directory
configure: failed program was:
#line 1582 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:1622: checking for gethostbyname
configure:1650: hcc -o conftest -O conftest.c 1>&5
configure:1720: checking for connect
configure:1748: hcc -o conftest -O conftest.c 1>&5
configure:1812: checking for remove
configure:1840: hcc -o conftest -O conftest.c 1>&5
configure:1904: checking for shmat
configure:1932: hcc -o conftest -O conftest.c 1>&5
configure:2005: checking for IceConnectionNumber in -lICE
configure:2024: hcc -o conftest -O -L/usr/X11R6/lib conftest.c -lICE 1>&5
configure:2054: checking for Motif includes directory
configure:2067: checking for Motif libraries
configure:2099: checking how to run the C preprocessor
configure:2185: checking for rm
configure:2224: checking for ranlib
configure:2258: checking for ar
configure:2297: checking for sh
configure:2334: checking whether byte ordering is bigendian
configure:2352: hcc -c -O conftest.c 1>&5
configure:2367: hcc -c -O conftest.c 1>&5
configure: In function `main':
configure:2362: `not' undeclared (first use in this function)
configure:2362: (Each undeclared identifier is reported only once
configure:2362: for each function it appears in.)
configure:2362: parse error before "big"
hcc: No such file or directory
configure: failed program was:
#line 2356 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
int main() {

#if BYTE_ORDER != BIG_ENDIAN
 not big endian
#endif
; return 0; }
configure:2427: checking for atexit
configure:2455: hcc -o conftest -O conftest.c 1>&5
configure:2427: checking for getcwd
configure:2455: hcc -o conftest -O conftest.c 1>&5
configure:2481: checking if need to include sys/select.h
configure:2494: hcc -c -O conftest.c 1>&5
configure:2518: checking for type int4
configure:2553: checking for type float8
configure:2586: checking size of short
configure:2605: hcc -o conftest -O conftest.c 1>&5
configure:2625: checking size of int
configure:2644: hcc -o conftest -O conftest.c 1>&5
configure:2664: checking size of long
configure:2683: hcc -o conftest -O conftest.c 1>&5
configure:2703: checking size of float
configure:2722: hcc -o conftest -O conftest.c 1>&5
configure:2742: checking size of double
configure:2761: hcc -o conftest -O conftest.c 1>&5
configure:2783: checking for ANSI C header files
configure:2796: hcc -E conftest.c >/dev/null 2>conftest.out
configure:2863: hcc -o conftest -O conftest.c 1>&5
configure:2889: checking for app_mgmt.h
configure:2898: hcc -O -c conftest.c


##
# Copyright 1998-1999, University of Notre Dame.
# Authors: Brian W. Barrett, Arun F. Rodrigues, Jeffrey M. Squyres,
# and Andrew Lumsdaine
#
# This file is part of XMPI
#
# You should have received a copy of the License Agreement for XMPI
# along with the software; see the file LICENSE. If not, contact
# Office of Research, University of Notre Dame, Notre Dame, IN 46556.
#
# Permission to modify the code and to distribute modified code is
# granted, provided the text of this NOTICE is retained, a notice that
# the code was modified is included with the above COPYRIGHT NOTICE and
# with the COPYRIGHT NOTICE in the LICENSE file, and that the LICENSE
# file is distributed with the modified code.
#
# LICENSOR MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED.
# By way of example, but not limitation, Licensor MAKES NO
# REPRESENTATIONS OR WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY
# PARTICULAR PURPOSE OR THAT THE USE OF THE LICENSED SOFTWARE COMPONENTS
# OR DOCUMENTATION WILL NOT INFRINGE ANY PATENTS, COPYRIGHTS, TRADEMARKS
# OR OTHER RIGHTS.
#
# Additional copyrights may follow.

## XMPI
## Copyright 1999 The Ohio State University
##
## Function: - XMPI configuration
##

##
## installation directory
##
## LAMHOME can be any absolute pathname.
##
LAMHOME = /usr/local/lam

##
## permissions
##
FILE_PERMS = 644
EXEC_PERMS = 755
DIR_PERMS = 755

##
## tools
##
AR = /usr/bin/ar
ARFLAGS = rv
CC = hcc
RANLIB = ranlib
RM = /bin/rm -f
INSTALL = $(DEPTH)/config/install-sh
TMP = /tmp
LIBEXT = a

##
## Directories
##
LIBXMPIDIR = libxmpi
LIBXMPIRPATH =
LIBXMPI = lib-lam

##
## Flags
##
GENCFLAGS = -O
XCFLAGS = -I/usr/X11R6/include -I/usr/X11R6/include
XLIBS = -L/usr/X11R6/lib -L/usr/X11R6/lib -lSM -lICE -lXm -lXt -lX11
SOFLAGS =

cd libxmpi; make
make[1]: Entering directory `/usr/local/xmpi-2.2-6.3.2/libxmpi'
hcc -I.. -I. -O -c -o mpitr_com.o mpitr_com.c
make[1]: Leaving directory `/usr/local/xmpi-2.2-6.3.2/libxmpi'