Error Building OpenSees Parallel on Redhat

For developers writing C++, Fortran, Java, code who have questions or comments to make.

Moderators: silvia, selimgunay, Moderators

Post Reply
leonizhen
Posts: 5
Joined: Thu Jan 08, 2015 7:35 am
Location: George Washington University

Error Building OpenSees Parallel on Redhat

Post by leonizhen » Wed Feb 11, 2015 12:32 pm

Hi,

I am trying to build the opensees in parallel mode on redhat machine. But I got the following errors:

g++: error: /c1/apps/opensees_sp/OpenSees/SRC/actor/channel/MPI_Channel.o: No such file or directory
g++: error: /c1/apps/opensees_sp/OpenSees/SRC/actor/machineBroker/MPI_MachineBroker.o: No such file or directory
g++: error: /c1/apps/opensees_sp/OpenSees/SRC/system_of_eqn/linearSOE/diagonal/MPIDiagonalSOE.o: No such file or directory
g++: error: /c1/apps/opensees_sp/OpenSees/SRC/system_of_eqn/linearSOE/diagonal/MPIDiagonalSolver.o: No such file or directory
g++: error: /c1/apps/opensees_sp/OpenSees/SRC/domain/subdomain/ActorSubdomain.o: No such file or directory
g++: error: /c1/apps/opensees_sp/OpenSees/SRC/domain/subdomain/ShadowSubdomain.o: No such file or directory
g++: error: /c1/apps/opensees_sp/lib/libOpenSees.a: No such file or directory
g++: error: /c1/apps/opensees_sp/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.o: No such file or directory
g++: error: /c1/apps/opensees_sp/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.o: No such file or directory
g++: error: /c1/apps/opensees_sp/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSOE.o: No such file or directory
g++: error: /c1/apps/opensees_sp/lib/libSuperLU_dist.a: No such file or directory
g++: error: /c1/apps/opensees_sp/lib/libSuperLU_dist.a: No such file or directory

Can anyone help me on solving this issue please? Thanks!

leonizhen
Posts: 5
Joined: Thu Jan 08, 2015 7:35 am
Location: George Washington University

Re: Error Building OpenSees Parallel on Redhat

Post by leonizhen » Wed Feb 11, 2015 12:35 pm

Here is my Makefile.def:

############################################################################
#
# 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
#
############################################################################

## ssh to machine from your own:
# chmod 'go+rwx' XXX.pem
# (right click running instance, click connect, click connect with standalone ssh client to get command:
# ssh -i XXX.pem root@YYY.amazonaws.com

# Following are commands to build OpenSees
# on EC2 FEDORA 64 bit machine (ami-7d0c6314) once logged in

# sudo yum install gcc.x86_64
# sudo yum install gcc-c++.x86_64
# sudo yum install gcc-gfortran.x86_64
# sudo yum install tcl.x86_64
# sudo yum install tcl-devel.x86_64
# sudo yum install svn
# sudo yum install emacs
# mkdir bin
# mkdir lib
# svn co svn://opensees.berkeley.edu:/usr/local/svn/OpenSees/trunk OpenSees
# cd OpenSees
# cp ./MAKES/Makefile.def.EC2-REDHAT-ENTERPRISE ./Makefile.def
# make

# END of commands to build OpenSees.


# %---------------------------------%
# | SECTION 1: PROGRAM |
# %---------------------------------%
#
# Specify the location and name of the OpenSees interpreter program
# that will be created (if this all works!)

HOME = /c1/apps/opensees_sp
OpenSees_PROGRAM = $(HOME)/bin/OpenSees_sp

OPERATING_SYSTEM = LINUX
GRAPHICS = NONE
GRAPHIC_FLAG = -D_NOGRAPHICS
PROGRAMMING_MODE = PARALLEL
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 =
FE = $(HOME)/OpenSees/SRC

AMDdir = $(HOME)/OpenSees/OTHER/AMD
BLASdir =
CBLASdir = $(HOME)/OpenSees/OTHER/CBLAS
LAPACKdir =
SUPERLUdir = $(HOME)/OpenSees/OTHER/SuperLU_4.1/SRC
ARPACKdir = $(HOME)/OpenSees/OTHER/ARPACK
UMFPACKdir = $(HOME)/OpenSees/OTHER/UMFPACK
METISdir = $(HOME)/OpenSees/OTHER/METIS
CSPARSEdir = $(HOME)/OpenSees/OTHER/CSPARSE
SRCdir = $(HOME)/OpenSees/SRC


DIRS = $(CBLASdir) $(AMDdir) $(CSPARSEdir) \
$(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 =
BLAS_LIBRARY =
SUPERLU_LIBRARY = $(HOME)/lib/libSuperLU.a
DISTRIBUTED_SUPERLU_LIBRARY = $(HOME)/lib/libSuperLU_dist.a
CBLAS_LIBRARY = $(HOME)/lib/libCBlas.a
CSPARSE_LIBRARY = $(HOME)/lib/libCBlas.a
ARPACK_LIBRARY = $(HOME)/lib/libArpack.a
AMD_LIBRARY = $(HOME)/lib/libAMD.a
UMFPACK_LIBRARY = $(HOME)/lib/libUmfpack.a
METIS_LIBRARY = $(HOME)/lib/libMetis.a
TCL_LIBRARY = /c1/apps/tcl8.5/lib/libtcl8.5.so
BLITZ_LIBRARY = $(HOME)/blitz/lib/libblitz.a
GRAPHIC_LIBRARY =

# WATCH OUT .. These libraries are removed when 'make wipe' is invoked.
WIPE_LIBS = $(FE_LIBRARY) \
$(CBLAS_LIBRARY) \
$(SUPERLU_LIBRARY) \
$(ARPACK_LIBRARY) \
$(UMFPACK_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

CC++ = mpicxx
CC = mpicc
FC = mpif90
F90 = mpif90
LINKER = mpicxx

AR = ar
ARFLAGS = cqls
RANLIB = ranlib
RANLIBFLAGS =

PROGRAMMING_FLAG = -D_PARALLEL_PROCESSING
RELIABILITY_FLAG =

# 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_TCL85 \
$(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_TCL85 \
$(GRAPHIC_FLAG) $(RELIABILITY_FLAG) $(DEBUG_FLAG) \
$(PROGRAMMING_FLAG) -O3 -ffloat-store
CFLAGS = -Wall -O2
FFLAGS = -Wall -O

# Linker
LINKFLAGS = -rdynamic

endif


# 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) \
$(DISTRIBUTED_SUPERLU_LIBRARY) \
$(LAPACK_LIBRARY) $(BLAS_LIBRARY) $(CBLAS_LIBRARY) $(CSPARSE_LIBRARY) \
$(AMD_LIBRARY) $(GRAPHIC_LIBRARY)\
-ldl -lgfortran

MACHINE_SPECIFIC_LIBS =

PARALLEL_LIB = $(FE)/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.o \ $(FE)/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.o \ $(FE)/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSOE.o \$(DISTRIBUTED_SUPERLU_LIBRARY)

# %---------------------------------------------------------%
# | 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/c1/apps/tcl8.5/include

INCLUDES = $(TCL_INCLUDES) $(FE_INCLUDES) $(MACHINE_INCLUDES)

fmk
Site Admin
Posts: 5883
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: Error Building OpenSees Parallel on Redhat

Post by fmk » Wed Feb 11, 2015 5:21 pm

you might cd to SRC/actor/channel and type make .. is there an error .. if no error is there an MPI_Channel.o file .. if not the PROGRAMMING_MODE is not coming from the Makefile.def correctly .. either set it directly in the Makefile (and the others identified by the missing .o files in the error message)

leonizhen
Posts: 5
Joined: Thu Jan 08, 2015 7:35 am
Location: George Washington University

Re: Error Building OpenSees Parallel on Redhat

Post by leonizhen » Wed Feb 18, 2015 8:18 am

Thanks for your reply. Now most of the errors have been fixed, but only a few left:

g++: error: /c1/apps/opensees_sp/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.o: No such file or directory
g++: error: /c1/apps/opensees_sp/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSOE.o: No such file or directory
g++: error: /c1/apps/opensees_sp/lib/libSuperLU_dist.a: No such file or directory
g++: error: /c1/apps/opensees_sp/lib/libSuperLU_dist.a: No such file or directory

I tried cd into the SRC/system_of_eqn/linearSOE/sparseGEN, and type make. There is no error found, and DistributedSparseGenColLinSOE.o is right there as well as SparseGenColLinSOE.o. But I still got the above errors, which does not make sense to me. Would you please provide any advice? Thank you.

fmk
Site Admin
Posts: 5883
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: Error Building OpenSees Parallel on Redhat

Post by fmk » Thu Feb 19, 2015 1:15 pm

it's a doozy that does not make sense if the files are there .. it could have someting to do with the PARALLEL_LIB, comment out what you have and set it equal to blank and see what error message you have

i.e.
PARALLEL_LIB =

leonizhen
Posts: 5
Joined: Thu Jan 08, 2015 7:35 am
Location: George Washington University

Re: Error Building OpenSees Parallel on Redhat

Post by leonizhen » Tue Feb 24, 2015 8:49 am

Thanks and that error disappears. This time I only have one error left:

g++: error: /c1/apps/opensees_sp/lib/libSuperLU_dist.a: No such file or directory

Is there something wrong with the superLU model building?

Thanks,

fmk
Site Admin
Posts: 5883
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: Error Building OpenSees Parallel on Redhat

Post by fmk » Tue Feb 24, 2015 9:40 am

go to the OpenSees/OTHER/SuperLU_Dist_2.5/SRC directory and type make to see if the lib gets built or what the error is

leonizhen
Posts: 5
Joined: Thu Jan 08, 2015 7:35 am
Location: George Washington University

Re: Error Building OpenSees Parallel on Redhat

Post by leonizhen » Tue Feb 24, 2015 11:06 am

There is no error in the OpenSees/OTHER/SuperLU_Dist_2.5/SRC directory. But when I return to the OpenSees directory and make again, I got the following errors:

/c1/apps/opensees_sp/OpenSees/SRC/tcl/commands.o: In function `specifySOE(void*, Tcl_Interp*, int, char const**)':
commands.cpp:(.text+0xb611): undefined reference to `DistributedSparseGenColLinSOE::DistributedSparseGenColLinSOE(SparseGenColLinSolver&)'
commands.cpp:(.text+0xb68f): undefined reference to `DistributedSuperLU::DistributedSuperLU(int, int)'
/c1/apps/opensees_sp/lib/libOpenSees.a(Matrix.o): In function `Matrix::Solve(Vector const&, Vector&) const':
Matrix.cpp:(.text+0x1284): undefined reference to `dgesv_'
/c1/apps/opensees_sp/lib/libOpenSees.a(Matrix.o): In function `Matrix::Solve(Matrix const&, Matrix&) const':
Matrix.cpp:(.text+0x14a8): undefined reference to `dgesv_'
/c1/apps/opensees_sp/lib/libOpenSees.a(Matrix.o): In function `Matrix::Invert(Matrix&) const':
Matrix.cpp:(.text+0x16cd): undefined reference to `dgetrf_'
Matrix.cpp:(.text+0x1712): undefined reference to `dgetri_'
/c1/apps/opensees_sp/lib/libOpenSees.a(KrylovAccelerator.o): In function `KrylovAccelerator::accelerate(Vector&, LinearSOE&, IncrementalIntegrator&)':
KrylovAccelerator.cpp:(.text+0x51a): undefined reference to `dgels_'
/c1/apps/opensees_sp/lib/libOpenSees.a(BandGenLinLapackSolver.o): In function `BandGenLinLapackSolver::solve()':
BandGenLinLapackSolver.cpp:(.text+0x105): undefined reference to `dgbtrs_'
BandGenLinLapackSolver.cpp:(.text+0x16d): undefined reference to `dgbsv_'
/c1/apps/opensees_sp/lib/libOpenSees.a(FullGenLinLapackSolver.o): In function `FullGenLinLapackSolver::solve()':
FullGenLinLapackSolver.cpp:(.text+0x18a): undefined reference to `dgetrs_'
FullGenLinLapackSolver.cpp:(.text+0x1d3): undefined reference to `dgesv_'
/c1/apps/opensees_sp/lib/libOpenSees.a(BandSPDLinLapackSolver.o): In function `BandSPDLinLapackSolver::solve()':
BandSPDLinLapackSolver.cpp:(.text+0xd7): undefined reference to `dpbtrs_'
BandSPDLinLapackSolver.cpp:(.text+0x12a): undefined reference to `dpbsv_'
/c1/apps/opensees_sp/lib/libOpenSees.a(FullGenEigenSolver.o): In function `FullGenEigenSolver::solve(int, bool, bool)':
FullGenEigenSolver.cpp:(.text+0x6d5): undefined reference to `dggev_'
/c1/apps/opensees_sp/lib/libOpenSees.a(Metis.o): In function `Metis::partition(Graph&, int)':
Metis.cpp:(.text+0x45c): undefined reference to `METIS_PartGraphKway'
Metis.cpp:(.text+0x56e): undefined reference to `METIS_PartGraphRecursive'
/c1/apps/opensees_sp/lib/libOpenSees.a(Metis.o): In function `Metis::number(Graph&, int)':
Metis.cpp:(.text+0x7bf): undefined reference to `METIS_PartGraphKway'
Metis.cpp:(.text+0xa1a): undefined reference to `METIS_PartGraphRecursive'
/c1/apps/opensees_sp/lib/libOpenSees.a(Metis.o): In function `Metis::partitionGraph(int*, int*, int*, int*, int*, int*, int*, int*, int*, int*, int*, bool)':
Metis.cpp:(.text+0xcc2): undefined reference to `METIS_PartGraphKway'
Metis.cpp:(.text+0xcd1): undefined reference to `METIS_PartGraphRecursive'
/c1/apps/opensees_sp/lib/libOpenSees.a(Metis.o): In function `Metis::partitionHexMesh(int*, int*, int*, int, int, int, bool)':
Metis.cpp:(.text+0xd3d): undefined reference to `METIS_PartMeshDual'
Metis.cpp:(.text+0xd51): undefined reference to `METIS_PartMeshNodal'
/c1/apps/opensees_sp/lib/libOpenSees.a(FEM_ObjectBrokerAllClasses.o): In function `FEM_ObjectBrokerAllClasses::getNewLinearSOE(int)':
FEM_ObjectBrokerAllClasses.cpp:(.text+0x701): undefined reference to `DistributedSparseGenColLinSOE::DistributedSparseGenColLinSOE()'
/c1/apps/opensees_sp/lib/libOpenSees.a(SymBandEigenSolver.o): In function `SymBandEigenSolver::solve(int, bool, bool)':
SymBandEigenSolver.cpp:(.text+0x767): undefined reference to `dsbevx_'
/c1/apps/opensees_sp/lib/libOpenSees.a(KrylovNewton.o): In function `KrylovNewton::leastSquares(int)':
KrylovNewton.cpp:(.text+0x60e): undefined reference to `dgels_'
/c1/apps/opensees_sp/lib/libArpack.a(dseupd.o): In function `dseupd_':
dseupd.f:(.text+0x406): undefined reference to `dnrm2_'
dseupd.f:(.text+0xa50): undefined reference to `dcopy_'
dseupd.f:(.text+0xa8a): undefined reference to `dcopy_'
dseupd.f:(.text+0xae2): undefined reference to `dsteqr_'
dseupd.f:(.text+0xb48): undefined reference to `dcopy_'
dseupd.f:(.text+0xc70): undefined reference to `dcopy_'
dseupd.f:(.text+0xcb4): undefined reference to `dcopy_'
dseupd.f:(.text+0xce4): undefined reference to `dcopy_'
dseupd.f:(.text+0xd4d): undefined reference to `dcopy_'
/c1/apps/opensees_sp/lib/libArpack.a(dseupd.o):dseupd.f:(.text+0xd7d): more undefined references to `dcopy_' follow
/c1/apps/opensees_sp/lib/libArpack.a(dseupd.o): In function `dseupd_':
dseupd.f:(.text+0x1128): undefined reference to `dscal_'
dseupd.f:(.text+0x11da): undefined reference to `dgeqr2_'
dseupd.f:(.text+0x1277): undefined reference to `dorm2r_'
dseupd.f:(.text+0x12c2): undefined reference to `dlacpy_'
dseupd.f:(.text+0x139f): undefined reference to `dorm2r_'
dseupd.f:(.text+0x1454): undefined reference to `dscal_'
dseupd.f:(.text+0x18cc): undefined reference to `dger_'
/c1/apps/opensees_sp/lib/libArpack.a(dsesrt.o): In function `dsesrt_':
dsesrt.f:(.text+0x112): undefined reference to `dswap_'
dsesrt.f:(.text+0x24e): undefined reference to `dswap_'
dsesrt.f:(.text+0x356): undefined reference to `dswap_'
dsesrt.f:(.text+0x492): undefined reference to `dswap_'
/c1/apps/opensees_sp/lib/libArpack.a(dsaup2.o): In function `dsaup2_':
dsaup2.f:(.text+0x522): undefined reference to `dcopy_'
dsaup2.f:(.text+0x55b): undefined reference to `dcopy_'
dsaup2.f:(.text+0x5ed): undefined reference to `dcopy_'
dsaup2.f:(.text+0x826): undefined reference to `dswap_'
dsaup2.f:(.text+0x87b): undefined reference to `dswap_'
dsaup2.f:(.text+0xdcd): undefined reference to `dcopy_'
dsaup2.f:(.text+0xf38): undefined reference to `dcopy_'
dsaup2.f:(.text+0xf88): undefined reference to `dcopy_'
dsaup2.f:(.text+0xfef): undefined reference to `ddot_'
dsaup2.f:(.text+0x1042): undefined reference to `dnrm2_'
/c1/apps/opensees_sp/lib/libArpack.a(dseigt.o): In function `dseigt_':
dseigt.f:(.text+0xdf): undefined reference to `dcopy_'
dseigt.f:(.text+0x10a): undefined reference to `dcopy_'
/c1/apps/opensees_sp/lib/libArpack.a(dsgets.o): In function `dsgets_':
dsgets.f:(.text+0xe7): undefined reference to `dswap_'
dsgets.f:(.text+0x11f): undefined reference to `dswap_'
dsgets.f:(.text+0x199): undefined reference to `dcopy_'
/c1/apps/opensees_sp/lib/libArpack.a(dgetv0.o): In function `dgetv0_':
dgetv0.f:(.text+0xdb): undefined reference to `dlarnv_'
dgetv0.f:(.text+0x133): undefined reference to `dcopy_'
dgetv0.f:(.text+0x1e8): undefined reference to `dcopy_'
dgetv0.f:(.text+0x236): undefined reference to `dcopy_'
dgetv0.f:(.text+0x2a1): undefined reference to `ddot_'
dgetv0.f:(.text+0x2f4): undefined reference to `dnrm2_'
dgetv0.f:(.text+0x395): undefined reference to `dgemv_'
dgetv0.f:(.text+0x414): undefined reference to `dgemv_'
dgetv0.f:(.text+0x464): undefined reference to `dcopy_'
dgetv0.f:(.text+0x4b6): undefined reference to `dcopy_'
dgetv0.f:(.text+0x51b): undefined reference to `ddot_'
dgetv0.f:(.text+0x56c): undefined reference to `dnrm2_'
/c1/apps/opensees_sp/lib/libArpack.a(dstqrb.o): In function `dstqrb_':
dstqrb.f:(.text+0x2f9): undefined reference to `dlanst_'
dstqrb.f:(.text+0x392): undefined reference to `dlascl_'
dstqrb.f:(.text+0x403): undefined reference to `dlascl_'
dstqrb.f:(.text+0x497): undefined reference to `dlascl_'
dstqrb.f:(.text+0x508): undefined reference to `dlascl_'
dstqrb.f:(.text+0x673): undefined reference to `dlaev2_'
dstqrb.f:(.text+0x784): undefined reference to `dlapy2_'
dstqrb.f:(.text+0x87b): undefined reference to `dlartg_'
dstqrb.f:(.text+0x9e8): undefined reference to `dlasr_'
dstqrb.f:(.text+0xb35): undefined reference to `dlaev2_'
dstqrb.f:(.text+0xc25): undefined reference to `dlapy2_'
dstqrb.f:(.text+0xd1c): undefined reference to `dlartg_'
dstqrb.f:(.text+0xe81): undefined reference to `dlasr_'
dstqrb.f:(.text+0xf45): undefined reference to `dlascl_'
dstqrb.f:(.text+0xfb6): undefined reference to `dlascl_'
dstqrb.f:(.text+0x103a): undefined reference to `dlascl_'
dstqrb.f:(.text+0x10ab): undefined reference to `dlascl_'
dstqrb.f:(.text+0x120a): undefined reference to `dlartg_'
dstqrb.f:(.text+0x1299): undefined reference to `dlartg_'
/c1/apps/opensees_sp/lib/libArpack.a(dsaitr.o): In function `dsaitr_':
dsaitr.f:(.text+0x373): undefined reference to `dcopy_'
dsaitr.f:(.text+0x3d2): undefined reference to `dscal_'
dsaitr.f:(.text+0x3f8): undefined reference to `dscal_'
dsaitr.f:(.text+0x46b): undefined reference to `dlascl_'
dsaitr.f:(.text+0x4bc): undefined reference to `dlascl_'
dsaitr.f:(.text+0x51f): undefined reference to `dcopy_'
dsaitr.f:(.text+0x5b4): undefined reference to `dcopy_'
dsaitr.f:(.text+0x641): undefined reference to `dcopy_'
dsaitr.f:(.text+0x6b4): undefined reference to `ddot_'
dsaitr.f:(.text+0x71e): undefined reference to `ddot_'
dsaitr.f:(.text+0x771): undefined reference to `dnrm2_'
dsaitr.f:(.text+0x7f3): undefined reference to `dgemv_'
dsaitr.f:(.text+0x865): undefined reference to `dgemv_'
dsaitr.f:(.text+0x8d1): undefined reference to `dgemv_'
dsaitr.f:(.text+0x9a7): undefined reference to `dcopy_'
dsaitr.f:(.text+0x9fe): undefined reference to `dcopy_'
dsaitr.f:(.text+0xa6f): undefined reference to `ddot_'
dsaitr.f:(.text+0xabf): undefined reference to `dnrm2_'
dsaitr.f:(.text+0xbaf): undefined reference to `dgemv_'
dsaitr.f:(.text+0xc1b): undefined reference to `dgemv_'
dsaitr.f:(.text+0xcc8): undefined reference to `dcopy_'
dsaitr.f:(.text+0xd23): undefined reference to `dcopy_'
dsaitr.f:(.text+0xd8e): undefined reference to `ddot_'
dsaitr.f:(.text+0xde1): undefined reference to `dnrm2_'
dsaitr.f:(.text+0xfb5): undefined reference to `dscal_'
dsaitr.f:(.text+0xfd6): undefined reference to `dscal_'
/c1/apps/opensees_sp/lib/libArpack.a(dsapps.o): In function `dsapps_':
dsapps.f:(.text+0x107): undefined reference to `dlaset_'
dsapps.f:(.text+0x36f): undefined reference to `dlartg_'
dsapps.f:(.text+0x55a): undefined reference to `dlartg_'
dsapps.f:(.text+0x76d): undefined reference to `dscal_'
dsapps.f:(.text+0x9be): undefined reference to `dgemv_'
dsapps.f:(.text+0xab2): undefined reference to `dgemv_'
dsapps.f:(.text+0xaed): undefined reference to `dcopy_'
dsapps.f:(.text+0xb6f): undefined reference to `dlacpy_'
dsapps.f:(.text+0xbe1): undefined reference to `dcopy_'
dsapps.f:(.text+0xc26): undefined reference to `dscal_'
dsapps.f:(.text+0xc88): undefined reference to `daxpy_'
/c1/apps/opensees_sp/lib/libUmfpack.a(umd2f2.o): In function `umd2f2_':
umd2f2.f:(.text+0x1040): undefined reference to `idamax_'
umd2f2.f:(.text+0x3e4c): undefined reference to `dgemv_'
umd2f2.f:(.text+0x415d): undefined reference to `idamax_'
umd2f2.f:(.text+0x48db): undefined reference to `dgemm_'
umd2f2.f:(.text+0x528d): undefined reference to `dgemv_'
umd2f2.f:(.text+0x5bd5): undefined reference to `dgemv_'
/c1/apps/opensees_sp/lib/libUmfpack.a(umd2s2.o): In function `umd2s2_':
umd2s2.f:(.text+0x14cc): undefined reference to `idamax_'
/c1/apps/opensees_sp/lib/libUmfpack.a(umd2sl.o): In function `umd2sl_':
umd2sl.f:(.text+0x151): undefined reference to `dtrsv_'
umd2sl.f:(.text+0x20b): undefined reference to `dgemv_'
/c1/apps/opensees_sp/lib/libUmfpack.a(umd2su.o): In function `umd2su_':
umd2su.f:(.text+0x1c2): undefined reference to `dgemv_'
umd2su.f:(.text+0x21f): undefined reference to `dtrsv_'
/c1/apps/opensees_sp/lib/libUmfpack.a(umd2lt.o): In function `umd2lt_':
umd2lt.f:(.text+0x198): undefined reference to `dgemv_'
umd2lt.f:(.text+0x1f9): undefined reference to `dtrsv_'
/c1/apps/opensees_sp/lib/libUmfpack.a(umd2ut.o): In function `umd2ut_':
umd2ut.f:(.text+0x179): undefined reference to `dtrsv_'
umd2ut.f:(.text+0x224): undefined reference to `dgemv_'
collect2: error: ld returned 1 exit status
make[1]: *** [tcl] Error 1
make[1]: Leaving directory `/c1/apps/opensees_sp/OpenSees/SRC/modelbuilder/tcl'
make: *** [all] Error 2

I am using tcl8.5. Is there anything else required for me to compile it? Thanks.

fmk
Site Admin
Posts: 5883
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: Error Building OpenSees Parallel on Redhat

Post by fmk » Wed Aug 26, 2015 8:31 am

you are not linking with a blas library

Post Reply