I ran into some errors while trying to install Opensees 2.2.2 on Ubuntu 10.10. I have Tcl and Tk 8.5 installed. The makefile I am using is below:
-----------------------------------------------------------------------
############################################################################
#
# Program: OpenSees
#
# Purpose: A Top-level Makefile to create the libraries needed
# to use the OpenSees framework. Works on Linux version 6.1
# and below.
#
# Written: fmk
# Created: 10/99
#
# Send bug reports, comments or suggestions to fmckenna@ce.berkeley.edu
#
############################################################################
# %---------------------------------%
# | SECTION 1: PROGRAM |
# %---------------------------------%
#
# Specify the location and name of the OpenSees interpreter program
# that will be created (if this all works!)
OpenSees_PROGRAM = $(HOME)/bin/OpenSees
OPERATING_SYSTEM = LINUX
GRAPHICS = UsingOpenGL
PROGRAMMING_MODE = SEQUENTIAL
DEBUG_MODE = NO_DEBUG
RELIABILITY = NO_RELIABILITY
# %---------------------------------%
# | SECTION 2: PATHS |
# %---------------------------------%
#
# Note: if vendor supplied BLAS and LAPACK libraries or if you have
# any of the libraries already leave the directory location blank AND
# remove the directory from DIRS.
BASE = /usr/local
HOME = /usr/local
FE = $(HOME)/OpenSees/SRC
BLASdir = $(HOME)/OpenSees/OTHER/BLAS
CBLASdir = $(HOME)/OpenSees/OTHER/CBLAS
LAPACKdir = $(HOME)/OpenSees/OTHER/LAPACK
SUPERLUdir = $(HOME)/OpenSees/OTHER/SuperLU_3.0/SRC
ARPACKdir = $(HOME)/OpenSees/OTHER/ARPACK
UMFPACKdir = $(HOME)/OpenSees/OTHER/UMFPACK
METISdir = $(HOME)/OpenSees/OTHER/METIS
AMDdir = $(HOME)/OpenSees/OTHER/AMD
SRCdir = $(HOME)/OpenSees/SRC
DIRS = $(BLASdir) $(CBLASdir) $(LAPACKdir) $(AMDdir) \
$(SUPERLUdir) $(ARPACKdir) $(UMFPACKdir) $(SRCdir) $(METISdir)
# %-------------------------------------------------------%
# | SECTION 3: LIBRARIES |
# | |
# | The following section defines the libraries that will |
# | be created and/or linked with when the libraries are |
# | being created or linked with. |
# %-------------------------------------------------------%
#
# Note: if vendor supplied BLAS and LAPACK libraries leave the
# libraries blank. You have to get your own copy of the tcl/tk
# library!!
#
# Note: For libraries that will be created (any in DIRS above)
# make sure the directory exsists where you want the library to go!
FE_LIBRARY = $(HOME)/lib/libOpenSees.a
NDARRAY_LIBRARY = $(HOME)/lib/libndarray.a # BJ_UCD jeremic@ucdavis.edu
MATMOD_LIBRARY = $(HOME)/lib/libmatmod.a # BJ_UCD jeremic@ucdavis.edu
BJMISC_LIBRARY = $(HOME)/lib/libBJmisc.a # BJ_UCD jeremic@ucdavis.edu
LAPACK_LIBRARY = $(HOME)/lib/libLapack.a
BLAS_LIBRARY = $(HOME)/lib/libBlas.a
SUPERLU_LIBRARY = $(HOME)/lib/libSuperLU.a
CBLAS_LIBRARY = $(HOME)/lib/libCBlas.a
ARPACK_LIBRARY = $(HOME)/lib/libArpack.a
UMFPACK_LIBRARY = $(HOME)/lib/libUmfpack.a
METIS_LIBRARY = $(HOME)/lib/libMetis.a
AMD_LIBRARY = $(HOME)/lib/libAMD.a
TCL_LIBRARY = /usr/lib/libtk8.5.so /usr/lib/libX11.a /usr/lib/libtcl8.5.so
BLITZ_LIBRARY = $(HOME)/blitz/lib/libblitz.a
GRAPHIC_LIBRARY = -L/usr/X11/R6/lib -lGL -lGLU
# WATCH OUT .. These libraries are removed when 'make wipe' is invoked.
WIPE_LIBS = $(FE_LIBRARY) \
$(LAPACK_LIBRARY) \
$(BLAS_LIBRARY) \
$(CBLAS_LIBRARY) \
$(SUPERLU_LIBRARY) \
$(ARPACK_LIBRARY) \
$(UMFPACK_LIBRARY) \
$(AMD_LIBRARY) \
$(METIS_LIBRARY)
# %---------------------------------------------------------%
# | SECTION 4: COMPILERS |
# | |
# | The following macros specify compilers, linker/loaders, |
# | the archiver, and their options. You need to make sure |
# | these are correct for your system. |
# %---------------------------------------------------------%
# Compilers
CC++ = /usr/bin/g++
CC = /usr/bin/gcc
FC = /usr/bin/gfortran
AR = ar
ARFLAGS = cqls
RANLIB = ranlib
RANLIBFLAGS =
# Compiler Flags
#
# NOTES:
# C++ FLAGS TAKE need _UNIX or _WIN32 for preprocessor dircetives
# - the _WIN32 for the Windows95/98 or NT operating system.
# C FLAGS used -DUSE_VENDOR_BLAS (needed in SuperLU) if UNIX in C++ FLAGS
#
# modified as optimizaton currently causing problems with Steeln01 code
ifeq ($(DEBUG_MODE), DEBUG)
C++FLAGS = -Wall -D_LINUX -D_UNIX -D_TCL84 \
$(GRAPHIC_FLAG) $(RELIABILITY_FLAG) $(DEBUG_FLAG) $(PROGRAMMING_FLAG) \
-g -pg
CFLAGS = -Wall -pg $(GRAPHIC_FLAG) $(RELIABILITY_FLAG) $(DEBUG_FLAG) $(PROGRAMMING_FLAG)
FFLAGS = -Wall
# Linker
LINKER = $(CC++)
LINKFLAGS = -g -pg
else
C++FLAGS = -Wall -D_LINUX -D_UNIX -D_TCL84 \
$(GRAPHIC_FLAG) $(RELIABILITY_FLAG) $(DEBUG_FLAG) \
$(PROGRAMMING_FLAG) -O3 -ffloat-store
CFLAGS = -Wall -O2
FFLAGS = -Wall -O
# Linker
LINKER = $(CC++)
LINKFLAGS = -rdynamic -Wl
endif
GRAPHIC_FLAG = -D_GLX
# Misc
MAKE = make
CD = cd
ECHO = echo
RM = rm
RMFLAGS = -f
SHELL = /bin/sh
# %---------------------------------------------------------%
# | SECTION 5: COMPILATION |
# | |
# | The following macros specify the macros used in |
# | to compile the source code into object code. |
# %---------------------------------------------------------%
.SUFFIXES:
.SUFFIXES: .C .c .f .f90 .cpp .o .cpp
#
# %------------------%
# | Default command. |
# %------------------%
#
.DEFAULT:
@$(ECHO) "Unknown target $@, try: make help"
#
# %-------------------------------------------%
# | Command to build .o files from .f files. |
# %-------------------------------------------%
#
.cpp.o:
@$(ECHO) Making $@ from $<
$(CC++) $(C++FLAGS) $(INCLUDES) -c $< -o $@
.C.o:
@$(ECHO) Making $@ from $<
$(CC++) $(C++FLAGS) $(INCLUDES) -c $< -o $@
.c.o:
@$(ECHO) Making $@ from $<
$(CC) $(CFLAGS) -c $< -o $@
.f.o:
@$(ECHO) Making $@ from $<
$(FC) $(FFLAGS) -c $< -o $@
# %---------------------------------------------------------%
# | SECTION 6: OTHER LIBRARIES |
# | |
# | The following macros specify other libraries that must |
# | be linked with when creating executables. These are |
# | platform specific and typically order does matter!! |
# %---------------------------------------------------------%
MACHINE_LINKLIBS = -L$(BASE)/lib \
-L$(HOME)/lib
MACHINE_NUMERICAL_LIBS = -lm \
$(ARPACK_LIBRARY) \
$(SUPERLU_LIBRARY) \
$(UMFPACK_LIBRARY) \
$(LAPACK_LIBRARY) $(BLAS_LIBRARY) $(CBLAS_LIBRARY) \
$(AMD_LIBRARY) \
$(GRAPHIC_LIBRARY)\
-ldl -lgfortran -lpng
MACHINE_SPECIFIC_LIBS =
# %---------------------------------------------------------%
# | SECTION 7: INCLUDE FILES |
# | |
# | The following macros specify include files needed for |
# | compilation. |
# %---------------------------------------------------------%
MACHINE_INCLUDES = -I/usr/include \
-I$(BASE)/include \
-I/usr/include/cxx \
-I$(HOME)/include -I$(HOME)/blitz
# this file contains all the OpenSees/SRC includes
include $(FE)/Makefile.incl
TCL_INCLUDES = -I/usr/include/tcl8.5 -I/usr/include/
INCLUDES = $(TCL_INCLUDES) $(FE_INCLUDES) $(MACHINE_INCLUDES)
----------------------------------------------------------------------
After running "sudo make", the following is displayed in the terminal (the beginning is truncated):
straint.o
Cosseratstresst.o
Cosseratstraint.o
make[2]: Leaving directory `/usr/local/OpenSees/SRC/nDarray'
make[2]: Entering directory `/usr/local/OpenSees/SRC/database'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/OpenSees/SRC/database'
make[2]: Entering directory `/usr/local/OpenSees/SRC/system_of_eqn'
make[3]: Entering directory `/usr/local/OpenSees/SRC/system_of_eqn/linearSOE'
make[4]: Entering directory `/usr/local/OpenSees/SRC/system_of_eqn/linearSOE/bandSPD'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/system_of_eqn/linearSOE/bandSPD'
make[4]: Entering directory `/usr/local/OpenSees/SRC/system_of_eqn/linearSOE/bandGEN'
Unknown target BandGenLinSOE_Single.o, try: make help
make[4]: Leaving directory `/usr/local/OpenSees/SRC/system_of_eqn/linearSOE/bandGEN'
make[4]: Entering directory `/usr/local/OpenSees/SRC/system_of_eqn/linearSOE/fullGEN'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/system_of_eqn/linearSOE/fullGEN'
make[4]: Entering directory `/usr/local/OpenSees/SRC/system_of_eqn/linearSOE/profileSPD'
Unknown target ProfileSPDLinSolverGather.o, try: make help
Unknown target ProfileSPDLinSOEGather.o, try: make help
make[4]: Leaving directory `/usr/local/OpenSees/SRC/system_of_eqn/linearSOE/profileSPD'
make[4]: Entering directory `/usr/local/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN'
make[4]: Entering directory `/usr/local/OpenSees/SRC/system_of_eqn/linearSOE/sparseSYM'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/system_of_eqn/linearSOE/sparseSYM'
make[4]: Entering directory `/usr/local/OpenSees/SRC/system_of_eqn/linearSOE/sparseSYM'
make[4]: Nothing to be done for `law'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/system_of_eqn/linearSOE/sparseSYM'
make[4]: Entering directory `/usr/local/OpenSees/SRC/system_of_eqn/linearSOE/umfGEN'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/system_of_eqn/linearSOE/umfGEN'
make[4]: Entering directory `/usr/local/OpenSees/SRC/system_of_eqn/linearSOE/cg'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/system_of_eqn/linearSOE/cg'
make[4]: Entering directory `/usr/local/OpenSees/SRC/system_of_eqn/linearSOE/BJsolvers'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/system_of_eqn/linearSOE/BJsolvers'
make[4]: Entering directory `/usr/local/OpenSees/SRC/system_of_eqn/linearSOE/diagonal'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/system_of_eqn/linearSOE/diagonal'
make[4]: Entering directory `/usr/local/OpenSees/SRC/system_of_eqn/linearSOE/petsc'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/system_of_eqn/linearSOE/petsc'
make[4]: Entering directory `/usr/local/OpenSees/SRC/system_of_eqn/linearSOE/mumps'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/system_of_eqn/linearSOE/mumps'
make[3]: Leaving directory `/usr/local/OpenSees/SRC/system_of_eqn/linearSOE'
make[3]: Entering directory `/usr/local/OpenSees/SRC/system_of_eqn/eigenSOE'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/system_of_eqn/eigenSOE'
make[2]: Leaving directory `/usr/local/OpenSees/SRC/system_of_eqn'
make[2]: Entering directory `/usr/local/OpenSees/SRC/modelbuilder'
make[3]: Entering directory `/usr/local/OpenSees/SRC/modelbuilder/tcl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/modelbuilder/tcl'
make[2]: Leaving directory `/usr/local/OpenSees/SRC/modelbuilder'
make[2]: Entering directory `/usr/local/OpenSees/SRC/tagged'
make[3]: Entering directory `/usr/local/OpenSees/SRC/tagged/storage'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/tagged/storage'
make[2]: Leaving directory `/usr/local/OpenSees/SRC/tagged'
make[2]: Entering directory `/usr/local/OpenSees/SRC/material'
make[3]: Entering directory `/usr/local/OpenSees/SRC/material/uniaxial'
Unknown target HardeningMaterial2.o, try: make help
Unknown target KinematicHardening.o, try: make help
Unknown target TclKinematicHardening.o, try: make help
Unknown target TclNewUnixialMaterial.o, try: make help
Unknown target PenaltyMaterial.o, try: make help
Unknown target WrappedMaterial.o, try: make help
Unknown target SecantMaterial.o, try: make help
Unknown target ConfinedConcrete02.o, try: make help
make[4]: Entering directory `/usr/local/OpenSees/SRC/material/uniaxial/fedeas'
Unknown target Steel2.o, try: make help
Unknown target Concr2.o, try: make help
make[4]: Leaving directory `/usr/local/OpenSees/SRC/material/uniaxial/fedeas'
make[4]: Entering directory `/usr/local/OpenSees/SRC/material/uniaxial/drain'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/material/uniaxial/drain'
make[4]: Entering directory `/usr/local/OpenSees/SRC/material/uniaxial/snap'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/material/uniaxial/snap'
make[4]: Entering directory `/usr/local/OpenSees/SRC/material/uniaxial/PY'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/material/uniaxial/PY'
make[4]: Entering directory `/usr/local/OpenSees/SRC/material/uniaxial/backbone'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/material/uniaxial/backbone'
make[4]: Entering directory `/usr/local/OpenSees/SRC/material/uniaxial/limitState'
make[5]: Entering directory `/usr/local/OpenSees/SRC/material/uniaxial/limitState/limitCurve'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/usr/local/OpenSees/SRC/material/uniaxial/limitState/limitCurve'
make[4]: Leaving directory `/usr/local/OpenSees/SRC/material/uniaxial/limitState'
make[3]: Leaving directory `/usr/local/OpenSees/SRC/material/uniaxial'
make[3]: Entering directory `/usr/local/OpenSees/SRC/material/nD'
make[4]: Entering directory `/usr/local/OpenSees/SRC/material/nD/soil'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/material/nD/soil'
make[4]: Entering directory `/usr/local/OpenSees/SRC/material/nD/feap'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/material/nD/feap'
make[4]: Entering directory `/usr/local/OpenSees/SRC/material/nD/cyclicSoil'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/material/nD/cyclicSoil'
make[4]: Entering directory `/usr/local/OpenSees/SRC/material/nD/Template3Dep'
ar cqls /usr/local/lib/libmatmod.a Template3Dep.o TclTemplate3DepCommand.o MatPoint3D.o CAM_PS.o CAM_YS.o DP_PS.o DP_YS.o EL_LEeq.o EL_LEij.o EL_NLEp.o EL_NLEeq.o EL_NLEij.o EL_NLEijMD.o EL_S.o EL_T.o EPState.o VM_PS.o VM_YS.o YS.o PS.o MD_PS01.o MD_PS.o DP_YS01.o MD_YS.o Tri_a_fail_crit_YS.o RMC01.o RMC01_PS.o RMC01_YS.o
make[4]: Leaving directory `/usr/local/OpenSees/SRC/material/nD/Template3Dep'
make[4]: Entering directory `/usr/local/OpenSees/SRC/material/nD/FiniteDeformation'
make[5]: Entering directory `/usr/local/OpenSees/SRC/material/nD/FiniteDeformation/fdYield'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/usr/local/OpenSees/SRC/material/nD/FiniteDeformation/fdYield'
make[5]: Entering directory `/usr/local/OpenSees/SRC/material/nD/FiniteDeformation/fdFlow'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/usr/local/OpenSees/SRC/material/nD/FiniteDeformation/fdFlow'
make[5]: Entering directory `/usr/local/OpenSees/SRC/material/nD/FiniteDeformation/fdEvolution'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/usr/local/OpenSees/SRC/material/nD/FiniteDeformation/fdEvolution'
make[4]: Leaving directory `/usr/local/OpenSees/SRC/material/nD/FiniteDeformation'
make[4]: Entering directory `/usr/local/OpenSees/SRC/material/nD/NewTemplate3Dep'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/material/nD/NewTemplate3Dep'
make[4]: Entering directory `/usr/local/OpenSees/SRC/material/nD/reinforcedConcretePlaneStress'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/material/nD/reinforcedConcretePlaneStress'
make[3]: Leaving directory `/usr/local/OpenSees/SRC/material/nD'
make[3]: Entering directory `/usr/local/OpenSees/SRC/material/section'
Unknown target Elliptical.o, try: make help
make[4]: Entering directory `/usr/local/OpenSees/SRC/material/section/repres'
make[5]: Entering directory `/usr/local/OpenSees/SRC/material/section/repres/cell'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/usr/local/OpenSees/SRC/material/section/repres/cell'
make[5]: Entering directory `/usr/local/OpenSees/SRC/material/section/repres/patch'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/usr/local/OpenSees/SRC/material/section/repres/patch'
make[5]: Entering directory `/usr/local/OpenSees/SRC/material/section/repres/reinfBar'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/usr/local/OpenSees/SRC/material/section/repres/reinfBar'
make[5]: Entering directory `/usr/local/OpenSees/SRC/material/section/repres/reinfLayer'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/usr/local/OpenSees/SRC/material/section/repres/reinfLayer'
make[5]: Entering directory `/usr/local/OpenSees/SRC/material/section/repres/section'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/usr/local/OpenSees/SRC/material/section/repres/section'
make[4]: Leaving directory `/usr/local/OpenSees/SRC/material/section/repres'
make[4]: Entering directory `/usr/local/OpenSees/SRC/material/section/fiber'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/material/section/fiber'
make[4]: Entering directory `/usr/local/OpenSees/SRC/material/section/yieldSurface'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/material/section/yieldSurface'
make[4]: Entering directory `/usr/local/OpenSees/SRC/material/section/integration'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/material/section/integration'
make[3]: Leaving directory `/usr/local/OpenSees/SRC/material/section'
make[3]: Entering directory `/usr/local/OpenSees/SRC/material/yieldSurface'
make[4]: Entering directory `/usr/local/OpenSees/SRC/material/yieldSurface/yieldSurfaceBC'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/material/yieldSurface/yieldSurfaceBC'
make[4]: Entering directory `/usr/local/OpenSees/SRC/material/yieldSurface/plasticHardeningMaterial'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/material/yieldSurface/plasticHardeningMaterial'
make[4]: Entering directory `/usr/local/OpenSees/SRC/material/yieldSurface/evolution'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/material/yieldSurface/evolution'
make[3]: Leaving directory `/usr/local/OpenSees/SRC/material/yieldSurface'
make[2]: Leaving directory `/usr/local/OpenSees/SRC/material'
make[2]: Entering directory `/usr/local/OpenSees/SRC/analysis'
make[3]: Entering directory `/usr/local/OpenSees/SRC/analysis/analysis'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/analysis/analysis'
make[3]: Entering directory `/usr/local/OpenSees/SRC/analysis/integrator'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/analysis/integrator'
make[3]: Entering directory `/usr/local/OpenSees/SRC/analysis/model'
make[4]: Entering directory `/usr/local/OpenSees/SRC/analysis/model/simple'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/analysis/model/simple'
make[3]: Leaving directory `/usr/local/OpenSees/SRC/analysis/model'
make[3]: Entering directory `/usr/local/OpenSees/SRC/analysis/numberer'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/analysis/numberer'
make[3]: Entering directory `/usr/local/OpenSees/SRC/analysis/handler'
Unknown target PenaltyHandlerNoHomoSPMultipliers.o, try: make help
make[3]: Leaving directory `/usr/local/OpenSees/SRC/analysis/handler'
make[3]: Entering directory `/usr/local/OpenSees/SRC/analysis/algorithm'
make[4]: Entering directory `/usr/local/OpenSees/SRC/analysis/algorithm/domainDecompAlgo'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/analysis/algorithm/domainDecompAlgo'
make[4]: Entering directory `/usr/local/OpenSees/SRC/analysis/algorithm/equiSolnAlgo'
make[5]: Entering directory `/usr/local/OpenSees/SRC/analysis/algorithm/equiSolnAlgo/accelerator'
Unknown target MonitoredAccelerator.o, try: make help
Unknown target KrylovAccelerator2.o, try: make help
Unknown target DifferenceAccelerator.o, try: make help
Unknown target DifferenceAccelerator2.o, try: make help
make[5]: Leaving directory `/usr/local/OpenSees/SRC/analysis/algorithm/equiSolnAlgo/accelerator'
make[4]: Leaving directory `/usr/local/OpenSees/SRC/analysis/algorithm/equiSolnAlgo'
make[4]: Entering directory `/usr/local/OpenSees/SRC/analysis/algorithm/eigenAlgo'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/analysis/algorithm/eigenAlgo'
make[3]: Leaving directory `/usr/local/OpenSees/SRC/analysis/algorithm'
make[3]: Entering directory `/usr/local/OpenSees/SRC/analysis/dof_grp'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/analysis/dof_grp'
make[3]: Entering directory `/usr/local/OpenSees/SRC/analysis/fe_ele'
make[4]: Entering directory `/usr/local/OpenSees/SRC/analysis/fe_ele/penalty'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/analysis/fe_ele/penalty'
make[4]: Entering directory `/usr/local/OpenSees/SRC/analysis/fe_ele/lagrange'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/analysis/fe_ele/lagrange'
make[4]: Entering directory `/usr/local/OpenSees/SRC/analysis/fe_ele/transformation'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/analysis/fe_ele/transformation'
make[3]: Leaving directory `/usr/local/OpenSees/SRC/analysis/fe_ele'
make[2]: Leaving directory `/usr/local/OpenSees/SRC/analysis'
make[2]: Entering directory `/usr/local/OpenSees/SRC/graph'
make[3]: Entering directory `/usr/local/OpenSees/SRC/graph/graph'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/graph/graph'
make[3]: Entering directory `/usr/local/OpenSees/SRC/graph/numberer'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/graph/numberer'
make[3]: Entering directory `/usr/local/OpenSees/SRC/graph/partitioner'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/graph/partitioner'
make[2]: Leaving directory `/usr/local/OpenSees/SRC/graph'
make[2]: Entering directory `/usr/local/OpenSees/SRC/utility'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/OpenSees/SRC/utility'
make[2]: Entering directory `/usr/local/OpenSees/SRC/convergenceTest'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/OpenSees/SRC/convergenceTest'
make[2]: Entering directory `/usr/local/OpenSees/SRC/recorder'
make[3]: Entering directory `/usr/local/OpenSees/SRC/recorder/response'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/recorder/response'
make[2]: Leaving directory `/usr/local/OpenSees/SRC/recorder'
make[2]: Entering directory `/usr/local/OpenSees/SRC/tcl'
make[2]: Nothing to be done for `tcl'.
make[2]: Leaving directory `/usr/local/OpenSees/SRC/tcl'
make[2]: Entering directory `/usr/local/OpenSees/SRC/renderer'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/OpenSees/SRC/renderer'
make[2]: Entering directory `/usr/local/OpenSees/SRC/domain'
make[3]: Entering directory `/usr/local/OpenSees/SRC/domain/domain'
make[4]: Entering directory `/usr/local/OpenSees/SRC/domain/domain/single'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/domain/domain/single'
make[4]: Entering directory `/usr/local/OpenSees/SRC/domain/domain/partitioned'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/domain/domain/partitioned'
make[3]: Leaving directory `/usr/local/OpenSees/SRC/domain/domain'
make[3]: Entering directory `/usr/local/OpenSees/SRC/domain/component'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/domain/component'
make[3]: Entering directory `/usr/local/OpenSees/SRC/domain/load'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/domain/load'
make[3]: Entering directory `/usr/local/OpenSees/SRC/domain/node'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/domain/node'
make[3]: Entering directory `/usr/local/OpenSees/SRC/domain/subdomain'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/domain/subdomain'
make[3]: Entering directory `/usr/local/OpenSees/SRC/domain/constraints'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/domain/constraints'
make[3]: Entering directory `/usr/local/OpenSees/SRC/domain/pattern'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/domain/pattern'
make[3]: Entering directory `/usr/local/OpenSees/SRC/domain/groundMotion'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/domain/groundMotion'
make[3]: Entering directory `/usr/local/OpenSees/SRC/domain/partitioner'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/domain/partitioner'
make[3]: Entering directory `/usr/local/OpenSees/SRC/domain/region'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/domain/region'
make[2]: Leaving directory `/usr/local/OpenSees/SRC/domain'
make[2]: Entering directory `/usr/local/OpenSees/SRC/handler'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/OpenSees/SRC/handler'
make[2]: Entering directory `/usr/local/OpenSees/SRC/actor'
make[3]: Entering directory `/usr/local/OpenSees/SRC/actor/channel'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/actor/channel'
make[3]: Entering directory `/usr/local/OpenSees/SRC/actor/machineBroker'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/actor/machineBroker'
make[3]: Entering directory `/usr/local/OpenSees/SRC/actor/message'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/actor/message'
make[3]: Entering directory `/usr/local/OpenSees/SRC/actor/address'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/actor/address'
make[3]: Entering directory `/usr/local/OpenSees/SRC/actor/actor'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/actor/actor'
make[3]: Entering directory `/usr/local/OpenSees/SRC/actor/shadow'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/actor/shadow'
make[3]: Entering directory `/usr/local/OpenSees/SRC/actor/objectBroker'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/actor/objectBroker'
make[2]: Leaving directory `/usr/local/OpenSees/SRC/actor'
make[2]: Entering directory `/usr/local/OpenSees/SRC/machine'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/OpenSees/SRC/machine'
make[2]: Entering directory `/usr/local/OpenSees/SRC/element'
make[3]: Entering directory `/usr/local/OpenSees/SRC/element/beam2d'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/element/beam2d'
make[3]: Entering directory `/usr/local/OpenSees/SRC/element/beam3d'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/element/beam3d'
make[3]: Entering directory `/usr/local/OpenSees/SRC/element/truss'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/element/truss'
make[3]: Entering directory `/usr/local/OpenSees/SRC/element/zeroLength'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/element/zeroLength'
make[3]: Entering directory `/usr/local/OpenSees/SRC/element/feap'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/element/feap'
make[3]: Entering directory `/usr/local/OpenSees/SRC/element/nonlinearBeamColumn'
make[4]: Entering directory `/usr/local/OpenSees/SRC/element/nonlinearBeamColumn/matrixutil'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/element/nonlinearBeamColumn/matrixutil'
make[3]: Leaving directory `/usr/local/OpenSees/SRC/element/nonlinearBeamColumn'
make[3]: Entering directory `/usr/local/OpenSees/SRC/element/fourNodeQuad'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/element/fourNodeQuad'
make[3]: Entering directory `/usr/local/OpenSees/SRC/element/beamWithHinges'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/element/beamWithHinges'
make[3]: Entering directory `/usr/local/OpenSees/SRC/element/8nbrick'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/element/8nbrick'
make[3]: Entering directory `/usr/local/OpenSees/SRC/element/20nbrick'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/element/20nbrick'
make[3]: Entering directory `/usr/local/OpenSees/SRC/element/27nbrick'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/element/27nbrick'
make[3]: Entering directory `/usr/local/OpenSees/SRC/element/TotalLagrangianFD20NodeBrick'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/element/TotalLagrangianFD20NodeBrick'
make[3]: Entering directory `/usr/local/OpenSees/SRC/element/upU'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/element/upU'
make[3]: Entering directory `/usr/local/OpenSees/SRC/element/UP-ucsd'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/element/UP-ucsd'
make[3]: Entering directory `/usr/local/OpenSees/SRC/element/UP_ucdavis'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/element/UP_ucdavis'
make[3]: Entering directory `/usr/local/OpenSees/SRC/element/shell'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/element/shell'
make[3]: Entering directory `/usr/local/OpenSees/SRC/element/brick'
Unknown target FLBrick.o, try: make help
make[3]: Leaving directory `/usr/local/OpenSees/SRC/element/brick'
make[3]: Entering directory `/usr/local/OpenSees/SRC/element/joint'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/element/joint'
make[3]: Entering directory `/usr/local/OpenSees/SRC/element/dispBeamColumn'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/element/dispBeamColumn'
make[3]: Entering directory `/usr/local/OpenSees/SRC/element/elasticBeamColumn'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/element/elasticBeamColumn'
make[3]: Entering directory `/usr/local/OpenSees/SRC/element/updatedLagrangianBeamColumn'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/element/updatedLagrangianBeamColumn'
make[3]: Entering directory `/usr/local/OpenSees/SRC/element/forceBeamColumn'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/element/forceBeamColumn'
make[3]: Entering directory `/usr/local/OpenSees/SRC/element/dispBeamColumnInt'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/element/dispBeamColumnInt'
make[3]: Entering directory `/usr/local/OpenSees/SRC/element/generic'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/element/generic'
make[3]: Entering directory `/usr/local/OpenSees/SRC/element/elastomericBearing'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/element/elastomericBearing'
make[3]: Entering directory `/usr/local/OpenSees/SRC/element/frictionBearing'
make[4]: Entering directory `/usr/local/OpenSees/SRC/element/frictionBearing/frictionModel'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/OpenSees/SRC/element/frictionBearing/frictionModel'
make[3]: Leaving directory `/usr/local/OpenSees/SRC/element/frictionBearing'
make[3]: Entering directory `/usr/local/OpenSees/SRC/element/adapter'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/element/adapter'
make[3]: Entering directory `/usr/local/OpenSees/SRC/element/twoNodeLink'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/element/twoNodeLink'
make[3]: Entering directory `/usr/local/OpenSees/SRC/element/pyMacro'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/element/pyMacro'
make[2]: Leaving directory `/usr/local/OpenSees/SRC/element'
make[2]: Entering directory `/usr/local/OpenSees/SRC/coordTransformation'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/OpenSees/SRC/coordTransformation'
make[2]: Entering directory `/usr/local/OpenSees/SRC/api'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/OpenSees/SRC/api'
make[2]: Entering directory `/usr/local/OpenSees/SRC/damage'
make[3]: Entering directory `/usr/local/OpenSees/SRC/recorder/response'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/OpenSees/SRC/recorder/response'
make[2]: Leaving directory `/usr/local/OpenSees/SRC/damage'
make[2]: Entering directory `/usr/local/OpenSees/SRC/api'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/OpenSees/SRC/api'
make[1]: Leaving directory `/usr/local/OpenSees/SRC'
make[1]: Entering directory `/usr/local/OpenSees/OTHER/METIS'
make[1]: Leaving directory `/usr/local/OpenSees/OTHER/METIS'
LIBRARIES BUILT ... NOW LINKING OpenSees PROGRAM
/bin/sh: ./OSverCreate.sh: Permission denied
make[1]: Entering directory `/usr/local/OpenSees/SRC/tcl'
make[1]: Nothing to be done for `tcl'.
make[1]: Leaving directory `/usr/local/OpenSees/SRC/tcl'
/bin/sh: ./OSverRemove.sh: Permission denied
make: *** [all] Error 126
----------------------------------------------------------------------------
Does anyone have any suggestions?
Error While Compiling Opensees 2.2.2 on Ubuntu 10.10
Moderators: silvia, selimgunay, Moderators
-
- Posts: 8
- Joined: Tue May 04, 2010 6:46 am
- Location: Virginia Tech
-
- Posts: 8
- Joined: Tue May 04, 2010 6:46 am
- Location: Virginia Tech
Re: Error While Compiling Opensees 2.2.2 on Ubuntu 10.10
I resolved my previous problem by changing the permission on the files "OSverCreate.sh" and "OSverRemove.sh" (http://opensees.berkeley.edu/community/ ... php?t=1447) with
chmod a+x OSverCreate.sh
chmod a+x OSverRemove.sh
I've now run into another issue. While trying to compile OpenSees, I get the following errors:
tkMain.cpp:112: error: expected unqualified-id before ‘throw’
tkMain.cpp: In function ‘void Tk_MainOpenSees(int, char**, int (*)(Tcl_Interp*), Tcl_Interp*)’:
tkMain.cpp:308: warning: deprecated conversion from string constant to ‘char*’
tkMain.cpp:325: warning: deprecated conversion from string constant to ‘char*’
make[2]: *** [tkMain.o] Error 1
make[2]: Leaving directory `/usr/local/OpenSees/SRC/tcl'
make[1]: *** [tk] Error 2
make[1]: Leaving directory `/usr/local/OpenSees/SRC/modelbuilder/tcl'
make: *** [all] Error 2
Line 112 of tkMain.cpp was already commented out when I received this error and I get the same error when I delete line 112. Does anyone have any suggestions?
chmod a+x OSverCreate.sh
chmod a+x OSverRemove.sh
I've now run into another issue. While trying to compile OpenSees, I get the following errors:
tkMain.cpp:112: error: expected unqualified-id before ‘throw’
tkMain.cpp: In function ‘void Tk_MainOpenSees(int, char**, int (*)(Tcl_Interp*), Tcl_Interp*)’:
tkMain.cpp:308: warning: deprecated conversion from string constant to ‘char*’
tkMain.cpp:325: warning: deprecated conversion from string constant to ‘char*’
make[2]: *** [tkMain.o] Error 1
make[2]: Leaving directory `/usr/local/OpenSees/SRC/tcl'
make[1]: *** [tk] Error 2
make[1]: Leaving directory `/usr/local/OpenSees/SRC/modelbuilder/tcl'
make: *** [all] Error 2
Line 112 of tkMain.cpp was already commented out when I received this error and I get the same error when I delete line 112. Does anyone have any suggestions?