instalar OPENSEES EN UBUNTU 9.04
Moderators: silvia, selimgunay, Moderators
-
- Posts: 2
- Joined: Thu May 28, 2009 9:43 am
- Location: nicaragua
- Contact:
instalar OPENSEES EN UBUNTU 9.04
############################################################################
#
# Programa: OpenSees
#
# Proposito: Makefile para crear las librerias necesarias
# para usar OpenSees framework. trabaja sobre Ubuntu 9.04.
#
#
# Escrito originalmente: fmk
# Created: 10/99
#
# Mandar reporte de fallas asi como comentarios y sugerencias a 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
HOME = /home/(TU NOMBRE DE USUARIO )
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
SRCdir = $(HOME)/OpenSees/SRC
DIRS = $(BLASdir) $(CBLASdir) $(LAPACKdir) \
$(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
TCL_LIBRARY = /usr/lib/libtk8.5.so /usr/lib/libX11.so /usr/lib/libtcl8.5.so
BLITZ_LIBRARY = $(HOME)/blitz/lib/libblitz.a
ifeq ($(GRAPHICS), UsingX11)
GRAPHIC_LIBRARY = -L/usr/lib/libX11.so
else
GRAPHIC_LIBRARY = -L/usr/lib -lX11 -lGL -lGLU
endif
# 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) \
$(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_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 -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) \
$(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/c++/4.3 \
-I/usr/include/GL \
-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
INCLUDES = $(TCL_INCLUDES) $(FE_INCLUDES) $(MACHINE_INCLUDES)
Se deben de instalar las siguientes librerias
build-essential
gfortran_4.3.3-1ubuntu1_i386.deb
gfortran-4.3_4.3.3-5ubuntu4_i386.deb
libatk1.0-dev_1.26.0-0ubuntu2_i386.deb
libcairo2-dev_1.8.6-1ubuntu2_i386.deb
libdirectfb-dev_1.0.1-11ubuntu1_i386.deb
libdirectfb-extra_1.0.1-11ubuntu1_i386.deb
libexpat1-dev_2.0.1-4_i386.deb
libfontconfig1-dev_2.6.0-1ubuntu12_i386.deb
libfreetype6-dev_2.3.9-4ubuntu0.1_i386.deb
libgfortran3_4.3.3-5ubuntu4_i386.deb
libgl1-mesa-dev_7.4-0ubuntu3.1_all.deb
libglu1-mesa_7.4-0ubuntu3.1_i386.deb
libglu1-mesa-dev_7.4-0ubuntu3.1_i386.deb
libgtk2.0-dev_2.16.1-0ubuntu2_i386.deb
libice-dev_1.0.4-1_i386.deb
libjpeg62-dev_6b-14_i386.deb
libpango1.0-dev_1.24.1-0ubuntu1_i386.deb
libpixman-1-dev_0.13.2-1_i386.deb
libpng12-dev_1.2.27-2ubuntu2_i386.deb
libpthread-stubs0_0.1-2_i386.deb
libpthread-stubs0-dev_0.1-2_i386.deb
libsm-dev_1.1.0-1_i386.deb
libsysfs-dev_2.1.0-5_i386.deb
libx11-dev_1.1.99.2-1ubuntu2_i386.deb
libxau-dev_1.0.4-1_i386.deb
libxcb1-dev_1.1.93-0ubuntu3_i386.deb
libxcb-render0-dev_1.1.93-0ubuntu3_i386.deb
libxcb-render-util0-dev_0.2.1+git1-1_i386.deb
libxcomposite-dev_0.4.0-3_i386.deb
libxcursor-dev_1.1.9-1_i386.deb
libxdamage-dev_1.1.1-4_i386.deb
libxdmcp-dev_1.0.2-3_i386.deb
libxext-dev_1.0.99.1-0ubuntu3_i386.deb
libxfixes-dev_4.0.3-2_i386.deb
libxft-dev_2.1.13-3ubuntu1_i386.deb
libxi-dev_1.2.0-1ubuntu1_i386.deb
libxinerama-dev_1.0.3-2_i386.deb
libxrandr-dev_1.3.0-1build1_i386.deb
libxrender-dev_0.9.4-2_i386.deb
libxss-dev_1.1.3-1_i386.deb
mesa-common-dev_7.4-0ubuntu3.1_all.deb
tcl8.5_8.5.6-3_i386.deb
tcl8.5-dev_8.5.6-3_i386.deb
tcllib_1.10-dfsg-3_all(1).deb
tcllib_1.10-dfsg-3_all.deb
tk8.5_8.5.6-3_i386.deb
tk8.5-dev_8.5.6-3_i386.deb
x11proto-composite-dev_0.4-2_all.deb
x11proto-core-dev_7.0.14-2_all.deb
x11proto-damage-dev_1.1.0-2build1_all.deb
x11proto-fixes-dev_4.0-3_all.deb
x11proto-input-dev_1.5.0-1ubuntu1_all.deb
x11proto-kb-dev_1.0.3-3ubuntu1_all.deb
x11proto-randr-dev_1.3.0-1_all.deb
x11proto-render-dev_0.9.3-2_all.deb
x11proto-scrnsaver-dev_1.1.0.0-2_all.deb
x11proto-xext-dev_7.0.4-1_all.deb
x11proto-xinerama-dev_1.1.2-5ubuntu1_all.deb
xtrans-dev_1.2.3-1_all.deb
zlib1g-dev_1.2.3.3.dfsg-12ubuntu2_i386.deb
PASOS PARA INSTALAR OPENSEES:
1- Bajar el archivo para compilar de unix descomprirlo en la carpeta de usuario de ubuntu
2- Crear las carpetas "lib" y "bin" en la carpeta de usuario
3- Corregir makefile.def en el home donde debes poner tu usuario
4- instalar librerias
5- compilar
6- Si todo sale bien copiar el ejecutable OpenSees a la carpeta "bin" del sistema para poderlo llamar desde el shell
* Hay que annadir un TAB a las líneas: 183, 191, 192, 195, 196, 198, 199, 201 y 202 del archivo Makefile.def que
LEER LOS COMENTARIOS PARA MAS OBSERVACIONES
DISFRUTAR
[url]http://img33.imageshack.us/my.php?image=pantallazov.png[/url]
#
# Programa: OpenSees
#
# Proposito: Makefile para crear las librerias necesarias
# para usar OpenSees framework. trabaja sobre Ubuntu 9.04.
#
#
# Escrito originalmente: fmk
# Created: 10/99
#
# Mandar reporte de fallas asi como comentarios y sugerencias a 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
HOME = /home/(TU NOMBRE DE USUARIO )
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
SRCdir = $(HOME)/OpenSees/SRC
DIRS = $(BLASdir) $(CBLASdir) $(LAPACKdir) \
$(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
TCL_LIBRARY = /usr/lib/libtk8.5.so /usr/lib/libX11.so /usr/lib/libtcl8.5.so
BLITZ_LIBRARY = $(HOME)/blitz/lib/libblitz.a
ifeq ($(GRAPHICS), UsingX11)
GRAPHIC_LIBRARY = -L/usr/lib/libX11.so
else
GRAPHIC_LIBRARY = -L/usr/lib -lX11 -lGL -lGLU
endif
# 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) \
$(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_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 -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) \
$(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/c++/4.3 \
-I/usr/include/GL \
-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
INCLUDES = $(TCL_INCLUDES) $(FE_INCLUDES) $(MACHINE_INCLUDES)
Se deben de instalar las siguientes librerias
build-essential
gfortran_4.3.3-1ubuntu1_i386.deb
gfortran-4.3_4.3.3-5ubuntu4_i386.deb
libatk1.0-dev_1.26.0-0ubuntu2_i386.deb
libcairo2-dev_1.8.6-1ubuntu2_i386.deb
libdirectfb-dev_1.0.1-11ubuntu1_i386.deb
libdirectfb-extra_1.0.1-11ubuntu1_i386.deb
libexpat1-dev_2.0.1-4_i386.deb
libfontconfig1-dev_2.6.0-1ubuntu12_i386.deb
libfreetype6-dev_2.3.9-4ubuntu0.1_i386.deb
libgfortran3_4.3.3-5ubuntu4_i386.deb
libgl1-mesa-dev_7.4-0ubuntu3.1_all.deb
libglu1-mesa_7.4-0ubuntu3.1_i386.deb
libglu1-mesa-dev_7.4-0ubuntu3.1_i386.deb
libgtk2.0-dev_2.16.1-0ubuntu2_i386.deb
libice-dev_1.0.4-1_i386.deb
libjpeg62-dev_6b-14_i386.deb
libpango1.0-dev_1.24.1-0ubuntu1_i386.deb
libpixman-1-dev_0.13.2-1_i386.deb
libpng12-dev_1.2.27-2ubuntu2_i386.deb
libpthread-stubs0_0.1-2_i386.deb
libpthread-stubs0-dev_0.1-2_i386.deb
libsm-dev_1.1.0-1_i386.deb
libsysfs-dev_2.1.0-5_i386.deb
libx11-dev_1.1.99.2-1ubuntu2_i386.deb
libxau-dev_1.0.4-1_i386.deb
libxcb1-dev_1.1.93-0ubuntu3_i386.deb
libxcb-render0-dev_1.1.93-0ubuntu3_i386.deb
libxcb-render-util0-dev_0.2.1+git1-1_i386.deb
libxcomposite-dev_0.4.0-3_i386.deb
libxcursor-dev_1.1.9-1_i386.deb
libxdamage-dev_1.1.1-4_i386.deb
libxdmcp-dev_1.0.2-3_i386.deb
libxext-dev_1.0.99.1-0ubuntu3_i386.deb
libxfixes-dev_4.0.3-2_i386.deb
libxft-dev_2.1.13-3ubuntu1_i386.deb
libxi-dev_1.2.0-1ubuntu1_i386.deb
libxinerama-dev_1.0.3-2_i386.deb
libxrandr-dev_1.3.0-1build1_i386.deb
libxrender-dev_0.9.4-2_i386.deb
libxss-dev_1.1.3-1_i386.deb
mesa-common-dev_7.4-0ubuntu3.1_all.deb
tcl8.5_8.5.6-3_i386.deb
tcl8.5-dev_8.5.6-3_i386.deb
tcllib_1.10-dfsg-3_all(1).deb
tcllib_1.10-dfsg-3_all.deb
tk8.5_8.5.6-3_i386.deb
tk8.5-dev_8.5.6-3_i386.deb
x11proto-composite-dev_0.4-2_all.deb
x11proto-core-dev_7.0.14-2_all.deb
x11proto-damage-dev_1.1.0-2build1_all.deb
x11proto-fixes-dev_4.0-3_all.deb
x11proto-input-dev_1.5.0-1ubuntu1_all.deb
x11proto-kb-dev_1.0.3-3ubuntu1_all.deb
x11proto-randr-dev_1.3.0-1_all.deb
x11proto-render-dev_0.9.3-2_all.deb
x11proto-scrnsaver-dev_1.1.0.0-2_all.deb
x11proto-xext-dev_7.0.4-1_all.deb
x11proto-xinerama-dev_1.1.2-5ubuntu1_all.deb
xtrans-dev_1.2.3-1_all.deb
zlib1g-dev_1.2.3.3.dfsg-12ubuntu2_i386.deb
PASOS PARA INSTALAR OPENSEES:
1- Bajar el archivo para compilar de unix descomprirlo en la carpeta de usuario de ubuntu
2- Crear las carpetas "lib" y "bin" en la carpeta de usuario
3- Corregir makefile.def en el home donde debes poner tu usuario
4- instalar librerias
5- compilar
6- Si todo sale bien copiar el ejecutable OpenSees a la carpeta "bin" del sistema para poderlo llamar desde el shell
* Hay que annadir un TAB a las líneas: 183, 191, 192, 195, 196, 198, 199, 201 y 202 del archivo Makefile.def que
LEER LOS COMENTARIOS PARA MAS OBSERVACIONES
DISFRUTAR
[url]http://img33.imageshack.us/my.php?image=pantallazov.png[/url]
Last edited by marcel1983 on Tue Nov 03, 2009 8:47 am, edited 3 times in total.
instalar OPENSEES EN UBUNTU 9 04
a ver si puedo ayudarte.
Supongo que has instalado las librerÃas necesarias con yum.
Yo he instalado el pando en /usr/local/bin. Lo he hecho asà para poder ejecutarlo en la consola escribiendo una sola orden. Para instalar el pando en /usr/local/bin tan solo necesitas copiar el archivo comprimido en esa carpeta y descomprimirlo necesitas ser root para hacerlo.
Una vez hecho esto, programé un pequeño script de consola para arrancarlo, y lo copié en el mismo directorio /usr/local/bin. Ahà va el código:
Code:
Supongo que has instalado las librerÃas necesarias con yum.
Yo he instalado el pando en /usr/local/bin. Lo he hecho asà para poder ejecutarlo en la consola escribiendo una sola orden. Para instalar el pando en /usr/local/bin tan solo necesitas copiar el archivo comprimido en esa carpeta y descomprimirlo necesitas ser root para hacerlo.
Una vez hecho esto, programé un pequeño script de consola para arrancarlo, y lo copié en el mismo directorio /usr/local/bin. Ahà va el código:
Code:
-
- Posts: 1
- Joined: Mon Jun 15, 2009 11:50 am
Probado
He instalado OpenSees en Ubuntu Jaunty AMD64 siguiendo estas instrucciones.
Algunas observaciones:
* Los directorios a crear tienen que estar en minúscula y no mayúscula: "lib" y "bin"
* Hay que annadir un TAB a las líneas: 183, 191, 192, 195, 196, 198, 199, 201 y 202 del archivo Makefile.def que acabamos de corregir.
* Para instalar las bibliotecas, pueden copia-pegar este comando en la terminal:
sudo aptitude -y install build-essential gfortran gfortran-4.3 libatk1.0-dev libcairo2-dev libdirectfb-dev libdirectfb-extra libexpat1-dev libfontconfig1-dev libfreetype6-dev libgfortran3 libgl1-mesa-dev libglu1-mesa libglu1-mesa-dev libgtk2.0-dev libice-dev libjpeg62-dev libpango1.0-dev libpixman-1-dev libpng12-dev libpthread-stubs0 libpthread-stubs0-dev libsm-dev libsysfs-dev libx11-dev libxau-dev libxcb1-dev libxcb-render0-dev libxcb-render-util0-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxrandr-dev libxrender-dev libxss-dev mesa-common-dev tcl8.5 tcl8.5-dev tcllib tk8.5 tk8.5-dev x11proto-composite-dev x11proto-core-dev x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-render-dev x11proto-scrnsaver-dev x11proto-xext-dev x11proto-xinerama-dev xtrans-dev zlib1g-dev
Con eso se compila sin problemas ejecutando el comando "make" en el directorio OpenSees que descomprimimos
Algunas observaciones:
* Los directorios a crear tienen que estar en minúscula y no mayúscula: "lib" y "bin"
* Hay que annadir un TAB a las líneas: 183, 191, 192, 195, 196, 198, 199, 201 y 202 del archivo Makefile.def que acabamos de corregir.
* Para instalar las bibliotecas, pueden copia-pegar este comando en la terminal:
sudo aptitude -y install build-essential gfortran gfortran-4.3 libatk1.0-dev libcairo2-dev libdirectfb-dev libdirectfb-extra libexpat1-dev libfontconfig1-dev libfreetype6-dev libgfortran3 libgl1-mesa-dev libglu1-mesa libglu1-mesa-dev libgtk2.0-dev libice-dev libjpeg62-dev libpango1.0-dev libpixman-1-dev libpng12-dev libpthread-stubs0 libpthread-stubs0-dev libsm-dev libsysfs-dev libx11-dev libxau-dev libxcb1-dev libxcb-render0-dev libxcb-render-util0-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxrandr-dev libxrender-dev libxss-dev mesa-common-dev tcl8.5 tcl8.5-dev tcllib tk8.5 tk8.5-dev x11proto-composite-dev x11proto-core-dev x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-render-dev x11proto-scrnsaver-dev x11proto-xext-dev x11proto-xinerama-dev xtrans-dev zlib1g-dev
Con eso se compila sin problemas ejecutando el comando "make" en el directorio OpenSees que descomprimimos
-
- Posts: 5
- Joined: Mon May 19, 2008 4:36 pm
- Location: Universidad T�cnica Particular de Loja
- Contact:
Re: Probado
Gracias, funciona muy bien... De pronto han compilado a OpenSees Paralelo?
A este lo necesito para hacerlo correr en un Cluster.
A este lo necesito para hacerlo correr en un Cluster.
Thank you
Thank you very much, I was looking for this!
-
- Posts: 1
- Joined: Tue Jul 20, 2010 1:59 am
- Contact:
-
- Posts: 1
- Joined: Sun Feb 27, 2011 10:41 am
Re: instalar OPENSEES EN UBUNTU 9.04
Yes, I'm sure it does work with previous versions as well
Re: instalar OPENSEES EN UBUNTU 9.04
finally got this one...thank you very much....i am ready for my test now
Re: instalar OPENSEES EN UBUNTU 9.04
This post is awesome! This is what I am looking for.
Re: instalar OPENSEES EN UBUNTU 9.04
this is a great thanks