AMBER Archive (2005)

Subject: AMBER: compiler error, SGI Octane

From: Peter Gannett (pgannett_at_hsc.wvu.edu)
Date: Tue Jun 28 2005 - 07:54:35 CDT


All:
 
I'm trying to recompile amber (version 8) on a SGI Octane/Irix 6.5.21
with SGI's mips compiler. I've a problem.
 
1) I run the configure script (in the .../src directory) with
 
./configure -mmtsb sgi_mips
 
and get:
 
./configure -mmtsb sgi_mips
AMBERHOME is set to /disk02/usr/local/amber8
Setting up Amber configuration file for architecture: sgi_mips
Using parallel communications library: none
 
The configuration file, config.h, was successfully created.

OK, things look OK so far. Then, I try to compile with:
 
make serial
 
and get

Starting installation of Amber8 (serial) at Tue Jun 28 08:23:35 PDT
2005.
        mkdir ../exe
Cannot create directory "../exe": File exists
*** Error code 2 (bu21) (ignored)
        cd lib; make install
        f90 -n32 -mips4 -r10000 -o new2oldparm new2oldparm.o
nxtsec.o
f90: Error: -32 compilation not supported for ucode
*** Error code 2 (bu21)
*** Error code 1 (bu21)
 
OK, so how do I fix this. Note, I am compiler illiterate. If it
helps, the config.h file is below.
 
Pete
 
#==============================================================================
# AMBER Makefile configuration for compiler/architecture: sgi_mips
# Generated via command: ./configure -mmtsb sgi_mips
#
# Configuration script written mainly by Joe Krahn, Scott Brozell, and
# Dave Case, with contributions from lots of people.
#==============================================================================

#------------------------------------------------------------------------------
# Main AMBER source root directory
#------------------------------------------------------------------------------
AMBER_SRC=/disk02/usr/local/amber8/src

#------------------------------------------------------------------------------
# AMBERBUILDFLAGS provides a hook into the build process for
installers;
# for example, to build debug versions of the amber programs
# make -e AMBERBUILDFLAGS="-DDEBUG -g"
#------------------------------------------------------------------------------
AMBERBUILDFLAGS=

#------------------------------------------------------------------------------
# LOCALFLAGS is intended for program specific modifications to the
# Fortran build process and may be modified by the program's local
makefile
#------------------------------------------------------------------------------
LOCALFLAGS=

#------------------------------------------------------------------------------
# Availability and method of delivery of math and optional libraries
#------------------------------------------------------------------------------
USE_BLASLIB=$(VENDOR_SUPPLIED)
USE_LAPACKLIB=$(VENDOR_SUPPLIED)
USE_LMODLIB=$(LMOD_UNAVAILABLE)

#------------------------------------------------------------------------------
# C compiler
#------------------------------------------------------------------------------
CC= cc
CPLUSPLUS=CC
ALTCC=cc
CFLAGS=-n32 -mips4 -r10000 -OPT:roundoff=3:IEEE_arithmetic=3 -TENV:X=1
-O2 -DSYSV $(AMBERBUILDFLAGS)
ALTCFLAGS= $(AMBERBUILDFLAGS)
CPPFLAGS= -DMMTSB $(AMBERBUILDFLAGS)

#------------------------------------------------------------------------------
# Fortran preprocessing and compiler.
# FPPFLAGS holds the main Fortran options, such as whether MPI is
used.
#------------------------------------------------------------------------------
FPPFLAGS= -P -I$(AMBER_SRC)/include -DMMTSB -DSGI -DnoVDINVSQRT
-DSGIFFT $(AMBERBUILDFLAGS)
FPP= /lib/cpp $(FPPFLAGS)
FC= f90
FFLAGS= -n32 -mips4 -r10000 -OPT:roundoff=3:IEEE_arithmetic=3 -TENV:X=1
-O0 $(LOCALFLAGS) $(AMBERBUILDFLAGS)
FOPTFLAGS= -n32 -mips4 -r10000 -OPT:roundoff=3:IEEE_arithmetic=3
-TENV:X=1 -O3 $(LOCALFLAGS) $(AMBERBUILDFLAGS)
FPP_PREFIX= _
FREEFORMAT_FLAG= -freeform

#------------------------------------------------------------------------------
# Loader:
#------------------------------------------------------------------------------
LOAD= f90 -n32 -mips4 -r10000 $(LOCALFLAGS) $(AMBERBUILDFLAGS)
LOADCC= cc -n32 -mips4 -r10000 $(LOCALFLAGS) $(AMBERBUILDFLAGS)
LOADLIB= -lscs -lfastm
LOADPTRAJ= f90 -n32 -mips4 -r10000 $(LOCALFLAGS) $(AMBERBUILDFLAGS)
XHOME= /usr/X11R6

#------------------------------------------------------------------------------
# Other stuff:
#------------------------------------------------------------------------------
.SUFFIXES: .f90
SYSDIR=lib
AR=ar rvs
M4=m4 -B50000
RANLIB=/bin/true
SFX=
MAKEDEPEND=$(AMBER_SRC)/../bin/amber_makedepend

# default rules for Fortran and C compilation:

.f.o: $<
      $(FPP) $< > $(FPP_PREFIX)$<
      $(FC) -c $(FFLAGS) -o $@ $(FPP_PREFIX)$<

.f90.o: $<
      $(FPP) $< > $(FPP_PREFIX)$<
      $(FC) -c $(FFLAGS) -o $@ $(FPP_PREFIX)$<

.c.o:
      $(CC) -c $(CFLAGS) $(CPPFLAGS) -o $@ $<

 
 

 
 

 

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu