Dear Frank,
When I type make tcl in modelbuilder/tcl folder, i get the following:
make[1]: Entering directory «/home/david/Escritorio/Version22/OpenSees/SRC/tcl»
make[1]: Nothing to be done for «tcl».
make[1]: Leaving directory «/home/david/Escritorio/Version22/OpenSees/SRC/tcl»
g++: error: : No such file or directory
make: *** [tcl] Error 1
Again, thanks for your help.
Search found 13 matches
- Mon Aug 22, 2016 4:58 pm
- Forum: OpenSees.exe Users
- Topic: Error while installing OpenSees 2.4.3
- Replies: 12
- Views: 9782
- Mon Aug 22, 2016 3:38 pm
- Forum: OpenSees.exe Users
- Topic: Error while installing OpenSees 2.4.3
- Replies: 12
- Views: 9782
Re: Error while installing OpenSees 2.4.3
Or course, here it is
make[1]: Entering directory «/home/david/Escritorio/Version23/OpenSees/SRC/tcl»
make[1]: Nothing to be done for «tcl».
make[1]: Leaving directory «/home/david/Escritorio/Version23/OpenSees/SRC/tcl»
make[1]: Entering directory «/home/david/Escritorio/Version23/OpenSees/SRC/modelbuilder/tcl»
make[2]: Entering directory «/home/david/Escritorio/Version23/OpenSees/SRC/tcl»
make[2]: Nothing to be done for «tcl».
make[2]: Leaving directory «/home/david/Escritorio/Version23/OpenSees/SRC/tcl»
g++: error: : No such file or directory
make[1]: *** [tcl] Error 1
make[1]: Leaving directory «/home/david/Escritorio/Version23/OpenSees/SRC/modelbuilder/tcl»
make: *** [all] Error 2
Again, thanks for your help.
make[1]: Entering directory «/home/david/Escritorio/Version23/OpenSees/SRC/tcl»
make[1]: Nothing to be done for «tcl».
make[1]: Leaving directory «/home/david/Escritorio/Version23/OpenSees/SRC/tcl»
make[1]: Entering directory «/home/david/Escritorio/Version23/OpenSees/SRC/modelbuilder/tcl»
make[2]: Entering directory «/home/david/Escritorio/Version23/OpenSees/SRC/tcl»
make[2]: Nothing to be done for «tcl».
make[2]: Leaving directory «/home/david/Escritorio/Version23/OpenSees/SRC/tcl»
g++: error: : No such file or directory
make[1]: *** [tcl] Error 1
make[1]: Leaving directory «/home/david/Escritorio/Version23/OpenSees/SRC/modelbuilder/tcl»
make: *** [all] Error 2
Again, thanks for your help.
- Mon Aug 22, 2016 5:45 am
- Forum: OpenSees.exe Users
- Topic: Error while installing OpenSees 2.4.3
- Replies: 12
- Views: 9782
Re: Error while installing OpenSees 2.4.3
Dear Prof, McKenna.
Is there any solution for this problem?
Again, thanks for your help.
Is there any solution for this problem?
Again, thanks for your help.
- Thu Aug 18, 2016 1:04 pm
- Forum: OpenSees.exe Users
- Topic: Error while installing OpenSees 2.4.3
- Replies: 12
- Views: 9782
Re: Error while installing OpenSees 2.4.3
Dear Frank, thanks for your help
this is what the shell prints:
make[1]: se sale del directorio «/home/david/Escritorio/Version23/OpenSees/SRC»
make[1]: se ingresa al directorio «/home/david/Escritorio/Version23/OpenSees/OTHER/METIS»
make[1]: se sale del directorio «/home/david/Escritorio/Version23/OpenSees/OTHER/METIS»
LIBRARIES BUILT ... NOW LINKING OpenSees PROGRAM
make[1]: se ingresa al directorio «/home/david/Escritorio/Version23/OpenSees/SRC/tcl»
make[1]: No se hace nada para «tcl».
make[1]: se sale del directorio «/home/david/Escritorio/Version23/OpenSees/SRC/tcl»
make[1]: se ingresa al directorio «/home/david/Escritorio/Version23/OpenSees/SRC/modelbuilder/tcl»
make[2]: se ingresa al directorio «/home/david/Escritorio/Version23/OpenSees/SRC/tcl»
make[2]: No se hace nada para «tcl».
make[2]: se sale del directorio «/home/david/Escritorio/Version23/OpenSees/SRC/tcl»
g++: error: : No existe el archivo o el directorio
make[1]: *** [tcl] Error 1
make[1]: se sale del directorio «/home/david/Escritorio/Version23/OpenSees/SRC/modelbuilder/tcl»
make: *** [all] Error 2
if i type make tcl in SRC/modelbuilder/tcl it prints me
make[1]: se sale del directorio «/home/david/Escritorio/Version22/OpenSees/SRC/tcl»
g++-4.8: error: : No existe el archivo o el directorio
make: *** [tcl] Error 1
The same error as I get when i type make in OpenSees folder.
If y type make in SRC/tcl it prints:
"make: No se hace nada para «tcl»" (Nothing is done to "tcl" in its english translation).
Again, thanks for your help.
Best regards, David
this is what the shell prints:
make[1]: se sale del directorio «/home/david/Escritorio/Version23/OpenSees/SRC»
make[1]: se ingresa al directorio «/home/david/Escritorio/Version23/OpenSees/OTHER/METIS»
make[1]: se sale del directorio «/home/david/Escritorio/Version23/OpenSees/OTHER/METIS»
LIBRARIES BUILT ... NOW LINKING OpenSees PROGRAM
make[1]: se ingresa al directorio «/home/david/Escritorio/Version23/OpenSees/SRC/tcl»
make[1]: No se hace nada para «tcl».
make[1]: se sale del directorio «/home/david/Escritorio/Version23/OpenSees/SRC/tcl»
make[1]: se ingresa al directorio «/home/david/Escritorio/Version23/OpenSees/SRC/modelbuilder/tcl»
make[2]: se ingresa al directorio «/home/david/Escritorio/Version23/OpenSees/SRC/tcl»
make[2]: No se hace nada para «tcl».
make[2]: se sale del directorio «/home/david/Escritorio/Version23/OpenSees/SRC/tcl»
g++: error: : No existe el archivo o el directorio
make[1]: *** [tcl] Error 1
make[1]: se sale del directorio «/home/david/Escritorio/Version23/OpenSees/SRC/modelbuilder/tcl»
make: *** [all] Error 2
if i type make tcl in SRC/modelbuilder/tcl it prints me
make[1]: se sale del directorio «/home/david/Escritorio/Version22/OpenSees/SRC/tcl»
g++-4.8: error: : No existe el archivo o el directorio
make: *** [tcl] Error 1
The same error as I get when i type make in OpenSees folder.
If y type make in SRC/tcl it prints:
"make: No se hace nada para «tcl»" (Nothing is done to "tcl" in its english translation).
Again, thanks for your help.
Best regards, David
- Tue Aug 16, 2016 7:22 am
- Forum: OpenSees.exe Users
- Topic: Error while installing OpenSees 2.4.3
- Replies: 12
- Views: 9782
Re: Error while installing OpenSees 2.4.3
Dear Frank,
Yes, they exist. Also when I type make in SRC directory, it compiles without problem (no Opensees executable file in bin/ is created).
I would appreciate any suggestion or help to compile this version correctly. I attach my makefile.def if necessary.
Best regards, David.
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
#
############################################################################
#
# https://help.ubuntu.com/community/EC2StartersGuide
## ssh to machine from your own:
#
# chmod 'go+rwx' XXX.pem
# ssh -i XXX.pem ubuntu@YYY.amazonaws.com
#
# Instructuction for building OpenSees on Ubuntu
# using amazon EC-2 instance ami-d0f89fb9 (running Ubunto 12.04) once logged in
# sudo in and type the following:
# sudo apt-get update
# sudo apt-get install subversion
# svn co svn://opensees.berkeley.edu/usr/local/svn/OpenSees/trunk OpenSees
# sudo apt-get install emacs
# sudo apt-get install make
# sudo apt-get install tcl8.5
# sudo apt-get install tcl8.5-dev
# sudo apt-get install gcc
# sudo apt-get install g++
# sudo apt-get install gfortran
# mkdir lib
# mkdir bin
# cd OpenSees
# cp ./MAKES/Makefile.def.EC2-UBUNTU ./Makefile.def
# make
# NOTE: if 64 bit the TCL dir is placed elsewhere; make will fail
# you need to uncomment out the correct line below TL_LIBS =
# TCL_LIBS should point to the following: /usr/lib/x86_64-linux/gnu/libtcl8.5.so
# you can always find it using the find command:
# find / -name libtcl8.5.so 2>/dev/null
# %---------------------------------%
# | 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 = NONE
GRAPHIC_FLAG = -D_NOGRAPHICS
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 = /home/david/Escritorio/Version22
FE = $(HOME)/OpenSees/SRC
AMDdir = $(HOME)/OpenSees/OTHER/AMD
BLASdir = $(HOME)/OpenSees/OTHER/BLAS
CBLASdir = $(HOME)/OpenSees/OTHER/CBLAS
LAPACKdir = $(HOME)/OpenSees/OTHER/LAPACK
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 = $(BLASdir) $(CBLASdir) $(LAPACKdir) $(AMDdir) $(CSPARSEdir) \
# $(SUPERLUdir) $(ARPACKdir) $(UMFPACKdir) $(SRCdir) $(METISdir)
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
AMD_LIBRARY = $(HOME)/lib/libAMD.a
UMFPACK_LIBRARY = $(HOME)/lib/libUmfpack.a
METIS_LIBRARY = $(HOME)/lib/libMetis.a
# CSPARSE_LIBRARY = $(HOME)/lib/libCSparse.a
#TCL_LIBRARY = /usr/lib/libtcl8.5.so
TCL_LIBRARY = /usr/lib/libtk8.5.so /usr/lib/x86_64-linux-gnu/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) \
$(LAPACK_LIBRARY) \
$(BLAS_LIBRARY) \
$(CBLAS_LIBRARY) \
$(SUPERLU_LIBRARY) \
$(ARPACK_LIBRARY) \
$(UMFPACK_LIBRARY) \
# $(CSPARSE_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++-4.8
CC = /usr/bin/gcc-4.8
FC = /usr/bin/gfortran-4.8
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_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
LINKER = $(CC++)
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) \
# $(CSPARSE_LIBRARY) \
$(LAPACK_LIBRARY) $(BLAS_LIBRARY) $(CBLAS_LIBRARY) \
$(AMD_LIBRARY) $(GRAPHIC_LIBRARY)\
-ldl -lgfortran
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)
Yes, they exist. Also when I type make in SRC directory, it compiles without problem (no Opensees executable file in bin/ is created).
I would appreciate any suggestion or help to compile this version correctly. I attach my makefile.def if necessary.
Best regards, David.
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
#
############################################################################
#
# https://help.ubuntu.com/community/EC2StartersGuide
## ssh to machine from your own:
#
# chmod 'go+rwx' XXX.pem
# ssh -i XXX.pem ubuntu@YYY.amazonaws.com
#
# Instructuction for building OpenSees on Ubuntu
# using amazon EC-2 instance ami-d0f89fb9 (running Ubunto 12.04) once logged in
# sudo in and type the following:
# sudo apt-get update
# sudo apt-get install subversion
# svn co svn://opensees.berkeley.edu/usr/local/svn/OpenSees/trunk OpenSees
# sudo apt-get install emacs
# sudo apt-get install make
# sudo apt-get install tcl8.5
# sudo apt-get install tcl8.5-dev
# sudo apt-get install gcc
# sudo apt-get install g++
# sudo apt-get install gfortran
# mkdir lib
# mkdir bin
# cd OpenSees
# cp ./MAKES/Makefile.def.EC2-UBUNTU ./Makefile.def
# make
# NOTE: if 64 bit the TCL dir is placed elsewhere; make will fail
# you need to uncomment out the correct line below TL_LIBS =
# TCL_LIBS should point to the following: /usr/lib/x86_64-linux/gnu/libtcl8.5.so
# you can always find it using the find command:
# find / -name libtcl8.5.so 2>/dev/null
# %---------------------------------%
# | 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 = NONE
GRAPHIC_FLAG = -D_NOGRAPHICS
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 = /home/david/Escritorio/Version22
FE = $(HOME)/OpenSees/SRC
AMDdir = $(HOME)/OpenSees/OTHER/AMD
BLASdir = $(HOME)/OpenSees/OTHER/BLAS
CBLASdir = $(HOME)/OpenSees/OTHER/CBLAS
LAPACKdir = $(HOME)/OpenSees/OTHER/LAPACK
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 = $(BLASdir) $(CBLASdir) $(LAPACKdir) $(AMDdir) $(CSPARSEdir) \
# $(SUPERLUdir) $(ARPACKdir) $(UMFPACKdir) $(SRCdir) $(METISdir)
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
AMD_LIBRARY = $(HOME)/lib/libAMD.a
UMFPACK_LIBRARY = $(HOME)/lib/libUmfpack.a
METIS_LIBRARY = $(HOME)/lib/libMetis.a
# CSPARSE_LIBRARY = $(HOME)/lib/libCSparse.a
#TCL_LIBRARY = /usr/lib/libtcl8.5.so
TCL_LIBRARY = /usr/lib/libtk8.5.so /usr/lib/x86_64-linux-gnu/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) \
$(LAPACK_LIBRARY) \
$(BLAS_LIBRARY) \
$(CBLAS_LIBRARY) \
$(SUPERLU_LIBRARY) \
$(ARPACK_LIBRARY) \
$(UMFPACK_LIBRARY) \
# $(CSPARSE_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++-4.8
CC = /usr/bin/gcc-4.8
FC = /usr/bin/gfortran-4.8
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_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
LINKER = $(CC++)
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) \
# $(CSPARSE_LIBRARY) \
$(LAPACK_LIBRARY) $(BLAS_LIBRARY) $(CBLAS_LIBRARY) \
$(AMD_LIBRARY) $(GRAPHIC_LIBRARY)\
-ldl -lgfortran
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)
- Fri Aug 12, 2016 7:22 am
- Forum: OpenSees.exe Users
- Topic: Error while installing OpenSees 2.4.3
- Replies: 12
- Views: 9782
Re: Error while installing OpenSees 2.4.3
Hi Frank, I have a similar problem installing opensees revised version 4636 in ubuntu system 14.04 (which has upU scripts which I need). When compiling it throws a message LIBRARIES BUILT ... NOW LINKING OpenSees PROGRAM, but then it gets an error but it does not tell where it is:
make[1]: se sale del directorio «/home/david/Escritorio/Version23/OpenSees/SRC»
make[1]: se ingresa al directorio «/home/david/Escritorio/Version23/OpenSees/OTHER/METIS»
make[1]: se sale del directorio «/home/david/Escritorio/Version23/OpenSees/OTHER/METIS»
LIBRARIES BUILT ... NOW LINKING OpenSees PROGRAM
make[1]: se ingresa al directorio «/home/david/Escritorio/Version23/OpenSees/SRC/tcl»
make[1]: No se hace nada para «tcl».
make[1]: se sale del directorio «/home/david/Escritorio/Version23/OpenSees/SRC/tcl»
make[1]: se ingresa al directorio «/home/david/Escritorio/Version23/OpenSees/SRC/modelbuilder/tcl»
make[2]: se ingresa al directorio «/home/david/Escritorio/Version23/OpenSees/SRC/tcl»
make[2]: No se hace nada para «tcl».
make[2]: se sale del directorio «/home/david/Escritorio/Version23/OpenSees/SRC/tcl»
g++: error: : No existe el archivo o el directorio
make[1]: *** [tcl] Error 1
make[1]: se sale del directorio «/home/david/Escritorio/Version23/OpenSees/SRC/modelbuilder/tcl»
make: *** [all] Error 2
Punctualy I need an Opensees version where I can use upU formulation developed by Prof Boris Jeremic, but I've could not compile successfully any version.
Best regards, David
make[1]: se sale del directorio «/home/david/Escritorio/Version23/OpenSees/SRC»
make[1]: se ingresa al directorio «/home/david/Escritorio/Version23/OpenSees/OTHER/METIS»
make[1]: se sale del directorio «/home/david/Escritorio/Version23/OpenSees/OTHER/METIS»
LIBRARIES BUILT ... NOW LINKING OpenSees PROGRAM
make[1]: se ingresa al directorio «/home/david/Escritorio/Version23/OpenSees/SRC/tcl»
make[1]: No se hace nada para «tcl».
make[1]: se sale del directorio «/home/david/Escritorio/Version23/OpenSees/SRC/tcl»
make[1]: se ingresa al directorio «/home/david/Escritorio/Version23/OpenSees/SRC/modelbuilder/tcl»
make[2]: se ingresa al directorio «/home/david/Escritorio/Version23/OpenSees/SRC/tcl»
make[2]: No se hace nada para «tcl».
make[2]: se sale del directorio «/home/david/Escritorio/Version23/OpenSees/SRC/tcl»
g++: error: : No existe el archivo o el directorio
make[1]: *** [tcl] Error 1
make[1]: se sale del directorio «/home/david/Escritorio/Version23/OpenSees/SRC/modelbuilder/tcl»
make: *** [all] Error 2
Punctualy I need an Opensees version where I can use upU formulation developed by Prof Boris Jeremic, but I've could not compile successfully any version.
Best regards, David
- Thu Aug 11, 2016 2:48 pm
- Forum: OpenSees.exe Users
- Topic: Error while installing OpenSees 2.4.3
- Replies: 12
- Views: 9782
Re: Error while installing OpenSees 2.4.3
Hi anitha,
did you solve this? I have the same trouble, I would be very thankfull ifI you could you give me a hand with this.
Best regards, David
did you solve this? I have the same trouble, I would be very thankfull ifI you could you give me a hand with this.
Best regards, David
- Tue Aug 09, 2016 5:12 pm
- Forum: OpenSees.exe Users
- Topic: Error Showing while using nDMaterial ElasticIsotropic comman
- Replies: 3
- Views: 4178
Re: Error Showing while using nDMaterial ElasticIsotropic co
Mr McKenna, Do you have a 2.2 Opensees version available to share? I need u-p-U brick element developed by prof. Boris Jeremic. And current version does not have it. My contact email is jgomezz@eafit.edu.co
- Tue Jun 07, 2016 12:04 pm
- Forum: OpenSees.exe Users
- Topic: Version 2.2.0 released
- Replies: 29
- Views: 105551
Re: Version 2.2.0 released
Dear fmk, Could you send me please the older version of opensees 2.2.2?, I can't find it anywhere.
My email is jgomezz101@gmail.com
My email is jgomezz101@gmail.com
- Tue Jun 07, 2016 11:54 am
- Forum: OpenSees.exe Users
- Topic: How to download older version of opensees?
- Replies: 4
- Views: 4811
Re: How to download older version of opensees?
dear floatingclouds,
Colud yo send me please also the link of the older version of openSees.
my e-mail is jgomezz101@gmail.com
Colud yo send me please also the link of the older version of openSees.
my e-mail is jgomezz101@gmail.com
- Tue Apr 19, 2016 2:41 pm
- Forum: OpenSees.exe Users
- Topic: Error Showing while using nDMaterial ElasticIsotropic comman
- Replies: 3
- Views: 4178
Re: Error Showing while using nDMaterial ElasticIsotropic co
Hi Manish. Have you solved this trouble? I have similar issue
- Tue Apr 19, 2016 2:35 pm
- Forum: OpenSees.exe Users
- Topic: monotonic triaxial test simulation
- Replies: 7
- Views: 7873
Re: monotonic triaxial test simulation
Hi All.
Is it possible to perform dynamic simulation for an elastic material under undrained condition (using FluidPorousMaterial)?
Is it possible to perform dynamic simulation for an elastic material under undrained condition (using FluidPorousMaterial)?
- Thu Apr 07, 2016 4:38 pm
- Forum: Documentation
- Topic: stress, strain recorder for soil domain
- Replies: 4
- Views: 13478
Re: stress, strain recorder for soil domain
Dear fmk,
Actually I'm studying an opensees' example from soilQuake.net page, and I realized that the stress records .*out file for each gauss point of the quad only has 3 colums sx, sz, sxz (as you said above, the stress output for a planeStress problem) despite the element is defined as "PlaneStrain"?
I would thank sincerly your reply.
David Gomez.
wipe
#
#some user defined variables
#
set accMul 20 ;# acceleration multiplier
set massDen 2.0 ;# solid mass density
set fluidDen 1.0 ;# fluid mass density
set massProportionalDamping 0.0 ;
set stiffnessProportionalDamping 0.001 ;
set E 90000.0 ;#Young's modulus
set poisson 0.40 ;
set G [expr $E/(2*(1+$poisson))] ;
set B [expr $E/(3*(1-2*$poisson))] ;
set cohesion 30 ;
set peakShearStrain 0.1 ;
set press 0.0 ;# isotropic consolidation pressure on quad element(s)
set deltaT 0.010 ;# time step for analysis
set numSteps 2000 ;# Number of analysis steps
set gamma 0.600 ;# Newmark integration parameter
set period 1 ;# Period of applied sinusoidal load
set pi 3.1415926535 ;
set inclination 0 ;
set unitWeightX [expr ($massDen-$fluidDen)*9.81*sin($inclination/180.0*$pi)] ;# buoyant unit weight in X direction
set unitWeightY [expr -($massDen-$fluidDen)*9.81*cos($inclination/180.0*$pi)] ;# buoyant unit weight in Y direction
#############################################################
#############################################################
#create the ModelBuilder
model basic -ndm 2 -ndf 2
# define material and properties
nDMaterial PressureIndependMultiYield 2 2 $massDen $G $B $cohesion $peakShearStrain
nDMaterial FluidSolidPorous 1 2 2 2.2E+6
# define the nodes
node 1 0.0E0 0.0E0
node 2 1.0E0 0.0E0
node 3 1.0E0 1.0E0
node 4 0.0E0 1.0E0
# define the element thick material maTag press gravity
element quad 1 1 2 3 4 1.0 "PlaneStrain" 1 $press $unitWeightX $unitWeightY
updateMaterialStage -material 1 -stage 0
updateMaterialStage -material 2 -stage 0
# fix the base
fix 1 1 1
fix 2 1 1
#tie nodes 3 and 4
equalDOF 3 4 1 2
#############################################################
# GRAVITY APPLICATION (elastic behavior)
# create the SOE, ConstraintHandler, Integrator, Algorithm and Numberer
system ProfileSPD
test NormDispIncr 1.E-12 25 0
constraints Transformation
integrator LoadControl 1 1 1 1
algorithm Newton
numberer RCM
# create the Analysis
analysis Static
analyze 2
# switch the material to plastic
updateMaterialStage -material 1 -stage 1
updateMaterialStage -material 2 -stage 1
analyze 1
############################################################
# NOW APPLY LOADING SEQUENCE AND ANALYZE (plastic)
# rezero time
setTime 0.0
#loadConst -time 0.0E0
wipeAnalysis
# create a LoadPattern
pattern UniformExcitation 1 1 -accel "Sine 0 10 $period -factor $accMul"
# create the Analysis
constraints Transformation;
test NormDispIncr 1.E-12 25 0
algorithm Newton
numberer RCM
system ProfileSPD
rayleigh $massProportionalDamping 0.0 $stiffnessProportionalDamping 0.
integrator Newmark $gamma [expr pow($gamma+0.5, 2)/4]
analysis VariableTransient
recorder Node -file disp.out -time -node 1 2 3 4 -dof 1 2 -dT 0.01 disp
recorder Node -file acce.out -time -node 1 2 3 4 -dof 1 2 -dT 0.01 accel
recorder Element -ele 1 -time -file stress1.out -dT 0.01 material 1 stress
recorder Element -ele 1 -time -file strain1.out -dT 0.01 material 1 strain
recorder Element -ele 1 -time -file stress3.out -dT 0.01 material 3 stress
recorder Element -ele 1 -time -file strain3.out -dT 0.01 material 3 strain
#analyze
set startT [clock seconds]
analyze $numSteps $deltaT [expr $deltaT/100] $deltaT 10
set endT [clock seconds]
puts "Execution time: [expr $endT-$startT] seconds."
Actually I'm studying an opensees' example from soilQuake.net page, and I realized that the stress records .*out file for each gauss point of the quad only has 3 colums sx, sz, sxz (as you said above, the stress output for a planeStress problem) despite the element is defined as "PlaneStrain"?
I would thank sincerly your reply.
David Gomez.
wipe
#
#some user defined variables
#
set accMul 20 ;# acceleration multiplier
set massDen 2.0 ;# solid mass density
set fluidDen 1.0 ;# fluid mass density
set massProportionalDamping 0.0 ;
set stiffnessProportionalDamping 0.001 ;
set E 90000.0 ;#Young's modulus
set poisson 0.40 ;
set G [expr $E/(2*(1+$poisson))] ;
set B [expr $E/(3*(1-2*$poisson))] ;
set cohesion 30 ;
set peakShearStrain 0.1 ;
set press 0.0 ;# isotropic consolidation pressure on quad element(s)
set deltaT 0.010 ;# time step for analysis
set numSteps 2000 ;# Number of analysis steps
set gamma 0.600 ;# Newmark integration parameter
set period 1 ;# Period of applied sinusoidal load
set pi 3.1415926535 ;
set inclination 0 ;
set unitWeightX [expr ($massDen-$fluidDen)*9.81*sin($inclination/180.0*$pi)] ;# buoyant unit weight in X direction
set unitWeightY [expr -($massDen-$fluidDen)*9.81*cos($inclination/180.0*$pi)] ;# buoyant unit weight in Y direction
#############################################################
#############################################################
#create the ModelBuilder
model basic -ndm 2 -ndf 2
# define material and properties
nDMaterial PressureIndependMultiYield 2 2 $massDen $G $B $cohesion $peakShearStrain
nDMaterial FluidSolidPorous 1 2 2 2.2E+6
# define the nodes
node 1 0.0E0 0.0E0
node 2 1.0E0 0.0E0
node 3 1.0E0 1.0E0
node 4 0.0E0 1.0E0
# define the element thick material maTag press gravity
element quad 1 1 2 3 4 1.0 "PlaneStrain" 1 $press $unitWeightX $unitWeightY
updateMaterialStage -material 1 -stage 0
updateMaterialStage -material 2 -stage 0
# fix the base
fix 1 1 1
fix 2 1 1
#tie nodes 3 and 4
equalDOF 3 4 1 2
#############################################################
# GRAVITY APPLICATION (elastic behavior)
# create the SOE, ConstraintHandler, Integrator, Algorithm and Numberer
system ProfileSPD
test NormDispIncr 1.E-12 25 0
constraints Transformation
integrator LoadControl 1 1 1 1
algorithm Newton
numberer RCM
# create the Analysis
analysis Static
analyze 2
# switch the material to plastic
updateMaterialStage -material 1 -stage 1
updateMaterialStage -material 2 -stage 1
analyze 1
############################################################
# NOW APPLY LOADING SEQUENCE AND ANALYZE (plastic)
# rezero time
setTime 0.0
#loadConst -time 0.0E0
wipeAnalysis
# create a LoadPattern
pattern UniformExcitation 1 1 -accel "Sine 0 10 $period -factor $accMul"
# create the Analysis
constraints Transformation;
test NormDispIncr 1.E-12 25 0
algorithm Newton
numberer RCM
system ProfileSPD
rayleigh $massProportionalDamping 0.0 $stiffnessProportionalDamping 0.
integrator Newmark $gamma [expr pow($gamma+0.5, 2)/4]
analysis VariableTransient
recorder Node -file disp.out -time -node 1 2 3 4 -dof 1 2 -dT 0.01 disp
recorder Node -file acce.out -time -node 1 2 3 4 -dof 1 2 -dT 0.01 accel
recorder Element -ele 1 -time -file stress1.out -dT 0.01 material 1 stress
recorder Element -ele 1 -time -file strain1.out -dT 0.01 material 1 strain
recorder Element -ele 1 -time -file stress3.out -dT 0.01 material 3 stress
recorder Element -ele 1 -time -file strain3.out -dT 0.01 material 3 strain
#analyze
set startT [clock seconds]
analyze $numSteps $deltaT [expr $deltaT/100] $deltaT 10
set endT [clock seconds]
puts "Execution time: [expr $endT-$startT] seconds."