Page 1 of 1

Regarding error on AIX Operating System

Posted: Wed May 06, 2009 2:12 am
by pallavi
Dear All,

I am facing errors while installing OpenSees in Our AIX system. We are trying to install OpenSees Parallely.

The Error is as follows:

ld: 0711-318 ERROR: Undefined symbols were found.
The following symbols are in error:
Symbol Inpndx TY CL Source-File(Object-File) OR Import-File{Shared-object}
RLD: Address Section Rld-type Referencing Symbol
----------------------------------------------------------------------------------------------
.KSPDestroy(_p_KSP*) [128] ER PR PetscSparseSeqSolver.cpp(/home/csm/pallavig/OpenSees_Parallel_33/OpenSees/SRC/system_of_eqn/linearSOE/p
etsc/PetscSparseSeqSolver.o)
00000270 .text R_RBR [18] .PetscSparseSeqSolver::~PetscSparseSeqSolver()
.KSPDestroy(_p_KSP*) [170] ER PR PetscSolver.cpp(/home/csm/pallavig/OpenSees_Parallel_33/OpenSees/SRC/system_of_eqn/linearSOE/petsc/Pets
cSolver.o)
000002cc .text R_RBR [20] .PetscSolver::~PetscSolver()
.MatAssemblyBegin(_p_Mat*,MatAssemblyType) [174] ER PR PetscSolver.cpp(/home/csm/pallavig/OpenSees_Parallel_33/OpenSees/SRC/system_of_eqn/l
inearSOE/petsc/PetscSolver.o)
0000039c .text R_RBR [22] .PetscSolver::solve()
.PetscError(int,const char*,const char*,const char*,int,int,const char*,...) [134] ER PR PetscSparseSeqSolver.cpp(/home/csm/pallavig/OpenSe
es_Parallel_33/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.o)
00000328 .text R_RBR [20] .PetscSparseSeqSolver::solve()
0000043c .text R_RBR [24] .PetscSparseSeqSolver::setSize()
00000488 .text R_RBR [24] .PetscSparseSeqSolver::setSize()
000004d0 .text R_RBR [24] .PetscSparseSeqSolver::setSize()
0000055c .text R_RBR [24] .PetscSparseSeqSolver::setSize()
000005c8 .text R_RBR [24] .PetscSparseSeqSolver::setSize()
00000608 .text R_RBR [24] .PetscSparseSeqSolver::setSize()
.PetscError(int,const char*,const char*,const char*,int,int,const char*,...) [176] ER PR PetscSolver.cpp(/home/csm/pallavig/OpenSees_Parall
el_33/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSolver.o)
000003cc .text R_RBR [22] .PetscSolver::solve()
00000430 .text R_RBR [22] .PetscSolver::solve()
00000678 .text R_RBR [22] .PetscSolver::solve()
000009fc .text R_RBR [28] .PetscSolver::setSize()
00000a6c .text R_RBR [28] .PetscSolver::setSize()
.MatAssemblyEnd(_p_Mat*,MatAssemblyType) [178] ER PR PetscSolver.cpp(/home/csm/pallavig/OpenSees_Parallel_33/OpenSees/SRC/system_of_eqn/lin
earSOE/petsc/PetscSolver.o)
00000400 .text R_RBR [22] .PetscSolver::solve()
.KSPSolve(_p_KSP*,_p_Vec*,_p_Vec*) [132] ER PR PetscSparseSeqSolver.cpp(/home/csm/pallavig/OpenSees_Parallel_33/OpenSees/SRC/system_of_eqn/
linearSOE/petsc/PetscSparseSeqSolver.o)
000002fc .text R_RBR [20] .PetscSparseSeqSolver::solve()
.KSPSolve(_p_KSP*,_p_Vec*,_p_Vec*) [188] ER PR PetscSolver.cpp(/home/csm/pallavig/OpenSees_Parallel_33/OpenSees/SRC/system_of_eqn/linearSOE
/petsc/PetscSolver.o)
00000648 .text R_RBR [22] .PetscSolver::solve()
.KSPCreate(int,_p_KSP**) [144] ER PR PetscSparseSeqSolver.cpp(/home/csm/pallavig/OpenSees_Parallel_33/OpenSees/SRC/system_of_eqn/linearSO
E/petsc/PetscSparseSeqSolver.o)
00000508 .text R_RBR [24] .PetscSparseSeqSolver::setSize()
.KSPCreate(int,_p_KSP**) [196] ER PR PetscSolver.cpp(/home/csm/pallavig/OpenSees_Parallel_33/OpenSees/SRC/system_of_eqn/linearSOE/petsc/P
etscSolver.o)
000009a0 .text R_RBR [28] .PetscSolver::setSize()
.KSPSetOperators(_p_KSP*,_p_Mat*,_p_Mat*,MatStructure) [146] ER PR PetscSparseSeqSolver.cpp(/home/csm/pallavig/OpenSees_Parallel_33/OpenSee
s/SRC/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.o)
00000520 .text R_RBR [24] .PetscSparseSeqSolver::setSize()
.KSPSetOperators(_p_KSP*,_p_Mat*,_p_Mat*,MatStructure) [198] ER PR PetscSolver.cpp(/home/csm/pallavig/OpenSees_Parallel_33/OpenSees/SRC/sys
tem_of_eqn/linearSOE/petsc/PetscSolver.o)
000009bc .text R_RBR [28] .PetscSolver::setSize()
.KSPSetType(_p_KSP*,const char*) [148] ER PR PetscSparseSeqSolver.cpp(/home/csm/pallavig/OpenSees_Parallel_33/OpenSees/SRC/system_of_eqn/li
nearSOE/petsc/PetscSparseSeqSolver.o)
00000530 .text R_RBR [24] .PetscSparseSeqSolver::setSize()
.KSPSetType(_p_KSP*,const char*) [200] ER PR PetscSolver.cpp(/home/csm/pallavig/OpenSees_Parallel_33/OpenSees/SRC/system_of_eqn/linearSOE/p
etsc/PetscSolver.o)
000009cc .text R_RBR [28] .PetscSolver::setSize()
.KSPSetTolerances(_p_KSP*,double,double,double,int) [150] ER PR PetscSparseSeqSolver.cpp(/home/csm/pallavig/OpenSees_Parallel_33/OpenSees/S
RC/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.o)
0000057c .text R_RBR [24] .PetscSparseSeqSolver::setSize()
.KSPSetTolerances(_p_KSP*,double,double,double,int) [202] ER PR PetscSolver.cpp(/home/csm/pallavig/OpenSees_Parallel_33/OpenSees/SRC/system
_of_eqn/linearSOE/petsc/PetscSolver.o)
00000a1c .text R_RBR [28] .PetscSolver::setSize()
.KSPGetPC(_p_KSP*,_p_PC**) [152] ER PR PetscSparseSeqSolver.cpp(/home/csm/pallavig/OpenSees_Parallel_33/OpenSees/SRC/system_of_eqn/linearSO
E/petsc/PetscSparseSeqSolver.o)
0000058c .text R_RBR [24] .PetscSparseSeqSolver::setSize()
.KSPGetPC(_p_KSP*,_p_PC**) [204] ER PR PetscSolver.cpp(/home/csm/pallavig/OpenSees_Parallel_33/OpenSees/SRC/system_of_eqn/linearSOE/petsc/P
etscSolver.o)
00000a2c .text R_RBR [28] .PetscSolver::setSize()
.PCSetType(_p_PC*,const char*) [154] ER PR PetscSparseSeqSolver.cpp(/home/csm/pallavig/OpenSees_Parallel_33/OpenSees/SRC/system_of_eqn/li
nearSOE/petsc/PetscSparseSeqSolver.o)
0000059c .text R_RBR [24] .PetscSparseSeqSolver::setSize()
.PCSetType(_p_PC*,const char*) [206] ER PR PetscSolver.cpp(/home/csm/pallavig/OpenSees_Parallel_33/OpenSees/SRC/system_of_eqn/linearSOE/p
etsc/PetscSolver.o)
00000a3c .text R_RBR [28] .PetscSolver::setSize()
.PetscInitialize(int*,char***,const char*,const char*) [118] ER PR PetscSparseSeqSolver.cpp(/home/csm/pallavig/OpenSees_Parallel_33/OpenSee
s/SRC/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.o)
00000088 .text R_RBR [12] .PetscSparseSeqSolver::PetscSparseSeqSolver(char*,char*)
000001a0 .text R_RBR [16] .PetscSparseSeqSolver::PetscSparseSeqSolver(char*,char*,double,double,do
uble,int)
.MatDestroy(_p_Mat*) [124] ER PR PetscSparseSeqSolver.cpp(/home/csm/pallavig/OpenSees_Parallel_33/OpenSees/SRC/system_of_eqn/linearSOE/p
etsc/PetscSparseSeqSolver.o)
0000024c .text R_RBR [18] .PetscSparseSeqSolver::~PetscSparseSeqSolver()
.VecDestroy(_p_Vec*) [126] ER PR PetscSparseSeqSolver.cpp(/home/csm/pallavig/OpenSees_Parallel_33/OpenSees/SRC/system_of_eqn/linearSOE/p
etsc/PetscSparseSeqSolver.o)
00000258 .text R_RBR [18] .PetscSparseSeqSolver::~PetscSparseSeqSolver()
00000264 .text R_RBR [18] .PetscSparseSeqSolver::~PetscSparseSeqSolver()
.KSPGetIterationNumber(_p_KSP*,int*) [136] ER PR PetscSparseSeqSolver.cpp(/home/csm/pallavig/OpenSees_Parallel_33/OpenSees/SRC/system_of_eq
n/linearSOE/petsc/PetscSparseSeqSolver.o)
0000037c .text R_RBR [22] .PetscSparseSeqSolver::getNumIterations()
.PetscOptionsGetInt(const char*,const char*,int*,PetscTruth*) [138] ER PR PetscSparseSeqSolver.cpp(/home/csm/pallavig/OpenSees_Parallel_33/
OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.o)
00000410 .text R_RBR [24] .PetscSparseSeqSolver::setSize()
.VecCreateSeqWithArray(int,int,const double*,_p_Vec**) [140] ER PR PetscSparseSeqSolver.cpp(/home/csm/pallavig/OpenSees_Parallel_33/OpenSee
s/SRC/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.o)
0000045c .text R_RBR [24] .PetscSparseSeqSolver::setSize()
000004a4 .text R_RBR [24] .PetscSparseSeqSolver::setSize()
.MatCreateSeqAIJWithArrays(int,int,int,int*,int*,double*,_p_Mat**) [142] ER PR PetscSparseSeqSolver.cpp(/home/csm/pallavig/OpenSees_Paralle
l_33/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.o)
000004f8 .text R_RBR [24] .PetscSparseSeqSolver::setSize()
.KSPSetInitialGuessNonzero(_p_KSP*,PetscTruth) [156] ER PR PetscSparseSeqSolver.cpp(/home/csm/pallavig/OpenSees_Parallel_33/OpenSees/SRC/sy
stem_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.o)
000005dc .text R_RBR [24] .PetscSparseSeqSolver::setSize()
ER: The return code is 8.
:q!
pallavig@tf33:~/OpenSees_Parallel_33/OpenSees$vi error.log



The Makefile.def is as:

############################################################################
#
# Program: OpenSees
#
# Purpose: A Top-level Makefile to create the libraries needed
# to use the OpenSees framework.
#
# version created for SDSC datastar sequential
#
# Written: fmk
# Created: 01/2003
#
#
############################################################################

# %---------------------------------%
# | 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
OpenSees_PROGRAM_MPI = $(HOME)/bin/OpenSeesMPI

# %---------------------------------%
# | SECTION 2: MAKEFILE CONSTANTS |
# %---------------------------------%
#
# Specify the constants the are used as control structure variables in the Makefiles.

OPERATING_SYSTEM = UNIX
#GRAPHICS = UsingOpenGL
PROGRAMMING_MODE = PARALLEL_INTERPRETERS
#PROGRAMMING_MODE = PARALLEL_
DEBUG_MODE = NO_DEBUG

RELIABILITY = NO_RELIABILITY


# %---------------------------------%
# | SECTION 3: 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 =
HOME = /home/csm/pallavig/OpenSees_Parallel_33
FE = $(HOME)/OpenSees/SRC


BLASdir = $(HOME)/OpenSees/OTHER/BLAS
CBLASdir = $(HOME)/OpenSees/OTHER/CBLAS
LAPACKdir = $(HOME)/OpenSees/OTHER/LAPACK
ARPACKdir = $(HOME)/OpenSees/OTHER/ARPACK
UMFPACKdir = $(HOME)/OpenSees/OTHER/UMFPACK
METISdir = $(HOME)/OpenSees/OTHER/METIS
SRCdir = $(HOME)/OpenSees/SRC
SUPERLUdir = $(HOME)/OpenSees/OTHER/SuperLU_3.0/SRC
SUPERLU_DISTdir = $(HOME)/OpenSees/OTHER/SuperLU_DIST_2.0/SRC

DIRS = $(BLASdir) \
$(CBLASdir) \
$(SUPERLUdir) \
$(LAPACKdir) \
$(ARPACKdir) \
$(UMFPACKdir) \
$(METISdir) \
$(SRCdir)

# %-------------------------------------------------------%
# | SECTION 4: 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
DISTRIBUTED_SUPERLU_LIBRARY = $(HOME)/lib/libDistributedSuperLU.a

# By us TCL_LIBRARY = /home/csm/pallavig/usr/local/tcl/lib/libtcl8.4.so \
# /home/csm/pallavig/usr/local/tcl/lib/libtk8.4.so
#TCL_LIBRARY = /usr/local/lib/libtcl8.4.a \
# /usr/local/lib/libtk8.4.a

TCL_LIBRARY = /home/csm/pallavig/usr/local/tcl/lib/libtcl8.4.so \
/home/csm/pallavig/usr/local/tcl/lib/libtk8.4.so

GRAPHIC_LIBRARY = -L/home/csm/pallavig/pre_com_mesa/usr/lib -lGL -lGLU -I/home/csm/pallavig/pre_com_mesa/usr/include
#GRAPHIC_LIBRARY = -L/usr/include/X11/GLw

#GRAPHIC_LIBRARY = -L/usr/lib -lGL -lGLU
#GRAPHIC_LIBRARY = -L/usr/include/ -lGL -lGLU \
# /usr/X11R6/include/X11

#GRAPHIC_LIBRARY = -L/usr/lpp/OpenGL/lib -lGL -lGLU

#RELIABILITY_LIBRARY = $(HOME)/lib/libReliability.a
RELIABILITY_LIBRARY =


# WATCH OUT .. These libraries are removed when 'make wipe' is invoked.

WIPE_LIBS = $(FE_LIBRARY) \
$(NDARRAY_LIBRARY) \
$(MATMOD_LIBRARY) \
$(SUPERLU_LIBRARY) \
$(ARPACK_LIBRARY) \
$(UMFPACK_LIBRARY) \
$(METIS_LIBRARY) \
$(LAPACK_LIBRARY) \
$(BLAS_LIBRARY) \
$(CBLAS_LIBRARY) \
$(RELIABILITY_LIBRARY)

# %---------------------------------------------------------%
# | SECTION 5: 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++ = xlC_r
#CC = xlc_r
#FC = xlf_r

#F90 = xlf90_r
#LINKER = xlC_r

# By us /usr/bin for CC++ CC FC F90
#CC++ = /usr/bin/mpCC_r
#CC = /usr/bin/mpcc_r
#FC = /usr/bin/mpxlf_r

#F90 = /usr/bin/mpxlf90_r
#FORTRAN = $(FC)

CC++ = mpCC_r
CC = mpcc_r
FC = mpxlf_r

F90 = mpxlf90_r
FORTRAN = $(FC)

LINKER = $(CC++)


#AR = ar -X64
AR = ar -X32
ARCH = ar

ARFLAGS = -v -q
#ARCHFLAGS = cqls
ARCHFLAGS = -v -q

RANLIB = ranlib
#following by Pal 19apr ranlibflags
#RANLIBFLAGS = ranlibflags
RANLIBFLAGS =


#GRAPHIC_FLAG = -D_NOGRAPHICS -D_GLX
#GRAPHIC_FLAG = -D_NOGRAPHICS
GRAPHIC_FLAG = -D_NOGRAPHICS
PROGRAMMING_FLAG =

#RELIABILITY_FLAG = -D_RELIABILITY
RELIABILITY_FLAG =

#DEBUG_FLAG = -D_G3DEBUG
DEBUG_FLAG =



COMP_FLAG = -qnoipa

C++FLAGS = -O2 -q32 -qstrict -qarch=pwr4 -qtune=pwr4 -D_LINUX -D_UNIX $(GRAPHIC_FLAG) -D_KAI \
$(PROGRAMMING_FLAG) -D_TCL84 -D_PARALLEL_PROCESSING -D_PETSC

CFLAGS = -O2 -q32 -qstrict -qarch=pwr4 -qtune=pwr4 $(GRAPHIC_FLAG) $(PROGRAMMING_FLAG) -D_KAI \
-D_TCL84 -D_PARALLEL_PROCESSING -D_PETSC
FFLAGS = -O2 -q32 -qstrict -qarch=pwr4 -qtune=pwr4 -qextname
LINKFLAGS = -O2 -q32 -qstrict -qarch=pwr4 -qtune=pwr4 -bbigtoc -bnoquiet


# Misc
MAKE = /usr/bin/gmake
CD = cd
ECHO = echo
RM = rm
RMFLAGS = -f
SHELL = /bin/sh

# %---------------------------------------------------------%
# | SECTION 6: 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 source files. |
# %-----------------------------------------------%
#


.cpp.o:
@$(ECHO) Making $@ from $< $@ with $(CC++) $(C++FLAGS) $(INCLUDES) -c $<
@$(CC++) $(C++FLAGS) $(INCLUDES) -c $<


.C.o:
@$(ECHO) Making $@ from $<
$(CC++) $(C++FLAGS) $(INCLUDES) -c $<

.c.o:
@$(ECHO) Making $@ from $<
$(CC) $(CFLAGS) -c $<

.f.o:
@$(ECHO) Making $@ from $<
$(FC) $(FFLAGS) -c $<

# Rajan .f77.o:
# Rajan @$(ECHO) Making $@ from $<
# Rajan $(FC) $(FFLAGS) -c $<

.f90.o:
@$(ECHO) Making $@ from $<
$(FC90) $(FFLAGS) -c $<

# %---------------------------------------------------------%
# | SECTION 7: 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!! |
# %---------------------------------------------------------%
# Rajan see other
MACHINE_LINKLIBS = -L$(BASE)/lib \
-L$(HOME)/lib

PETSC_DIR = /home/csm/pallavig/guru/petsc-2.2.1
PETSC_ARCH = aix5.1.0.0
BOPT = O

#-Wl,-rpath,$(PETSC_DIR)/lib/libg/$(PETSC_ARCH) \
#-Wl,-rpath,$(PETSC_DIR)/lib/$(PETSC_ARCH) \



PETSC_LIB = -L$(PETSC_DIR)/lib/libg/$(PETSC_ARCH) \
-lpetscsnes -lpetscksp -lpetscdm -lpetscmat -lpetscvec -lpetsc \
$(FE)/system_of_eqn/linearSOE/petsc/PetscSOE.o \
$(FE)/system_of_eqn/linearSOE/petsc/PetscSolver.o \
$(FE)/system_of_eqn/linearSOE/sparseGEN/SparseGenRowLinSOE.o \
$(FE)/system_of_eqn/linearSOE/sparseGEN/SparseGenRowLinSolver.o \
$(FE)/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.o


PARALLEL_LIB = $(FE)/system_of_eqn/linearSOE/diagonal/DistributedDiagonalSOE.o \
$(FE)/system_of_eqn/linearSOE/diagonal/DistributedDiagonalSolver.o \
$(FE)/system_of_eqn/linearSOE/diagonal/DistributedDiagonalSolver.o \
$(FE)/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.o \
$(FE)/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.o



HPM_LIB = -L/usr/local/hpm_2_4_2/pwr4/lib/ \
-lhpm_r -lhpm_r -lm

MACHINE_NUMERICAL_LIBS = -lm \
$(ARPACK_LIBRARY) \
$(SUPERLU_LIBRARY) \
$(UMFPACK_LIBRARY) \
$(LAPACK_LIBRARY) \
$(BLAS_LIBRARY) \
$(CBLAS_LIBRARY) \
$(GRAPHIC_LIBRARY)\
$(RELIABILITY_LIBRARY) \
$(DISTRIBUTED_SUPERLU_LIBRARY) \
$(METIS_LIBRARY) $(PARALLEL_LIB) $(PETSC_LIB) $(HPM_LIB)




MACHINE_SPECIFIC_LIBS = -lpng -lessl -lessl_r -lGL -lX11 -lf


# %---------------------------------------------------------%
# | SECTION 8: INCLUDE FILES |
# | |
# | The following macros specify include files needed for |
# | compilation. |
# %---------------------------------------------------------%

PETSCINC = -I$(PETSC_DIR)/include -I$(PETSC_DIR)/bmake/$(PETSC_ARCH) -D_PETSC -DPETSC_USE_BOPT_g -DPETSC_USE_EXTERN_CXX

MACHINE_INCLUDES = -I/usr/local/BerkeleyDB.4.0/include \
# -I/usr/include/mysql \
-I/usr/local/hpm_2_4_2/include \
-I$(HOME)/include \
-I$(UMFPACKdir) \
-I$(SUPERLUdir) \
-I$(SUPERLU_DISTdir) \
-I/usr/lpp/ppe.poe/include \
$(PETSC_INC)



# this file contains all the OpenSees/SRC includes
include $(FE)/Makefile.incl

#TCL_INCLUDES = -I/home/fmk/tcl8.3.3/generic
GL_INCLUDES= -I/home/csm/pallavig/pre_com_mesa/usr/include
TCL_INCLUDES = -I/home/csm/pallavig/usr/local/tcl/include
#TCL_INCLUDES = -I/usr/local/include
#INCLUDES = $(MACHINE_INCLUDES) $(TCL_INCLUDES) $(FE_INCLUDES) $(GL_INCLUDES) -I/home/csm/pallavig/guru/petsc-2.2.1/include -I${PETSC_DIR}/bmake/${PETSC_ARCH}
INCLUDES = $(MACHINE_INCLUDES) $(TCL_INCLUDES) $(FE_INCLUDES) $(GL_INCLUDES)


Need a solution for the error.

Thanking you in advanced
Regards
Pallavi

Posted: Wed May 06, 2009 10:03 am
by fmk
either built it w/o Petsc or you need to either find and link to the correct petsc library .. sometimes these means changing the order of the libs or duplicating certain libs in the Makefile.def.