Subject: Re: CCL:why autogrid3 can't run on my DEC alpha?

From: Edgar <[email-masked]>
Date: Mon, 27 Mar 2000 20:14:10 +0200

Hi Lin Kui,

we get the same error message, but already while running autodock3.
Therefore I would like to ask you to send me your makefile.

I would then let you know of any differences between your and our
makefile.

Yours 
	Edgar

--
Edgar Luttmann                           

University of Paderborn, Germany        
Department of organic chemistry         
                                        office: J6.302
Warburger Str. 100                      phone:  (+49) 5251 60-2498
33098 Paderborn                         eMail:  [email-masked]

---

From: Lin Kui <[email-masked]>
Date: Tue, 28 Mar 2000 08:49:37 +0800

Hello, Edgar,

the attached file is the autogrid makefile I used to re-compile.

Thanks a lot.

Yours

Kui Lin

--
Kui Lin

BIC-IMCB Bioinformatics Group
Institute of Molecular and Cell Biology
30 Medical Drive, Singapore 117609

e-mail: [email-masked] phone: (+65) 874-3367

# 
#  Makefile to build AutoGrid from Object files.
# 
#  (c) 1999, TSRI
#  Garrett M. Morris
# 

BIN = .

OBJS = main.o \
       check_size.o \
       setflags.o \
       timesys.o \
       timesyshms.o \
       printhms.o \
       prHMSfixed.o \
       printdate.o \
       strindex.o \
       banner.o \
       gpfparser.o

LNS = \
      main.ln \
      check_size.ln \
      setflags.ln \
      timesyshms.ln \
      timesys.ln \
      printhms.ln \
      prHMSfixed.ln \
      printdate.ln \
      banner.ln \
      gpfparser.ln \
      strindex.ln

LIB	= -lm

PROF	= #						no profiling
# PROF	= -p # for profilable code

DBUG	= #						no debugging
# DBUG	= -g # for dbx
# DBUG	= -DDEBUG #					turn on DEBUG code

# CFLAGS = $(PROF) $(DBUG) # Silicon Graphics
CFLAGS = -std -verbose $(PROF) $(DBUG) # DEC Alpha, Convex
# CFLAGS = -Aa -D_HPUX_SOURCE $(PROF) $(DBUG) #	Hewlett-Packard

# OPT	= -O3 -n32 -mips4 $(CFLAGS) # IRIX64 Silicon Graphics
# OPT	= -O3 -r4000 $(CFLAGS) # IRIX5 Silicon Graphics
OPT	= -O4 -ifo $(CFLAGS)	# DEC Alpha
# OPT	= -O2 -ur $(CFLAGS) # Convex
# OPT = -O2 $(CFLAGS) # Sun
# OPT	= -O +O3 +Obb2048 $(CFLAGS) # Hewlett-Packard
# OPT	= $(CFLAGS) #	-g debugging

# OPTLIM	= # Sun, Silicon Graphics Octane/IRIX6
OPTLIM = -Olimit 2048 # Hewlett-Packard, DEC Alpha
# OPTLIM = # Convex
# OPTLIM = # -g debugging

LINKOPT = $(OPT) # most compilers
# LINKOPT = -O2 -r4000 $(CFLAGS) # IRIX5 Silicon Graphics

LINT = lint # C code checking

LINTFLAGS = $(LIB) -lansi -c # DEC-Alpha # MA
# LINTFLAGS = -DHPPA -D_HPUX_SOURCE -Aa $(LIB) -c #	HP/Hewlett-Packard
# LINTFLAGS = -Aa $(LIB) -c #	HP/Hewlett-Packard Alt
# LINTFLAGS = $(LIB) -n -lansic #	Sun Sparc

autogrid3 : $(OBJS)
	echo $(BIN) on `date` using' >>> ' `hostname` ' <<<' >> LATEST_MAKE
	$(CC) $(LINKOPT) -o $@ $(OBJS) $(LIB)

convertmap : convertmap.o
	$(CC) $(OPT) -o $@ convertmap.o $(LIB)

lcheck :  $(LNS)
	$(LINT) -lansi $(LIB) $(LNS)

main.o : main.c autogrid.h autoglobal.h
	$(CC) $(OPT) $(OPTLIM) -c main.c

check_size.o : check_size.c autogrid.h
	$(CC) $(OPT) -c check_size.c

setflags.o : setflags.c autogrid.h
	$(CC) $(OPT) -c setflags.c

timesyshms.o : timesyshms.c autogrid.h
	$(CC) $(OPT) -c timesyshms.c

timesys.o : timesys.c autogrid.h
	$(CC) $(OPT) -c timesys.c

printhms.o : printhms.c autogrid.h
	$(CC) $(OPT) -c printhms.c

prHMSfixed.o : prHMSfixed.c autogrid.h
	$(CC) $(OPT) -c prHMSfixed.c

printdate.o : printdate.c autogrid.h
	$(CC) $(OPT) -c printdate.c

banner.o : banner.c autogrid.h
	$(CC) $(OPT) -c banner.c

gpfparser.o : gpfparser.c autogrid.h gpftoken.h
	$(CC) $(OPT) -c gpfparser.c

strindex.o : strindex.c autogrid.h
	$(CC) $(OPT) -c strindex.c

convertmap.o : convertmap.c
	$(CC) $(OPT) -c convertmap.c

# 
#  lcheck dependencies...
# 

main.ln : main.c autogrid.h autoglobal.h
	$(LINT) $(LINTFLAGS) $?

check_size.ln : check_size.c autogrid.h
	$(LINT) $(LINTFLAGS) $?

setflags.ln : setflags.c autogrid.h
	$(LINT) $(LINTFLAGS) $?

timesyshms.ln : timesyshms.c autogrid.h
	$(LINT) $(LINTFLAGS) $?

timesys.ln : timesys.c autogrid.h
	$(LINT) $(LINTFLAGS) $?

printhms.ln : printhms.c autogrid.h
	$(LINT) $(LINTFLAGS) $?

prHMSfixed.ln : prHMSfixed.c autogrid.h
	$(LINT) $(LINTFLAGS) $?

printdate.ln : printdate.c autogrid.h
	$(LINT) $(LINTFLAGS) $?

banner.ln : banner.c autogrid.h
	$(LINT) $(LINTFLAGS) $?

gpfparser.ln : gpfparser.c autogrid.h gpftoken.h
	$(LINT) $(LINTFLAGS) $?

strindex.ln : strindex.c autogrid.h
	$(LINT) $(LINTFLAGS) $?

# 
#  Remove objects, lint files, cores, etc.
# 
clean:
	/bin/rm -rf *.o *.s *.ln a.out core autogrid3 convertmap

# 
#  DEC Alpha
# 
openalpha :
	/bin/cp -f obj.alpha/*.o .
	/bin/cp -f obj.alpha/*.ln .

closealpha :
	/bin/mv -f *.o obj.alpha
	/bin/mv -f *.ln obj.alpha
# 
#  Convex
# 
openc2 :
	/bin/cp -f obj.c2/*.o .
	/bin/cp -f obj.c2/*.ln .

closec2 :
	/bin/mv -f *.o obj.c2
	/bin/mv -f *.ln obj.c2

# 
#  Hewlett-Packard Precision Architecture
# 
openhppa :
	/bin/cp -f obj.hppa/*.o .
	/bin/cp -f obj.hppa/*.ln .

closehppa :
	/bin/mv -f *.o obj.hppa
	/bin/mv -f *.ln obj.hppa

# 
#  Silicon Graphics
# 
opensgi4D :
	/bin/cp -f obj.sgi4D/*.o .
	/bin/cp -f obj.sgi4D/*.ln .

closesgi4D :
	/bin/mv -f *.o obj.sgi4D
	/bin/mv -f *.ln obj.sgi4D

# 
#  Sun
# 
opensun4 :
	/bin/cp -f obj.sun4/*.o .
	/bin/cp -f obj.sun4/*.ln .

closesun4 :
	/bin/mv -f *.o obj.sun4
	/bin/mv -f *.ln obj.sun4

# 
#  Architecture
# 
openxxx :
	/bin/cp -f obj.xxx/*.o .
	/bin/cp -f obj.xxx/*.ln .

closexxx :
	/bin/mv -f *.o obj.xxx
	/bin/mv -f *.ln obj.xxx