AMBER: SGI compiler problems

From: Peter Gannett <pgannett.hsc.wvu.edu>
Date: Tue, 13 Jun 2006 08:46:18 -0400

All:
 
I am trying to compile amber 9 on an SGI machine (Octane, R10000). The
config.h file was set up with
 
./configure -mmtsb sgi_mips
 
and the response to this command was:
 
frodo 50# ./configure -mmtsb sgi_mips
AMBERHOME is set to /disk02/usr/local/amber9
Setting up Amber configuration file for architecture: sgi_mips
Using parallel communications library: none
 
The configuration file, config.h, was successfully created.

 
Then, I say

make serial
 
and the response is:

Starting installation of Amber9 (serial) at Tue Jun 13 07:57:01 PDT
2006.
        cd lib; make install
        /lib/cpp -P -DMMTSB -DSGI -DnoVDINVSQRT new2oldparm.f >
_new2oldparm.f
        f90 -c -n32 -mips4 -r10000 -O0 -o new2oldparm.o
_new2oldparm.f
f90: Error: -32 compilation not supported for ucode
*** Error code 2 (bu21)
*** Error code 1 (bu21)

 
So, what is the problem. I guess it does not care for the -n32 option
but I guess I've a couple of questions. First, why doesn't the
configure routine select the correct option (OK, so in a perfect world
it would and it doesn't so what can I do to help configure out).
Second, how do I need to modify either the config.h file (reproduced
below) so I can compile amber 9. Third, what is ucode. Thanks and my
apologies if this has been asked/answered before. I did hunt for the
answer.
 
Pete Gannett
 
PS
....and the config.h file is:
 
frodo 52# cat config.h
#==============================================================================
# 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/amber9/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
CFLAGS= -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -n32 -mips4 -r10000
-O2 -DSYSV
CPPFLAGS=-LANG:std -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -n32
-mips4 -r10000 -O2 -DSYSV $(AMBERBUILDFLAGS)
 
#------------------------------------------------------------------------------
# Fortran preprocessing and compiler.
# FPPFLAGS holds the main Fortran options, such as whether MPI is
used.
#------------------------------------------------------------------------------
FPPFLAGS= -P -DMMTSB -DSGI -DnoVDINVSQRT $(AMBERBUILDFLAGS)
FPP= /lib/cpp $(FPPFLAGS)
FC= f90
FFLAGS= -n32 -mips4 -r10000 -O0 $(LOCALFLAGS) $(AMBERBUILDFLAGS)
FOPTFLAGS= -n32 -mips4 -r10000 -O3 $(LOCALFLAGS) $(AMBERBUILDFLAGS)
FREEFORMAT_FLAG= -freeform
 
#------------------------------------------------------------------------------
# Loader:
#------------------------------------------------------------------------------
LOAD= f90 -n32 -mips4 -r10000 $(LOCALFLAGS) $(AMBERBUILDFLAGS)
LOADCC= cc -n32 -mips4 -r10000 $(LOCALFLAGS) $(AMBERBUILDFLAGS)
LOADLIB= -lscs -lfastm
LM= -lm
LOADPTRAJ= f90 -n32 -mips4 -r10000 $(LOCALFLAGS) $(AMBERBUILDFLAGS)
XHOME= /usr/lib32
XLIBS= -L /usr/lib32
 
#------------------------------------------------------------------------------
# Other stuff:
#------------------------------------------------------------------------------
.SUFFIXES: .f90
EMPTY=
AR=ar rvs $(EMPTY)
M4=m4 -B50000
RANLIB=/bin/true
SFX=
NETCDF=
NETCDFLIB=
MODULEDIR=-I
MAKEDEPEND=$(AMBER_SRC)/../bin/amber_makedepend
SLKO=skipDFTB
 
# default rules for Fortran and C compilation:
 
.f.o: $<
        $(FPP) $< > _$<
        $(FC) -c $(FFLAGS) -o $. _$<
 
.c.o:
        $(CC) -c $(CFLAGS) $(CPPFLAGS) -o $. $<
 
 
 

 

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Wed Jun 14 2006 - 06:07:15 PDT
Custom Search