Search found 9 matches

by mickele
Mon Jul 17, 2017 2:46 pm
Forum: OpenSees.exe Users
Topic: OpenSeesIDE source code
Replies: 0
Views: 1744

OpenSeesIDE source code

In this old post http://opensees.berkeley.edu/community/ ... =2&t=63521 you spoke about a GUI for opensees called OpenSeesIDE.
On the same post you included links to the windows version of the executables and spoke about the release of the source code.
I use opensees on linux and I am interested in compiling OpenSeesIDE from source code.
Do you always plan to release the source code?
It seems OpenSeesIDE is developed with Qt. In the past I've used Qt libraries for two projects. If you need, I can help you to further develop the software or simply to manage a public repository on github.
Best regards,
Michele M
by mickele
Tue Feb 07, 2017 2:07 am
Forum: OpenSees.exe Users
Topic: A new OpenSEES model tool named OSLite
Replies: 40
Views: 21810

Re: A new OpenSEES model tool named OSLite

Great news!
Do you think to release the source code under an opensource license (GPL for example) or only the binaries?
by mickele
Mon Feb 06, 2017 11:52 pm
Forum: OpenSees.exe Users
Topic: beam with given moment-curvature
Replies: 0
Views: 2099

beam with given moment-curvature

I need to model some beams with imposed moment-curvature law.
I think to model elements with nonlinearBeamColumn, but how can I create a section with given moment-curvature?
Thanks in advance.
by mickele
Mon Feb 06, 2017 11:46 pm
Forum: OpenSees.exe Users
Topic: A new OpenSEES model tool named OSLite
Replies: 40
Views: 21810

Re: A new OpenSEES model tool named OSLite

Can oslite be compiled on linux?
by mickele
Thu Sep 08, 2016 6:28 am
Forum: OpenSees.exe Users
Topic: 2D Model Display
Replies: 15
Views: 18358

Re: 2D Model Display

Do you have news about the release of OpenseesIde source code
by mickele
Wed Apr 13, 2016 1:53 pm
Forum: OpenSees.exe Users
Topic: Problems displaying 3d views
Replies: 5
Views: 4713

Re: Problems displaying 3d views

Thanks for your answers. I'll wait for the release of this Qt app.
Is there a repository where I can download a preview?
by mickele
Tue Apr 12, 2016 9:35 pm
Forum: OpenSees.exe Users
Topic: Problems displaying 3d views
Replies: 5
Views: 4713

Problems displaying 3d views

On debian jessie, I can't display 3D views using routines available in DisplayModel3D.tcl.
I tried example available at http://opensees.berkeley.edu/wiki/index ... _W-Section but I have always the same behaviour: command line hangs without opening window.
Any suggestion?

Follow my Makefile.def :

# %---------------------------------%
# | SECTION 1: PROGRAM |
# %---------------------------------%
OpenSees_PROGRAM = $(INSTALLDIR)/bin/OpenSees

# %---------------------------------%
# | SECTION 2: MAKEFILE CONSTANTS |
# %---------------------------------%
OPERATING_SYSTEM = LINUX
GRAPHICS = UsingOpenGL
PROGRAMMING_MODE = SEQUENTIAL
COMPILER = GCC
DEBUG_MODE = NO_DEBUG
RELIABILITY = YES_RELIABILITY

# %---------------------------------%
# | SECTION 3: PATHS |
# %---------------------------------%
BASE = /usr
HOME = $(SRCDIR)
FE = $(SRCDIR)/OpenSees/SRC
AMDdir = $(HOME)/OpenSees/OTHER/AMD
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
CSPARSEdir = $(HOME)/OpenSees/OTHER/CSPARSE
SRCdir = $(HOME)/OpenSees/SRC

ifeq ($(PROGRAMMING_MODE), THREADS)
SUPERLUdir = $(HOME)/OpenSees/OTHER/SuperLU_MT
else
SUPERLUdir = $(HOME)/OpenSees/OTHER/SuperLU_5.0/SRC
endif

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

# %-------------------------------------------------------%
# | SECTION 4: LIBRARIES |
# %-------------------------------------------------------%
FE_LIBRARY = $(HOME)/lib/libOpenSees.a
OPTIMIZATION_LIBRARY = $(HOME)/lib/libOptimization.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
CSPARSE_LIBRARY = $(HOME)/lib/libCSparse.a
TCL_LIBRARY = -ltk8.6 -ltcl8.6
BLITZ_LIBRARY =
AMD_LIBRARY = $(HOME)/lib/libAmd.a
ifeq ($(GRAPHICS), UsingOpenGL)
GRAPHIC_LIBRARY = -lGL -lGLU
else
ifeq ($(GRAPHICS), UsingX11)
GRAPHIC_LIBRARY = -lX11
endif
endif

ifeq ($(RELIABILITY), YES_RELIABILITY)
RELIABILITY_LIBRARY = $(HOME)/lib/libReliability.a
endif

WIPE_LIBS = $(FE_LIBRARY) \
$(AMD_LIBRARY) \
$(LAPACK_LIBRARY) \
$(BLAS_LIBRARY) \
$(CBLAS_LIBRARY) \
$(SUPERLU_LIBRARY) \
$(ARPACK_LIBRARY) \
$(UMFPACK_LIBRARY) \
$(METIS_LIBRARY) \
$(CSPARSE_LIBRARY) \
$(RELIABILITY_LIBRARY)

# %---------------------------------------------------------%
# | SECTION 5: COMPILERS |
# | |
# %---------------------------------------------------------%
ifeq ($(PROGRAMMING_MODE), SEQUENTIAL)
CC++ = /usr/bin/g++
CC = /usr/bin/gcc
FC = /usr/bin/gfortran
else
CC++ = mpicxx
CC = mpicc
FC = mpif90
F90 = mpif90
FORTRAN = $(FC)
endif
AR = ar
ARFLAGS = cqls
RANLIB = ranlib
RANLIBFLAGS =

ifeq ($(GRAPHICS), UsingOpenGL)
GRAPHIC_FLAG = -D_GLX
else
ifeq ($(GRAPHICS), UsingX11)
GRAPHIC_FLAG = -D_X11
else
GRAPHIC_FLAG = -D_NOGRAPHICS
endif
endif

ifeq ($(PROGRAMMING_MODE), THREADS)
PROGRAMMING_FLAG = -D_THREADS -D_PTHREAD -DUSE_INTERP_RESULT
else
PROGRAMMING_FLAG = -DUSE_INTERP_RESULT
endif

ifeq ($(DEBUG_MODE), DEBUG)
DEBUG_FLAG = -D_G3DEBUG
else
DEBUG_FLAG =
endif

ifeq ($(RELIABILITY), YES_RELIABILITY)
RELIABILITY_FLAG = -D_RELIABILITY
else
RELIABILITY_FLAG =
endif
ifeq ($(DEBUG_MODE), DEBUG)
C++FLAGS = -Wall -funroll-loops -fcse-follow-jumps \
-fthread-jumps -fcse-skip-blocks -frerun-cse-after-loop \
-felide-constructors \
-fcaller-saves -ffloat-store -fforce-addr \
-fschedule-insns -fschedule-insns2 -D_LINUX -D_UNIX \
$(GRAPHIC_FLAG) $(RELIABILITY_FLAG) $(DEBUG_FLAG) $(PROGRAMMING_FLAG) \
-fexpensive-optimizations \
-fforce-addr -fforce-mem -finline-functions \
-fkeep-inline-functions \
-fno-function-cse -fno-inline -fno-peephole \
-fschedule-insns -fschedule-insns2 \
-fstrength-reduce -fthread-jumps -g -pg \
-ffloat-store -D_RELIABILITY

CFLAGS = -Wall -pg $(GRAPHIC_FLAG) $(RELIABILITY_FLAG) $(DEBUG_FLAG) $(PROGRAMMING_FLAG)
FFLAGS = -Wall

# Linker
LINKER = $(CC++)
LINKFLAGS = -g -pg

else
C++FLAGS = -Wall -O3 -D_UNIX -ftemplate-depth-30 -D_LINUX \
$(GRAPHIC_FLAG) $(RELIABILITY_FLAG) $(DEBUG_FLAG) $(PROGRAMMING_FLAG) \
-ffloat-store -fpermissive

CFLAGS = -Wall -O3 $(GRAPHIC_FLAG) $(RELIABILITY_FLAG) $(DEBUG_FLAG) $(PROGRAMMING_FLAG)
FFLAGS = -Wall -O

# Linker
LINKER = $(CC++)
LINKFLAGS =

endif

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

# %---------------------------------------------------------%
# | SECTION 6: COMPILATION |
# | |
# %---------------------------------------------------------%

.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 7: OTHER LIBRARIES |
# | |
# %---------------------------------------------------------%
ifeq ($(PROGRAMMMING_MODE), SEQUENTIAL)
HAVEMUMPS = NO
MUMPS_FLAG =
MUMPS_INCLUDE =
MUMPS_LIB =
else
HAVEMUMPS = YES
endif

ifeq ($(HAVEMUMPS), YES)

MUMPS = YES
MUMPS_FLAG = -D_MUMPS -D_OPENMPI
#MUMPS_DIR = /gpfs/fmk/MUMPS_4.6.4
MUMPS_DIR = $(HOME)/PARALLEL_NUMERICAL_LIBS/MUMPS_4.10.0

PLAT = MPICHGM-INTEL80

SCALAP = $(BLACSlib) $(SCALAPlib) $(BLACSlib)

BLACS_DIR = $(HOME)/PARALLEL_NUMERICAL_LIBS/BLAC
SCALAPACK_DIR = $(HOME)/PARALLEL_NUMERICAL_LIBS/SCALAPACK
LAPACK_DIR = $(HOME)/PARALLEL_NUMERICAL_LIBS/LAPACK

BLACS_LIB = -L$(BLACS_DIR)/LIB -lblacs_MPI-LINUX-0
SCALAPACK_LIB = -L$(SCALAPACK_DIR) -lscalapack
BLACS_LIB = -L$(BLACS_DIR)/INCLUDE
SCALAPACK_LIB = -L$(SCALAPACK_DIR)

PLAT = LINUX

SCALAP = $(BLACS_LIB) $(SCALAPACK_LIB)

MUMPS_LIB = -L$(MUMPS_DIR)/lib \
$(FE)/system_of_eqn/linearSOE/mumps/MumpsSOE.o \
$(FE)/system_of_eqn/linearSOE/mumps/MumpsSolver.o \
$(FE)/system_of_eqn/linearSOE/mumps/MumpsParallelSOE.o \
$(FE)/system_of_eqn/linearSOE/mumps/MumpsParallelSolver.o \
$(HOME)/lib/libdmumps.a \
$(HOME)/lib/libmumps_common.a \
$(HOME)/lib/libpord.a \
$(HOME)/lib/libscalapack.a \
$(HOME)/lib/blacs_MPI-LINUX-0.a \
$(HOME)/lib/blacsCinit_MPI-LINUX-0.a \
$(HOME)/lib/blacsF77init_MPI-LINUX-0.a \
$(HOME)/PARALLEL_NUMERICAL_LIBS/BLACS/SRC/MPI/INTERNAL/bi_f77_get_constants.o \
$(HOME)/lib/blas_LINUX.a

MUMPS_INCLUDE = -I$(MUMPS_DIR)/include
endif

MACHINE_LINKLIBS = -L$(BASE)/lib \
-L$(HOME)/lib

MACHINE_NUMERICAL_LIBS = $(RELIABILITY_LIBRARY) -lm \
$(ARPACK_LIBRARY) \
$(SUPERLU_LIBRARY) \
$(UMFPACK_LIBRARY) \
$(LAPACK_LIBRARY) $(BLAS_LIBRARY) $(CBLAS_LIBRARY) \
$(GRAPHIC_LIBRARY) $(OPTIMIZATION_LIBRARY) \
$(AMD_LIBRARY) \
$(CSPARSE_LIBRARY) \
-ldl -lgfortran -lpng

ifeq ($(PROGRAMMING_MODE), SEQUENTIAL)
PARALLEL_LIB =
else ifeq ($(PROGRAMMING_MODE), PARALLEL)
PARALLEL_LIB = $(FE)/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.o \
$(FE)/system_of_eqn/linearSOE/sparseGEN/SparseGenColLinSolver.o \
$(FE)/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.o \
$(METIS_LIBRARY) $(HOME)/OpenSees/OTHER/METIS/frename.o $(METIS_LIBRARY) $(MUMPS_LIB) -lmpi -lmpi_f77
else ifeq ($(PROGRAMMING_MODE), PARALLEL_INTERPRETERS)
PARALLEL_LIB = $(FE)/system_of_eqn/linearSOE/sparseGEN/DistributedSparseGenColLinSOE.o \
$(FE)/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.o \
$(METIS_LIBRARY) $(HOME)/OpenSees/OTHER/METIS/frename.o $(METIS_LIBRARY) $(MUMPS_LIB) -lmpi -lmpi_f77
endif

ifeq ($(PROGRAMMING_MODE), THREADS)
MACHINE_SPECIFIC_LIBS = -lpthread
else
MACHINE_SPECIFIC_LIBS =
endif

# %---------------------------------------------------------%
# | SECTION 8: INCLUDE FILES |
# | |
# %---------------------------------------------------------%
MACHINE_INCLUDES = -I/usr/include \
-I$(BASE)/include \
-I/usr/include/cxx \
$(MUMPS_INCLUDE) \
-I$(HOME)/include \
-I$(HOME)/blitz \
-I$(UMFPACKdir) \
-I$(SUPERLUdir)

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

TCL_INCLUDES = -I/usr/include/tcl

INCLUDES = $(TCL_INCLUDES) $(FE_INCLUDES) $(MACHINE_INCLUDES)
by mickele
Fri Jan 14, 2011 12:52 pm
Forum: OpenSees.exe Users
Topic: Professional usage of opensees
Replies: 2
Views: 2555

Re: Professional usage of opensees

Excuse me, probably I didn't explain very well my issue.
I don't want to create a software that contains opensees.
I am a freelance civil engineer and my job is to design civil buildings. I would like to use opensees in my activity and from COPYRIGHT statement I wasn't able to understand if this is possible.
by mickele
Fri Jan 14, 2011 8:22 am
Forum: OpenSees.exe Users
Topic: Professional usage of opensees
Replies: 2
Views: 2555

Professional usage of opensees

I have a question about the license of opensees:
may I use opensees for my professional activity? In other words, may I earn money from opensses' usage?
Thanks for your answers.