Code Monkey home page Code Monkey logo

opensees's Introduction

OpenSees Source Code Repository

This git repository contains all revisions to OpenSees source code since Version 2.3.2.

Older revisions of the code are available upon request.

If you plan on collaborating or even using OpenSees as your base code it is highly recommended that you FORK this repo to your own account and work on it there. We will not allow anybody to write to this repo. Only PULL requests will be considered. To fork the repo click on the FORK at the top of this page.

For a brief outline on forking we suggest: https://www.atlassian.com/git/tutorials/comparing-workflows/forking-workflow

For a brief introduction to using your new FORK we suggest: https://www.atlassian.com/git/tutorials/saving-changes

Documentation

The documentation for OpenSees is being moved to a parellel github repo: https://github.com/OpenSees/OpenSeesDocumentation

The documentation (in its present form) can be viewed in the browser using the following url: https://OpenSees.github.io/OpenSeesDocumentation

Build Instructions

Steps to build OpenSees on Windows, Linux, and Mac: https://opensees.github.io/OpenSeesDocumentation/developer/build.html

Modeling Questions

Issues related to modeling questions will be closed. Instead, post your modeling questions on the OpenSees message board or in the OpenSees Facebook group.

opensees's People

Contributors

ahartloper avatar amaelkady avatar ambaker1 avatar aschellenberg74 avatar buceaxll avatar claudioperez avatar fmckenna avatar imeg avatar ioannis-vm avatar jaabell avatar longchen-geo avatar luzpaz avatar massimopetracca avatar mcganncr avatar mckee107 avatar mhscott avatar millen1m avatar msalehi2004 avatar parduino avatar salsessa avatar sewkokot avatar shocky0424 avatar silviamazzoni avatar talledodiego avatar u-anurag avatar vavgen avatar xinlong-du avatar yulee avatar z-ichinohe avatar zhuminjie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

opensees's Issues

Compilation error in DistributedSuperLU.cpp

Hello,

I have been trying to compile OpenSeesMP with MUMPS, using the Intel MPI compiler, but it's failing to compile the file DistributedSuperLU.cpp in SRC/system_of_eqn/linearSOE/sparseGEN. The error is shown below.

DistributedSuperLU.cpp(237): error: argument of type "LUstruct_t *" is incompatible with parameter of type "int_t={int}"
      LUstructInit(n, &LUstruct);
                      ^

DistributedSuperLU.cpp(237): error #165: too few arguments in function call
      LUstructInit(n, &LUstruct);
                               ^

I would like to know what I am missing. Thanks.

ShellDKGQ Element compare sap2000 thin shell

a element with two nodes fixed
apply node load to the other two nodes
The disp results are quite different
opensees result:
12.987 7.4026 -4.03626e-015 -1.23233e-018 2.773e-018 0.0137662
12.987 -7.4026 -4.03626e-015 1.23233e-018 2.773e-018 -0.0137662
sap2000 result:
6.18747 0.937351 0 0 0 0.000498
6.18747 -0.937351 0 0 0 -0.000498

this is my tcl and s2k
/begin tcl**************
wipe
puts "System"
model basic -ndm 3 -ndf 6
puts "restraint"
node 1 0.000E+000 0.000E+000 0.000E+000
node 2 3.000E+003 0.000E+000 0.000E+000
node 3 3.000E+003 3.000E+003 0.000E+000
node 4 0.000E+000 3.000E+003 0.000E+000
puts "node"
fix 1 1 1 1 1 1 1;
fix 4 1 1 1 1 1 1;
puts "material"
uniaxialMaterial Elastic 1 1.999E+005
############################################################################################################修改代码
nDMaterial ElasticIsotropic 2 30000 0.2
uniaxialMaterial Elastic 3 1.999E+005
##S100
nDMaterial PlateFiber 601 2
section PlateFiber 701 601 120.00
puts "transformation"
puts "element"
puts "shell element"
element ShellDKGQ 1 1 2 3 4 701
puts "recorder"
recorder Node -file node0.out -time -nodeRange 2 3 -dof 1 2 3 4 5 6 disp
############################################################################################################修改代码
puts "loading"

Load Case = PUSH

pattern Plain 1 Linear {
load 2 11.25000E+006 0.000E+000 0.000E+000 0.000E+000 0.000E+000 0.000E+000
load 3 11.25000E+006 0.000E+000 0.000E+000 0.000E+000 0.000E+000 0.000E+000
}
puts "analysis"
constraints Plain
numberer Plain
system BandGeneral
test EnergyIncr 1.0e-6 200
algorithm Newton
integrator LoadControl 1.000E+000
analysis Static
analyze 1
print node 2
print node 3
/end tcl****************

/begin sap2000
TABLE: "PROGRAM CONTROL"
ProgramName=SAP2000 Version=15.1.0 ProgLevel=Ultimate LicenseOS=YES LicenseSC=YES LicenseBR=NO LicenseHT=NO CurrUnits="N,MM,C" SteelCode=AISC360-05/IBC2006 ConcCode="ACI 318-05/IBC2003" AlumCode="AA-ASD 2000" ColdCode=AISI-ASD96 BridgeCode="AASHTO LRFD 2007" RegenHinge=YES
TABLE: "ACTIVE DEGREES OF FREEDOM"
UX=Yes UY=Yes UZ=Yes RX=Yes RY=Yes RZ=Yes

TABLE: "ANALYSIS OPTIONS"
Solver=Advanced SolverProc=Auto Force32Bit=No StiffCase=None GeomMod=No

TABLE: "COORDINATE SYSTEMS"
Name=GLOBAL Type=Cartesian X=0 Y=0 Z=0 AboutZ=0 AboutY=0 AboutX=0

TABLE: "MATERIAL PROPERTIES 01 - GENERAL"
Material=Mat1 Type=Concrete SymType=Isotropic TempDepend=No Color=16777215 Notes="3D3S"

TABLE: "MATERIAL PROPERTIES 02 - BASIC MECHANICAL PROPERTIES"
Material=Mat1 UnitWeight=2.49955e-05 UnitMass=2.549e-09 E1=30000 G12=12500 U12=0.2 A1=1e-05

TABLE: "FRAME SECTION PROPERTIES 01 - GENERAL"

TABLE: "AREA SECTION PROPERTIES"
Section="1-Mat1" Material="Mat1" MatAngle=0 AreaType=Shell Type=Shell-Thin Thickness=120 BendThick=120 Color=7692654 Notes="3D3S"

TABLE: "JOINT COORDINATES"
Joint=6 CoordSys=GLOBAL CoordType=Cartesian XorR=0 Y=0 Z=0 SpecialJt=No GlobalX=0 GlobalY=0 GlobalZ=0
Joint=7 CoordSys=GLOBAL CoordType=Cartesian XorR=3000 Y=0 Z=0 SpecialJt=No GlobalX=3000 GlobalY=0 GlobalZ=0
Joint=8 CoordSys=GLOBAL CoordType=Cartesian XorR=3000 Y=3000 Z=0 SpecialJt=No GlobalX=3000 GlobalY=3000 GlobalZ=0
Joint=9 CoordSys=GLOBAL CoordType=Cartesian XorR=0 Y=3000 Z=0 SpecialJt=No GlobalX=0 GlobalY=3000 GlobalZ=0

TABLE: "JOINT RESTRAINT ASSIGNMENTS"
Joint="6" U1=Yes U2=Yes U3=Yes R1=Yes R2=Yes R3=Yes
Joint="9" U1=Yes U2=Yes U3=Yes R1=Yes R2=Yes R3=Yes

TABLE: "CONNECTIVITY - AREA"
Area="Area2" NumJoints=4 Joint1="6" Joint2="7" Joint3="8" Joint4="9"

TABLE: "AREA SECTION ASSIGNMENTS"
Area="Area2" Section="1-Mat1" MatProp=Default

TABLE: "LOAD PATTERN DEFINITIONS"
LoadPat="Gk1" DesignType="LIVE" SelfWtMult=0

TABLE: "LOAD CASE DEFINITIONS"
Case="Gk1" Type="LinStatic" InitialCond="Zero" DesTypeOpt="Prog Det" DesignType="LIVE" AutoType=None RunCase=Yes

TABLE: "CASE - STATIC 1 - LOAD ASSIGNMENTS"
Case="Gk1" LoadType="Load pattern" LoadName="Gk1" LoadSF=1

TABLE: "JOINT LOADS - FORCE"
Joint="7" LoadPat="Gk1" CoordSys=GLOBAL F1=1.125e+07 F2=0 F3=0 M1=0 M2=0 M3=0
Joint="8" LoadPat="Gk1" CoordSys=GLOBAL F1=1.125e+07 F2=0 F3=0 M1=0 M2=0 M3=0

END TABLE DATA
/end sap2000***

Missing RCTunnelSectionIntegration.cpp and linking error

I would like to report that due the the missing RCTunnelSectionIntegration.cpp in the repository, RCTunnelSectionIntegration.o cannot be created and the compilation process fails.

Then if commenting the following line in SRC/Makefile
# $(FE)/material/section/integration/RCTunnelSectionIntegration.o \

the compilation works both for intel and gnu compilers but there is a problem with linking process which fails and gives the following output when compiled with INTEL compiler:

GNU ld (GNU Binutils for Debian) 2.31.1
ld: /home/sewi/git/OpenSees/SRC/material/section/yieldSurface/TclModelBuilderYS_SectionCommand.o: in function `TclModelBuilderYS_SectionCommand(void*, Tcl_Interp*, int, char const**, TclModelBuilder*)':
TclModelBuilderYS_SectionCommand.cpp:(.text+0x18d): undefined reference to `YS_Section2D01::YS_Section2D01(int, double, double, double, YieldSurface_BC*, bool)'
ld: TclModelBuilderYS_SectionCommand.cpp:(.text+0x55d): undefined reference to `YS_Section2D02::YS_Section2D02(int, double, double, double, double, YieldSurface_BC*, bool)'
ld: TclModelBuilderYS_SectionCommand.cpp:(.text+0x98b): undefined reference to `SoilFootingSection2d::SoilFootingSection2d(int, double, double, double, double, double, double, double)'
ld: /home/sewi/git/OpenSees/SRC/material/section/TclModelBuilderSectionCommand.o: in function `TclModelBuilderSectionCommand(void*, Tcl_Interp*, int, char const**, TclModelBuilder*)':
TclModelBuilderSectionCommand.cpp:(.text+0x1482): undefined reference to `WideFlangeSectionIntegration::WideFlangeSectionIntegration(double, double, double, double, int, int)'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x1491): undefined reference to `WideFlangeSectionIntegration::getNumFibers(FiberType)'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x1540): undefined reference to `WideFlangeSectionIntegration::~WideFlangeSectionIntegration()'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x15af): undefined reference to `WideFlangeSectionIntegration::arrangeFibers(NDMaterial**, NDMaterial*)'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x16f8): undefined reference to `WideFlangeSectionIntegration::arrangeFibers(UniaxialMaterial**, UniaxialMaterial*)'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x1741): undefined reference to `WideFlangeSectionIntegration::~WideFlangeSectionIntegration()'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x1be8): undefined reference to `TubeSectionIntegration::TubeSectionIntegration(double, double, int, int)'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x1bf7): undefined reference to `TubeSectionIntegration::getNumFibers(FiberType)'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x1ca6): undefined reference to `TubeSectionIntegration::~TubeSectionIntegration()'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x1d15): undefined reference to `TubeSectionIntegration::arrangeFibers(NDMaterial**, NDMaterial*)'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x1e5e): undefined reference to `TubeSectionIntegration::arrangeFibers(UniaxialMaterial**, UniaxialMaterial*)'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x1ea7): undefined reference to `TubeSectionIntegration::~TubeSectionIntegration()'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x33ce): undefined reference to `RCTBeamSectionIntegration::RCTBeamSectionIntegration(double, double, double, double, double, double, double, double, int, int, int, int, int, int)'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x3449): undefined reference to `RCTBeamSectionIntegration::getNumFibers(FiberType)'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x3490): undefined reference to `RCTBeamSectionIntegration::arrangeFibers(UniaxialMaterial**, UniaxialMaterial*, UniaxialMaterial*, UniaxialMaterial*)'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x3516): undefined reference to `RCTBeamSectionIntegration::getNumFibers(FiberType)'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x352b): undefined reference to `RCTBeamSectionIntegration::getNumFibers(FiberType)'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x35af): undefined reference to `RCTBeamSectionIntegration::arrangeFibers(UniaxialMaterial**, NDMaterial**, NDMaterial*, NDMaterial*, UniaxialMaterial*)'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x361a): undefined reference to `RCTBeamSectionIntegration::RCTBeamSectionIntegration(double, double, double, double, double, double, double, double, int, int, int, int, int, int)'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x363b): undefined reference to `RCTBeamSectionIntegration::arrangeFibers(UniaxialMaterial**, NDMaterial**, NDMaterial*, NDMaterial*, UniaxialMaterial*)'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x36d2): undefined reference to `RCTBeamSectionIntegration::RCTBeamSectionIntegration(double, double, double, double, double, double, double, double, int, int, int, int, int, int)'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x36f4): undefined reference to `RCTBeamSectionIntegration::arrangeFibers(UniaxialMaterial**, NDMaterial**, NDMaterial*, NDMaterial*, UniaxialMaterial*)'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x3793): undefined reference to `RCTBeamSectionIntegration::~RCTBeamSectionIntegration()'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x37a8): undefined reference to `RCTBeamSectionIntegration::~RCTBeamSectionIntegration()'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x37b5): undefined reference to `RCTBeamSectionIntegration::~RCTBeamSectionIntegration()'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x6cf5): undefined reference to `FiberSectionRepr::FiberSectionRepr(int, int, int)'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x6ef2): undefined reference to `FiberSectionRepr::FiberSectionRepr(int, int, int)'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x74d5): undefined reference to `WideFlangeSectionIntegration::~WideFlangeSectionIntegration()'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x7583): undefined reference to `WideFlangeSectionIntegration::~WideFlangeSectionIntegration()'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x7633): undefined reference to `WideFlangeSectionIntegration::~WideFlangeSectionIntegration()'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x765b): undefined reference to `TubeSectionIntegration::~TubeSectionIntegration()'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x7709): undefined reference to `TubeSectionIntegration::~TubeSectionIntegration()'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x77b9): undefined reference to `TubeSectionIntegration::~TubeSectionIntegration()'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x7b81): undefined reference to `RCTBeamSectionIntegration::~RCTBeamSectionIntegration()'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x7c1c): undefined reference to `RCTBeamSectionIntegration::~RCTBeamSectionIntegration()'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x7cb6): undefined reference to `RCTBeamSectionIntegration::~RCTBeamSectionIntegration()'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x7cf8): undefined reference to `RCTBeamSectionIntegration::~RCTBeamSectionIntegration()'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x7d12): undefined reference to `RCTBeamSectionIntegration::~RCTBeamSectionIntegration()'
ld: /home/sewi/git/OpenSees/SRC/material/section/TclModelBuilderSectionCommand.o:TclModelBuilderSectionCommand.cpp:(.text+0x7db2): more undefined references to `RCTBeamSectionIntegration::~RCTBeamSectionIntegration()' follow
ld: /home/sewi/git/OpenSees/SRC/material/section/TclModelBuilderSectionCommand.o: in function `TclModelBuilderSectionCommand(void*, Tcl_Interp*, int, char const**, TclModelBuilder*)':
TclModelBuilderSectionCommand.cpp:(.text+0x98e3): undefined reference to `FiberSectionRepr::FiberSectionRepr(int, int, int)'
ld: /home/sewi/git/OpenSees/SRC/material/section/TclModelBuilderSectionCommand.o: in function `buildSection(Tcl_Interp*, TclModelBuilder*, int, bool, double)':
TclModelBuilderSectionCommand.cpp:(.text+0x9d30): undefined reference to `FiberSectionRepr::getNumPatches() const'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x9d3a): undefined reference to `FiberSectionRepr::getPatches() const'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x9d47): undefined reference to `FiberSectionRepr::getNumReinfLayers() const'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x9d53): undefined reference to `FiberSectionRepr::getReinfLayers() const'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x9d60): undefined reference to `FiberSectionRepr::getNumFibers() const'
ld: TclModelBuilderSectionCommand.cpp:(.text+0x9d6c): undefined reference to `FiberSectionRepr::getFibers() const'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xa0a5): undefined reference to `ReinfBar::getArea() const'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xa0bb): undefined reference to `ReinfBar::getPosition() const'
ld: /home/sewi/git/OpenSees/SRC/material/section/TclModelBuilderSectionCommand.o: in function `buildSectionThermal(Tcl_Interp*, TclModelBuilder*, int, bool, double)':
TclModelBuilderSectionCommand.cpp:(.text+0xad80): undefined reference to `FiberSectionRepr::getNumPatches() const'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xad8a): undefined reference to `FiberSectionRepr::getPatches() const'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xad97): undefined reference to `FiberSectionRepr::getNumReinfLayers() const'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xada3): undefined reference to `FiberSectionRepr::getReinfLayers() const'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xadb0): undefined reference to `FiberSectionRepr::getNumFibers() const'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xadbc): undefined reference to `FiberSectionRepr::getFibers() const'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xb0f5): undefined reference to `ReinfBar::getArea() const'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xb10b): undefined reference to `ReinfBar::getPosition() const'
ld: /home/sewi/git/OpenSees/SRC/material/section/TclModelBuilderSectionCommand.o: in function `buildSectionInt(Tcl_Interp*, TclModelBuilder*, int, bool, double, int, double, int, double, int, double)':
TclModelBuilderSectionCommand.cpp:(.text+0xbb85): undefined reference to `FiberSectionRepr::getNumPatches() const'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xbb8f): undefined reference to `FiberSectionRepr::getPatches() const'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xbb9c): undefined reference to `FiberSectionRepr::getNumReinfLayers() const'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xbba8): undefined reference to `FiberSectionRepr::getReinfLayers() const'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xbbb5): undefined reference to `FiberSectionRepr::getNumFibers() const'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xbbc1): undefined reference to `FiberSectionRepr::getFibers() const'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xbbce): undefined reference to `FiberSectionRepr::getNumHFibers() const'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xbbda): undefined reference to `FiberSectionRepr::getHFibers() const'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xbf1f): undefined reference to `ReinfBar::getArea() const'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xbf35): undefined reference to `ReinfBar::getPosition() const'
ld: /home/sewi/git/OpenSees/SRC/material/section/TclModelBuilderSectionCommand.o: in function `TclCommand_addFiberSection(void*, Tcl_Interp*, int, char const**, TclModelBuilder*)':
TclModelBuilderSectionCommand.cpp:(.text+0xccaa): undefined reference to `FiberSectionRepr::FiberSectionRepr(int, int, int)'
ld: /home/sewi/git/OpenSees/SRC/material/section/TclModelBuilderSectionCommand.o: in function `TclCommand_addFiberIntSection(void*, Tcl_Interp*, int, char const**, TclModelBuilder*)':
TclModelBuilderSectionCommand.cpp:(.text+0xcecd): undefined reference to `FiberSectionRepr::FiberSectionRepr(int, int, int)'
ld: /home/sewi/git/OpenSees/SRC/material/section/TclModelBuilderSectionCommand.o: in function `TclCommand_addPatch(void*, Tcl_Interp*, int, char const**, TclModelBuilder*)':
TclModelBuilderSectionCommand.cpp:(.text+0xd4c2): undefined reference to `QuadPatch::QuadPatch(int, int, int, Matrix const&)'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xd4d6): undefined reference to `FiberSectionRepr::addPatch(Patch const&)'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xd794): undefined reference to `QuadPatch::QuadPatch(int, int, int, Matrix const&)'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xd7a8): undefined reference to `FiberSectionRepr::addPatch(Patch const&)'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xd9f4): undefined reference to `CircPatch::CircPatch(int, int, int, Vector const&, double, double, double, double)'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xda08): undefined reference to `FiberSectionRepr::addPatch(Patch const&)'
ld: /home/sewi/git/OpenSees/SRC/material/section/TclModelBuilderSectionCommand.o: in function `TclCommand_addFiber(void*, Tcl_Interp*, int, char const**, TclModelBuilder*)':
TclModelBuilderSectionCommand.cpp:(.text+0xddd9): undefined reference to `FiberSectionRepr::getNumFibers() const'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xdfdc): undefined reference to `FiberSectionRepr::addFiber(Fiber&)'
ld: /home/sewi/git/OpenSees/SRC/material/section/TclModelBuilderSectionCommand.o: in function `TclCommand_addHFiber(void*, Tcl_Interp*, int, char const**, TclModelBuilder*)':
TclModelBuilderSectionCommand.cpp:(.text+0xe289): undefined reference to `FiberSectionRepr::getNumHFibers() const'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xe3e3): undefined reference to `FiberSectionRepr::addHFiber(Fiber&)'
ld: /home/sewi/git/OpenSees/SRC/material/section/TclModelBuilderSectionCommand.o: in function `TclCommand_addReinfLayer(void*, Tcl_Interp*, int, char const**, TclModelBuilder*)':
TclModelBuilderSectionCommand.cpp:(.text+0xe847): undefined reference to `StraightReinfLayer::StraightReinfLayer(int, int, double, Vector const&, Vector const&)'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xe85b): undefined reference to `FiberSectionRepr::addReinfLayer(ReinfLayer const&)'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xebb6): undefined reference to `CircReinfLayer::CircReinfLayer(int, int, double, Vector const&, double, double, double)'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xebe6): undefined reference to `CircReinfLayer::CircReinfLayer(int, int, double, Vector const&, double)'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xebfa): undefined reference to `FiberSectionRepr::addReinfLayer(ReinfLayer const&)'
ld: /home/sewi/git/OpenSees/SRC/material/section/TclModelBuilderSectionCommand.o: in function `TclCommand_addFiberSectionThermal(void*, Tcl_Interp*, int, char const**, TclModelBuilder*)':
TclModelBuilderSectionCommand.cpp:(.text+0xfa3c): undefined reference to `FiberSectionRepr::FiberSectionRepr(int, int, int)'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xfb33): undefined reference to `FiberSectionRepr::getNumPatches() const'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xfb3d): undefined reference to `FiberSectionRepr::getPatches() const'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xfb4a): undefined reference to `FiberSectionRepr::getNumReinfLayers() const'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xfb56): undefined reference to `FiberSectionRepr::getReinfLayers() const'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xfb63): undefined reference to `FiberSectionRepr::getNumFibers() const'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xfb6f): undefined reference to `FiberSectionRepr::getFibers() const'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xff43): undefined reference to `ReinfBar::getArea() const'
ld: TclModelBuilderSectionCommand.cpp:(.text+0xff59): undefined reference to `ReinfBar::getPosition() const'
make[1]: *** [Makefile:14: tcl] Error 1
make[1]: Leaving directory '/mnt/dane/git/OpenSees/SRC/modelbuilder/tcl'
make: *** [Makefile:51: all] Error 2

and when compiling with GNU compilers the error output is similar as follows

GNU ld (GNU Binutils for Debian) 2.31.1
/usr/bin/ld: /home/sewi/git/OpenSees/SRC/material/section/yieldSurface/TclModelBuilderYS_SectionCommand.o: in function `TclModelBuilderYS_SectionCommand(void*, Tcl_Interp*, int, char const**, TclModelBuilder*)':
TclModelBuilderYS_SectionCommand.cpp:(.text+0x3a9): undefined reference to `SoilFootingSection2d::SoilFootingSection2d(int, double, double, double, double, double, double, double)'
/usr/bin/ld: TclModelBuilderYS_SectionCommand.cpp:(.text+0x647): undefined reference to `YS_Section2D02::YS_Section2D02(int, double, double, double, double, YieldSurface_BC*, bool)'
/usr/bin/ld: TclModelBuilderYS_SectionCommand.cpp:(.text+0x6a5): undefined reference to `YS_Section2D01::YS_Section2D01(int, double, double, double, YieldSurface_BC*, bool)'
/usr/bin/ld: /home/sewi/git/OpenSees/SRC/material/section/TclModelBuilderSectionCommand.o: in function `TclCommand_addPatch(void*, Tcl_Interp*, int, char const**, TclModelBuilder*)':
TclModelBuilderSectionCommand.cpp:(.text+0x580): undefined reference to `QuadPatch::QuadPatch(int, int, int, Matrix const&)'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x58b): undefined reference to `FiberSectionRepr::addPatch(Patch const&)'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x76d): undefined reference to `QuadPatch::QuadPatch(int, int, int, Matrix const&)'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0xa2e): undefined reference to `CircPatch::CircPatch(int, int, int, Vector const&, double, double, double, double)'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0xa39): undefined reference to `FiberSectionRepr::addPatch(Patch const&)'
/usr/bin/ld: /home/sewi/git/OpenSees/SRC/material/section/TclModelBuilderSectionCommand.o: in function `TclCommand_addFiber(void*, Tcl_Interp*, int, char const**, TclModelBuilder*)':
TclModelBuilderSectionCommand.cpp:(.text+0xb64): undefined reference to `FiberSectionRepr::getNumFibers() const'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0xd09): undefined reference to `FiberSectionRepr::addFiber(Fiber&)'
/usr/bin/ld: /home/sewi/git/OpenSees/SRC/material/section/TclModelBuilderSectionCommand.o: in function `TclCommand_addHFiber(void*, Tcl_Interp*, int, char const**, TclModelBuilder*)':
TclModelBuilderSectionCommand.cpp:(.text+0x1024): undefined reference to `FiberSectionRepr::getNumHFibers() const'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x11c4): undefined reference to `FiberSectionRepr::addHFiber(Fiber&)'
/usr/bin/ld: /home/sewi/git/OpenSees/SRC/material/section/TclModelBuilderSectionCommand.o: in function `TclCommand_addReinfLayer(void*, Tcl_Interp*, int, char const**, TclModelBuilder*)':
TclModelBuilderSectionCommand.cpp:(.text+0x1904): undefined reference to `CircReinfLayer::CircReinfLayer(int, int, double, Vector const&, double, double, double)'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x190f): undefined reference to `FiberSectionRepr::addReinfLayer(ReinfLayer const&)'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x1aaf): undefined reference to `StraightReinfLayer::StraightReinfLayer(int, int, double, Vector const&, Vector const&)'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x1b03): undefined reference to `CircReinfLayer::CircReinfLayer(int, int, double, Vector const&, double)'
/usr/bin/ld: /home/sewi/git/OpenSees/SRC/material/section/TclModelBuilderSectionCommand.o: in function `buildSectionThermal(Tcl_Interp*, TclModelBuilder*, int, bool, double)':
TclModelBuilderSectionCommand.cpp:(.text+0x1cc4): undefined reference to `FiberSectionRepr::getNumPatches() const'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x1ccf): undefined reference to `FiberSectionRepr::getPatches() const'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x1cda): undefined reference to `FiberSectionRepr::getNumReinfLayers() const'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x1ce8): undefined reference to `FiberSectionRepr::getReinfLayers() const'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x1cf7): undefined reference to `FiberSectionRepr::getNumFibers() const'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x1d05): undefined reference to `FiberSectionRepr::getFibers() const'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x2037): undefined reference to `ReinfBar::getArea() const'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x2054): undefined reference to `ReinfBar::getPosition() const'
/usr/bin/ld: /home/sewi/git/OpenSees/SRC/material/section/TclModelBuilderSectionCommand.o: in function `TclCommand_addFiberSectionThermal(void*, Tcl_Interp*, int, char const**, TclModelBuilder*)':
TclModelBuilderSectionCommand.cpp:(.text+0x2911): undefined reference to `FiberSectionRepr::FiberSectionRepr(int, int, int)'
/usr/bin/ld: /home/sewi/git/OpenSees/SRC/material/section/TclModelBuilderSectionCommand.o: in function `buildSection(Tcl_Interp*, TclModelBuilder*, int, bool, double)':
TclModelBuilderSectionCommand.cpp:(.text+0x2b24): undefined reference to `FiberSectionRepr::getNumPatches() const'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x2b2f): undefined reference to `FiberSectionRepr::getPatches() const'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x2b3a): undefined reference to `FiberSectionRepr::getNumReinfLayers() const'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x2b48): undefined reference to `FiberSectionRepr::getReinfLayers() const'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x2b57): undefined reference to `FiberSectionRepr::getNumFibers() const'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x2b65): undefined reference to `FiberSectionRepr::getFibers() const'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x2ea2): undefined reference to `ReinfBar::getArea() const'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x2ebf): undefined reference to `ReinfBar::getPosition() const'
/usr/bin/ld: /home/sewi/git/OpenSees/SRC/material/section/TclModelBuilderSectionCommand.o: in function `TclCommand_addFiberSection(void*, Tcl_Interp*, int, char const**, TclModelBuilder*)':
TclModelBuilderSectionCommand.cpp:(.text+0x392f): undefined reference to `FiberSectionRepr::FiberSectionRepr(int, int, int)'
/usr/bin/ld: /home/sewi/git/OpenSees/SRC/material/section/TclModelBuilderSectionCommand.o: in function `buildSectionInt(Tcl_Interp*, TclModelBuilder*, int, bool, double, int, double, int, double, int, double)':
TclModelBuilderSectionCommand.cpp:(.text+0x3bb4): undefined reference to `FiberSectionRepr::getNumPatches() const'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x3bbf): undefined reference to `FiberSectionRepr::getPatches() const'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x3bca): undefined reference to `FiberSectionRepr::getNumReinfLayers() const'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x3bd8): undefined reference to `FiberSectionRepr::getReinfLayers() const'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x3be7): undefined reference to `FiberSectionRepr::getNumFibers() const'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x3bf5): undefined reference to `FiberSectionRepr::getFibers() const'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x3c04): undefined reference to `FiberSectionRepr::getNumHFibers() const'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x3c12): undefined reference to `FiberSectionRepr::getHFibers() const'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x3f52): undefined reference to `ReinfBar::getArea() const'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x3f6f): undefined reference to `ReinfBar::getPosition() const'
/usr/bin/ld: /home/sewi/git/OpenSees/SRC/material/section/TclModelBuilderSectionCommand.o: in function `TclCommand_addFiberIntSection(void*, Tcl_Interp*, int, char const**, TclModelBuilder*)':
TclModelBuilderSectionCommand.cpp:(.text+0x49f7): undefined reference to `FiberSectionRepr::FiberSectionRepr(int, int, int)'
/usr/bin/ld: /home/sewi/git/OpenSees/SRC/material/section/TclModelBuilderSectionCommand.o: in function `TclModelBuilderSectionCommand(void*, Tcl_Interp*, int, char const**, TclModelBuilder*)':
TclModelBuilderSectionCommand.cpp:(.text+0x6bfa): undefined reference to `TubeSectionIntegration::TubeSectionIntegration(double, double, int, int)'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x6c04): undefined reference to `TubeSectionIntegration::getNumFibers(FiberType)'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x6c8f): undefined reference to `TubeSectionIntegration::arrangeFibers(NDMaterial**, NDMaterial*)'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x6d13): undefined reference to `TubeSectionIntegration::~TubeSectionIntegration()'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x6e17): undefined reference to `TubeSectionIntegration::~TubeSectionIntegration()'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x6e6a): undefined reference to `TubeSectionIntegration::arrangeFibers(UniaxialMaterial**, UniaxialMaterial*)'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x78ed): undefined reference to `WideFlangeSectionIntegration::WideFlangeSectionIntegration(double, double, double, double, int, int)'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x78f7): undefined reference to `WideFlangeSectionIntegration::getNumFibers(FiberType)'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x7982): undefined reference to `WideFlangeSectionIntegration::arrangeFibers(NDMaterial**, NDMaterial*)'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x7a02): undefined reference to `WideFlangeSectionIntegration::~WideFlangeSectionIntegration()'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x7ad3): undefined reference to `WideFlangeSectionIntegration::~WideFlangeSectionIntegration()'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x7b26): undefined reference to `WideFlangeSectionIntegration::arrangeFibers(UniaxialMaterial**, UniaxialMaterial*)'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x7d2d): undefined reference to `RCTBeamSectionIntegration::RCTBeamSectionIntegration(double, double, double, double, double, double, double, double, int, int, int, int, int, int)'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x7d81): undefined reference to `RCTBeamSectionIntegration::getNumFibers(FiberType)'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x7dc1): undefined reference to `RCTBeamSectionIntegration::arrangeFibers(UniaxialMaterial**, UniaxialMaterial*, UniaxialMaterial*, UniaxialMaterial*)'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x7df5): undefined reference to `RCTBeamSectionIntegration::~RCTBeamSectionIntegration()'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x7e79): undefined reference to `RCTBeamSectionIntegration::~RCTBeamSectionIntegration()'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x7eb7): undefined reference to `RCTBeamSectionIntegration::getNumFibers(FiberType)'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x7ecd): undefined reference to `RCTBeamSectionIntegration::getNumFibers(FiberType)'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x7f3b): undefined reference to `RCTBeamSectionIntegration::arrangeFibers(UniaxialMaterial**, NDMaterial**, NDMaterial*, NDMaterial*, UniaxialMaterial*)'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x802a): undefined reference to `RCTBeamSectionIntegration::RCTBeamSectionIntegration(double, double, double, double, double, double, double, double, int, int, int, int, int, int)'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x804a): undefined reference to `RCTBeamSectionIntegration::arrangeFibers(UniaxialMaterial**, NDMaterial**, NDMaterial*, NDMaterial*, UniaxialMaterial*)'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x815d): undefined reference to `RCTBeamSectionIntegration::RCTBeamSectionIntegration(double, double, double, double, double, double, double, double, int, int, int, int, int, int)'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x817a): undefined reference to `RCTBeamSectionIntegration::arrangeFibers(UniaxialMaterial**, NDMaterial**, NDMaterial*, NDMaterial*, UniaxialMaterial*)'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x8206): undefined reference to `RCTBeamSectionIntegration::~RCTBeamSectionIntegration()'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text+0x821e): undefined reference to `RCTBeamSectionIntegration::~RCTBeamSectionIntegration()'
/usr/bin/ld: /home/sewi/git/OpenSees/SRC/material/section/TclModelBuilderSectionCommand.o: in function `TclModelBuilderSectionCommand(void*, Tcl_Interp*, int, char const**, TclModelBuilder*) [clone .cold.17]':
TclModelBuilderSectionCommand.cpp:(.text.unlikely+0x5ee): undefined reference to `RCTBeamSectionIntegration::~RCTBeamSectionIntegration()'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text.unlikely+0x606): undefined reference to `RCTBeamSectionIntegration::~RCTBeamSectionIntegration()'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text.unlikely+0x60e): undefined reference to `RCTBeamSectionIntegration::~RCTBeamSectionIntegration()'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text.unlikely+0x62d): undefined reference to `WideFlangeSectionIntegration::~WideFlangeSectionIntegration()'
/usr/bin/ld: TclModelBuilderSectionCommand.cpp:(.text.unlikely+0x6ab): undefined reference to `TubeSectionIntegration::~TubeSectionIntegration()'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:14: tcl] Error 1
make[1]: Leaving directory '/mnt/dane/git/OpenSees/SRC/modelbuilder/tcl'
make: *** [Makefile:51: all] Error 2

official repository?

Hi there,

ist this an official clone of OpenSees or is it just someone who has uploaded source of OpenSees to github. Or more directly, Will an accepted PR be merged upstream into official OpenSees.

cheers bernd

Compiling OpenSees with Visual Studio 2019 & Creating DLL files

Hi all!
I have reviewed the Issues in this section and found somehow similar problems without being able to solve them. I have created a new element (inside the elastomeric bearing group). I have tried two things to run OpenSees with the new element:

  1. Creating a DLL (I'm working on Windows) using the "Add new code..." slides/instructions. I was able to create the file after some issues, however, even when I put the script, OpenSees.exe file and .dll file in the same folder, the new element is not recognized. I tried setting the system environmental path as suggested in a previous Issue without solving the problem.

  2. I tried compiling the whole code using Visual Studio 2019. However, the following .lib files are missing: actor.lib, analysis.lib, cblas.lib, convergence.lib, cssparse.lib, damage.lib, database.lib, domain.lib, drain.lib, element.lib, glu32.lib, graph.lib, handler.lib, ifconsol.lib, libifcoremt.lib, libmmt.lib, material.lib, matrix.lib, modelbuilder.lib, opengl32.lib, optimization.lib, recorder.lib, reliability.lib, renderer.lib, superLU.lib, system.lib, tagged.lib, tcl.lib, utility.lib, wsock32.lib.
    I guess I don't need all of them (realiability.lib, for instance). However, how do I know? Not all the .lib names are that obvious.

Thanks in advance for your help.

Patricio.

WARNING-no torsion specified for 3D fiber section, use -GJ or -torsion

My question

When I use the software Opensees3.0.3 that compiled by myself, I have encountered this problem。
The software prompts me to have this error:“WARNING-no torsion specified for 3D fiber section, use -GJ or -torsion”.
error
And I can find the error code ocuured in this file TclModelBuilderSectionCommand.cpp ,the function is

int TclCommand_addFiberSectionThermal(ClientData clientData, Tcl_Interp *interp, int argc, TCL_Char **argv, TclModelBuilder *theTclModelBuilder)

My Source tcl File

source_tcl_code.zip
Hope to get your help,thanks a lot.

Fortran DLL compilation error

Hi everyone,

I am trying to compile an externally provided material in OpenSees. This material has been written in Fortran, and it's preferred to keep it that way. In order compile it to the dll, first I need to compile the material example provided here https://github.com/OpenSees/OpenSees/tree/master/DEVELOPER/material/fortran
Then i can implement the new material based on an existing (and working) file.

Thing is, the source code provided does not seem to be working. As I am new to both Fortran and compiling the issue may be easily solved. I suspect, that after solving this error, it will compile without problems. I am experiencing the same error as described here #65 but here the issue was not solved.

What i did in order to compile:
1) Downloaded the latest version of the source code of OpenSees
2) Created a new DLL Project in visual studio 2015 for fortran
3) Added 3 fortran files from (https://github.com/OpenSees/OpenSees/tree/master/DEVELOPER/material/fortran) to the source files
4) Also added all lib files from /Win64/lib/debug to the source files

It gives the following errors:
error LNK2019: unresolved external symbol OPS_GETINTINPUT referenced in function ELASTICPPF (file:elasticPPf.obj)
error LNK2019: unresolved external symbol OPS_GETDOUBLEINPUT referenced in function ELASTICPPF (file:elasticPPf.obj)
error LNK2019: unresolved external symbol OPS_ALLOCATEMATERIAL referenced in function ELASTICPPF (file:elasticPPf.obj)
error LNK2019: unresolved external symbol OPS_ERROR referenced in function LOCALINIT (file:elasticPPf.obj)
fatal error LNK1120: 4 unresolved externals (file:x64\Debug\ElasticPPf.dll)

It appears to compile the .obj files successfully, but fails to link them. I suspect additional .obj or .lib files are required, or that i should add additional linker directories. I already tried adding the ...\core directory to the additional include directories (properties>Fortran>General) but it does not help.

I am not sure how to proceed from here, so I hope someone can help. Thanks in advance.

Buffer Overflow Detected

When using eleNodes command with OpenSees Tcl version on Ubuntu, I get the following error.

*** buffer overflow detected ***: OpenSees terminated
Aborted (core dumped)

The command works without any problem with OpenSees python version on the same machine. I compiled Tcl version from the source code. But for python version, I am using .so file generated by Minjie. Did I miss something while compiling Tcl version?

Issue on compiling OpenSeesSP on Ubuntu

Hi everyone,

I have downloaded the latest source code from Github and tried to compile OpenSeesSP on Ubuntu. Right now, I have finished compiling the requisite packages including tcl8.6, BLAS-3.8.0, lapack-3.9.0, scalapack-2.1.0, mpich2-1.5rc3, metis-5.1.0, parmetis-4.0.3, scotch-6.0.9, petsc-2.2.1, MUMPS-5.1.2. Besides, I have also modified the Makefile.def of OpenSees according to the install location of the packages on my computer and set PROGRAMMING_MODE to PARALLEL in order to compile OpenSeesSP. However, I have run into some compilation errors that I could not resolve. Specifically, the errors are as follows:

Try1. When set HAVEPETSC = YES in the Makefile.def:
PetscSOE.cpp: In member function ‘virtual int PetscSOE::setSize(Graph&)’:
PetscSOE.cpp:252:42: error: invalid conversion from ‘_p_Mat**’ to ‘PetscInt {aka int}’ [-fpermissive]
ierr = MatCreate(PETSC_COMM_WORLD, &A); CHKERRQ(ierr);
PetscSOE.cpp:252:44: error: too few arguments to function ‘PetscErrorCode MatCreate(MPI_Comm, PetscInt, PetscInt, PetscInt, PetscInt, _p_Mat**)’
ierr = MatCreate(PETSC_COMM_WORLD, &A); CHKERRQ(ierr);
c++: error: /home/jfhuang/lib/libOpenSees.a: No such file or directory
c++: error: /home/jfhuang/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSOE.o: No such file or directory
c++: error: /home/jfhuang/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSolver.o: No such file or directory
c++: error: /home/jfhuang/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.o: No such file or directory
Makefile:35: recipe for target 'tcl' failed
make[1]: *** [tcl] Error 1
make[1]: Leaving directory '/home/jfhuang/OpenSees/SRC/modelbuilder/tcl'
Makefile:45: recipe for target 'all' failed
make: *** [all] Error 2

Try2. When set HAVEPETSC = NO in the Makefile.def:
/usr/bin/ld: cannot find -lpesslsmp
/usr/bin/ld: cannot find -lblacssmp
/usr/bin/ld: cannot find -lg2c
collect2: error: ld returned 1 exit status
Makefile:35: recipe for target 'tcl' failed
make[1]: *** [tcl] Error 1
make[1]: Leaving directory '/home/jfhuang/OpenSees/SRC/modelbuilder/tcl'
Makefile:45: recipe for target 'all' failed
make: *** [all] Error 2

The errors from Try1 seem to relate to the incompatible interface between OpenSees and the petsc package I installed. I have tried to use the latest version of petsc, but it still didn't work. The errors from Try2 seem to indicate that I still have some libraries missing but I am not sure which to install. I am new to compilation of OpenSees and Ubuntu so there are probably some points I have missed during the process. I have attached the Makefile.def I used for your kind reference.
Makefile.txt

Any input on this will be greatly appreciated!

Regards,
Junfei

WARNING could not create uniaxialMaterial

Hello everyone,
I am trying to add new material in opensees using windows. I was able to create .dll file. When I run an example it gives me this error: WARNING could not create uniaxialMaterial ......
Does anyone knows what the problem is?

Thanks,

HELP PLEASE: Cannot create example elasticPPcpp.dll

Hi,

My name is Nikola Tošić and I'm a Fulbright Visiting Scholar at the University o Notre Dame, IN (from the University of Belgrade's Faculty of Civil Engineering) and I'm going to work here in OpenSees.
In fact, one of the previous PhD candidates developed a very nice time-dependent model for concrete that I want to continue working on. He compiled it for Mac, but I'm trying to repeat the process for Windows.
I'm first learning to create a .dll in Visual Studio 15 and working on the provided example elasticPPcpp.
However, following the steps doesn't work.

First, I'm required to add bool.h and SectionForceDeformation.h as Header files and then I get the following errors:
image
The first two are related to the Domain.obj file that is created and the third one to the elasticPPcpp.dll (that isn't created).

I appreciate that it's probably something basic I'm overlooking but any help would be so welcome!

Kind regards,
Nikola

Followed instructions for compiling. what to do now?

I am currently facing a problem while compiling OpenSeesPy on my mac. As a student, I am completely new to compiling software and I feel like I am missing some knowledge. I followed the instructions available on OpenSeesPyDoc, which were of great help. But I am not sure how to proceed now. How can I now actually make use of the OpenSees software on my Mac? i.e, How do i access the OpenSees library from my Python environment (Anaconda3)? Below you can find a description of all details that might be relevant in italic.

I also wonder why OpenSeesPy is not available for Mac, but compiling is only possible on a Mac. Is this correct?

OS Version: 10.14.6
QT version: 5.12.1
QTC Version: 4.10.0

Directories added in OpenSeesPy.pro file:

macx: {
LIBS += -L/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/ -lpython3.7
INCLUDEPATH += /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m
/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m/internal
DEPENDPATH += /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/include
}

The Opensees.dylib and OpenSees.so files where added to:
Users⁩ ▸ ⁨erikemondt⁩ ▸ ⁨anaconda3⁩ ▸ ⁨lib⁩ ▸ ⁨python3.7⁩ ▸ ⁨site-packages⁩ ▸ ⁨openseespy⁩ ▸ ⁨opensees⁩

Compilation of OpenSeesMP on AWS Ubuntu

I am trying to compile OpenSeesMP on AWS Ubuntu instance. I am using source files of OpenSees 3.0.0. The make is failing due to following error,
" /usr/bin/ld: cannot find -lmpi_f77
collect2: error: ld returned 1 exit status
Makefile:62: recipe for target 'tcl' failed
Leaving directory '/home/ubuntu/OpenSees/SRC/modelbuilder/tcl ' ".

I am stuck at this point. Can anyone help on this error?

openseesmp

linking error: TclModelBuilderNDMaterialCommand undefined reference to PressureDependMultiYield03

I would like to inform that the recent OpenSees merge causes the following linking error:

GNU ld (GNU Binutils for Debian) 2.31.1
/usr/bin/ld: /home/sk/OpenSees/SRC/material/nD/TclModelBuilderNDMaterialCommand.o: in function `TclModelBuilderNDMaterialCommand(void*, Tcl_Interp*, int, char const**, TclModelBuilder*)':
TclModelBuilderNDMaterialCommand.cpp:(.text+0x4fb8): undefined reference to `PressureDependMultiYield03::PressureDependMultiYield03(int, int, double, double, double, double, double, double, double, double, int, double, double, double, double, double, double, double, double, int, double*, double, double, double, double)'
collect2: error: ld returned 1 exit status

wl option to compile on linux centOs

I am using redhat makefile.def to compile opensees on centos. while compiling everything is ok until it reaches the following line:

LINKFLAGS       = -rdynamic -Wl

if I remove the -wl flag it compiles without error.

Error when using OpenSeesSP

Hi all,

I am trying to perform transient analysis with OpenSeesSP on a Lİnux system. It always returns an error message "Error! Unknown CType: -1". Does anyone know the source of error or how to fix it.

~thanks

Compiling OpenSees for MacOS Catalina 10.15

Dear OpenSees Community,

I would like to ask your support to solve the following issue. I'm trying to compile from source in my Macbook Pro with MacOS Catalina. After forking the source, and cloning to my computer, I faced the following problems:

  1. The OpenSees folder was located in /Users/MyUserName/Documents/Github/OpenSees after cloning. From this location, I received several error messages, which I attribute to the fact that Makefile.def is pointing the source to /Users/MyUserName/OpenSees. I don't know if I can compile anywhere else in my directory. To circumvent this problem, I moved the source to /Users/MyUserName/OpenSees.

  2. Then, I received the error that folder /Users/MyUserName/OpenSees/OTHER/SuperLU_4.1/ is missing. Indeed, this folder is not present in the version I forked from GitHub. So, I modified the Makefile.def file as follows:

SUPERLU_DISTdir = $(HOME)/OpenSees/OTHER/SuperLU_DIST_2.5/SRC

  1. Now, I receive one fatal error message related to SuperLU and other missing files

clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/zeroLength/TclZeroLength.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/forceBeamColumn/TclForceBeamColumnCommand.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/coordTransformation/TclGeomTransfCommand.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/joint/TclJoint2dCommand.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/joint/TclJoint3dCommand.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/joint/TclBeamColumnJointCommand.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/updatedLagrangianBeamColumn/TclElement2dYS.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/updatedLagrangianBeamColumn/TclElement2dGNL.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/updatedLagrangianBeamColumn/TclCyclicModelCommands.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/damage/TclModelBuilderDamageModelCommand.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/UP-ucsd/TclFourNodeQuadUPCommand.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/TclElementCommands.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/dispBeamColumnInt/TclDispBeamColumnIntCommand.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/elasticBeamColumn/TclElasticBeamCommand.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/fourNodeQuad/TclFourNodeQuadCommand.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/brick/TclTwenty_Node_BrickCommand.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/brick/TclBrickCommand.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/feap/TclFeapElementCommand.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/beamWithHinges/TclBeamWithHingesBuilder.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/frictionBearing/frictionModel/TclModelBuilderFrictionModelCommand.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/PFEMElement/TclModelBuilder_addPFEMElement.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/api/elementAPI_TCL.o' clang: error: no such file or directory: '/Users/gferman/lib/libOpenSees.a' clang: error: no such file or directory: '/Users/gferman/lib/libArpack.a' clang: error: no such file or directory: '/Users/gferman/lib/libSuperLU.a' clang: error: no such file or directory: '/Users/gferman/lib/libUmfpack.a' clang: error: no such file or directory: '/Users/gferman/lib/libAMD.a' clang: error: no such file or directory: '/Users/gferman/lib/libItpack.a' clang: error: no such file or directory: '/Users/gferman/lib/libLapack.a' clang: error: no such file or directory: '/Users/gferman/lib/libCSparse.a' clang: error: no such file or directory: '/Users/gferman/lib/libBlas.a' clang: error: no such file or directory: '/Users/gferman/lib/libCBlas.a' clang: error: no such file or directory: '/usr/local/lib/libgfortran.a'

I used Makefile.def.MacOS10.8 as a template, and made the modifications described above. Attached you can find the terminal output for reference.
terminal-output.txt

Thanks,

-Gaston

create LimitState material

Hi

I successfully created my own uniaxial materials in Opensees by modifying some of the original materials.
Now, I am trying to modify the Limit state material. I created the DLL file and when I run I get a message that The modified limit state material did not find the limit curve.
The function " theCurve = OPS_getLimitCurve(curveData[0]) " seems not to be working. this function is in LimitCurve class.

I did not make any modifications to the materials yet, I only tried to create a DLL file with changing the name of the material. Can you please advise me?

save as data in Tsunami example

Hello everyone,
I work with opensees and openseespy recently. I run the example of Openseespy, Dambreak with Elastic Obstacle Analysis. I would like to save the maximum of displacement and velocity at the free end of the obstacle. I think the command in FSI solver is different with the other solvers. If there is any command to get the maximum displacement or velocity in the specific period time for example from t=0s to t=4s, please send me the command.
my objective:
Max (displacement node 13)-from t=0s to t=4s

node tag= 13;
time=0-4s

Many Thanks,

not getting output

I am very new to OpenSees. When I run my model I get the following message in the dialog box and I am not getting any output when I load the results.
image

nDMaterial PlateFromPlaneStress

Hi All,
I am trying to use (nDMaterial PlateFromPlaneStress) material with the latest release of OpenSees (2.5.0 6536). I am getting an error when I run my model with this material. However, my model with the same material works normally with the OpenSees release (2.5.0 6477).

Thanks,
Mohammed

Creation of DLL failed

I created a DLL with Visual Studio 2017.
Compiling error C1083: impossible to open file bool.h

the include is in EigenSOE.h in the core directory:

#ifndef _bool_h
#include <bool.h>
#endif

Eigenvalue analysis failed due to fortran error

Hello everyone,

I've compiled OpenSees from commit ecbdf68. When I run verification scripts in EXAMPLE/verification everything works fine except those scripts with eigenvalue analysis, which leads to a forrtl error, like:

PortalFrame2d.tcl: Verification 2d Elastic Frame
  - eigenvalue and static pushover analysis
forrtl: severe (408): fort: (19): Dummy character variable 'WHICH' has length 2 which is greater than actual variable length -3689348814741910324

Image           PC                  Routine        Line        Source
OpenSees.exe    000000014083DC11    Unknown        Unknown    Unknown
OpenSees.exe    00000001407DF9E1    DSAUPD             516    dsaupd.f
...

I found that calling eigen command leads to the problem.

The compilation was taken with Visual Studio 2017 + Intal Fortran Compiler 19.0 + ActivTcl 18.6 on Windows 10 64bit system. This is the first time I try to compile an OpenSees executable on Windows, so I have no idea if I've miss configured some stuff or doing something bad during compilation. Does anyone have an idea about this issue?

Update:

The previous issue only happens when compiling a Debug x64 version, since today I tried a Release compile and all the verification scripts are OK now. I still can't tell, however, what's going wrong in a Debug compile process. It might be the Win64/lib/debug/arpack.lib caused the problem here, I guess.

Anyway, the problem is partially solved for me. I hope this would be helpful to someone else.

How to create a OpenSees.exe file using Visual Studio for OpenSees material adding?

Hello
I started working on developing a material in OpenSees. I followed the OpenSees tutorial provided by Dr. Frank McKenna and as I implement all steps in Visual Studio 2010 I got errors on missing files of <SectionForceDeformation.h> and <bool.h> files. I, however, was able to find those files on the Github, but still, I am not able to compile the ElasticPPcpp file. Then I changed my Visual Studio to 2017/2019, but I still have issues with compiling as I try to implement the same step of the tutorial in the VS 2017, although VS 2017 it is slightly different.
My question is that is there anyone that can help me with a step by step procedure to compile the ElasticPPccp file and make the .dll file in VS 2010 or 2017 to be able to run the example1 (also provided in the tutorial)?
I can also share the errors I get from VS 2010 and 2017.
I do appreciate your help

Benjamin Soraghi

Segmentation fault at opensees command "analyse 1"

I found a bug which has been caused by commit 9b208db
"fmk - adding gitignore, bug fix force beam columns if rho, moving load from addInertia load to getResistingForce for line elements". Just the previous commit 90fda16 "Update README" from Fri Sep 14 14:53:48 2018 -0700 works with the same tcl model file.

As you can see in the gdb debugging messages the problem is related to using forceBeamColumn2d, addVector etc. In my opensees model I use forceBeamColumn 2d elements and fiber sections. If needed I can create a small example to reproduce the problem. The problem happens when OpenSees is compiled both by gnu or intel compilers.

$ gdb openseesX13 model22.tcl
...
(gdb) run
...
Program received signal SIGSEGV, Segmentation fault.
0x0000555555968765 in Vector::addVector(double, Vector const&, double) ()
(gdb) bt full
#0 0x0000555555968765 in Vector::addVector(double, Vector const&, double) ()
No symbol table info available.
#1 0x00005555563de27f in ForceBeamColumn2d::getResistingForce() ()
No symbol table info available.
#2 0x00005555562f971e in FE_Element::addRtoResidual(double) ()
No symbol table info available.
#3 0x00005555565ca094 in StaticIntegrator::formEleResidual(FE_Element*) ()
No symbol table info available.
#4 0x000055555629f2ad in LoadControl::formEleResidual(FE_Element*) ()
No symbol table info available.
#5 0x00005555562f950d in FE_Element::getResidual(Integrator*) ()
No symbol table info available.
#6 0x00005555565c92c4 in IncrementalIntegrator::formElementResidual() ()
No symbol table info available.
#7 0x00005555565c8d3c in IncrementalIntegrator::formUnbalance() ()
No symbol table info available.
#8 0x000055555628a7c1 in NewtonRaphson::solveCurrentStep() ()
No symbol table info available.
#9 0x0000555556286f7d in StaticAnalysis::analyze(int) ()
No symbol table info available.
#10 0x00005555558cf3fc in analyzeModel(void*, Tcl_Interp*, int, char const**) ()
No symbol table info available.
#11 0x00007ffff79c2689 in TclInvokeStringCommand ()
from /usr/lib/x86_64-linux-gnu/libtcl8.6.so
No symbol table info available.
---Type to continue, or q to quit---
#12 0x00007ffff79c4a96 in TclNRRunCallbacks () from /usr/lib/x86_64-linux-gnu/libtcl8.6.so
No symbol table info available.
#13 0x00007ffff79c564a in ?? () from /usr/lib/x86_64-linux-gnu/libtcl8.6.so
No symbol table info available.
#14 0x00007ffff7a7f438 in Tcl_FSEvalFileEx () from /usr/lib/x86_64-linux-gnu/libtcl8.6.so
No symbol table info available.
#15 0x00007ffff7a7dcc7 in Tcl_EvalFile () from /usr/lib/x86_64-linux-gnu/libtcl8.6.so
No symbol table info available.
#16 0x00005555558ce740 in g3TclMain(int, char**, int ()(Tcl_Interp), int, int) ()
No symbol table info available.
#17 0x00005555558c2158 in main ()
No symbol table info available.

Fortran DLL compilation Error

Hi everyone, im struggling with the compilation of the uniaxial material written on Fortran that is on the developers folder as an example.

Im using VS2017, i defined a new fortran project of an empty dll and i included the 3 files elasticPPf, materialAPI, and material Type. Itried to compile the solution and i get :

Gravedad Código Descripción Proyecto Archivo Línea Estado suprimido
Error error LNK2019: símbolo externo _OPS_Error sin resolver al que se hace referencia en la función _LOCALINIT elasticPPf.obj
Error error LNK2019: símbolo externo _OPS_GetIntInput sin resolver al que se hace referencia en la función _ELASTICPPF elasticPPf.obj
Error error LNK2019: símbolo externo _OPS_GetDoubleInput sin resolver al que se hace referencia en la función _ELASTICPPF elasticPPf.obj
Error error LNK2019: símbolo externo _OPS_AllocateMaterial sin resolver al que se hace referencia en la función _ELASTICPPF elasticPPf.obj

In the compilation properties I tried different options, on the External Procedures window I tried to change the Name Case Interpretation to every posible option (Upper Case, Lower Case, As-is) but none of them worked.

Any ideas on whats going on??' Is there any path that I have to define??

Thanks

LINK 1181 Error in Compiling OpenSees in Visual Studio

Hello
I am working on adding new material in OpenSees. I am using the ElastipPPcpp example for the sake of learning. I am working on the Win64/OpenSees.sln file using VS 2019. when I Build the OpenSees solution I get one Error and that is LNK1181 cannot open input file 'ifconsol.lib'.
I am guessing it is because of the location of tcl or OpenSees software! but I don't know how to fix it.

I should mention that I here are what I generally did:

  • I downloaded OpenSees source code (Version 3.0.3 64-bit) folder from github and saved it on my desktop.
  • I downloaded and installed the latest version of ActiveTcl 8.6 with the installation directory of C:\Program Files\Tcl
  • Then I put a copy of OpenSees.exe in the above directory

I didn't change or modify any more directory or path.

I do appreciate your help
Thank you
Benjamin

Clarification on ElasticPPcpp file regarding adding material to OpenSees

Hello

I was recently learning how to add new material to OpenSees. I followed Dr. McKenna's instructions and I was successful to build and compile it to get the .dll and/or OpenSess.exe file. My question here is about the concept of the ElasticPPcpp file(s).
I initially thought that the ElasticPPcpp file is the exact copy of Elastic-Perfectly Plastic Material written in cpp (C++), but just a different name to teach us how to add a material source code written in C++ to OpenSees using Visual Studio. However, as I was comparing the ElasticPPcpp file with ElasticMaterial and/or ElasticPPMaterial that already exists in the OpenSees library I found them slightly different.
I do appreciate that you explain where exactly this ElastipPPcpp file come from?
The reason I am asking this question is that as Dr. McKenna mentioned, we should start from an existing file and change it based on the new material we are going to add.

Thank you
Benjamin

Problems compiling on Linux HPC environment

Hello,

I am working on compiling OpenSees v3.0.0 for my local HPC environment. Have MUMPS 5.2.1 compiled with ParMETIS 4.0.3. Have worked through a number of issues and have it down (I believe) to a final few issues associated with linking MUMPS/ParMETIS. Upon the final linking for the OpenSeesMP binary, I get the following few errors:

/home/chturner/MUMPS_5.2.1/lib/libdmumps.a(dini_driver.o): In function `dmumps_ini_driver_':
dini_driver.F:(.text+0x2f6): undefined reference to `metis_setdefaultoptions_'
/home/chturner/MUMPS_5.2.1/lib/libmumps_common.a(ana_orderings_wrappers_m.o): In function `mumps_ana_ord_wrappers_mp_mumps_metis_nodend_mixedto32_':
ana_orderings_wrappers_m.F:(.text+0x35b): undefined reference to `metis_nodend_'
/home/chturner/MUMPS_5.2.1/lib/libmumps_common.a(ana_orderings_wrappers_m.o): In function `mumps_ana_ord_wrappers_mp_mumps_metis_nodend_mixedto64_':
ana_orderings_wrappers_m.F:(.text+0x56f): undefined reference to `metis_nodend_'
ana_orderings_wrappers_m.F:(.text+0xbd8): undefined reference to `metis_nodend_'
/home/chturner/MUMPS_5.2.1/lib/libmumps_common.a(mumps_metis.o): In function `mumps_parmetis_':
mumps_metis.c:(.text+0x26): undefined reference to `ParMETIS_V3_NodeND'
/home/chturner/MUMPS_5.2.1/lib/libmumps_common.a(mumps_metis.o): In function `mumps_metis_kway_':
mumps_metis.c:(.text+0x64): undefined reference to `METIS_SetDefaultOptions'
mumps_metis.c:(.text+0xca): undefined reference to `METIS_PartGraphKway'

In the Makefile.def, I have all of the MUMPS vars set as such:

MUMPS = YES
MUMPS_FLAG = -D_MUMPS
MUMPS_DIR = $(HOME)/MUMPS_5.2.1
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 \
        -ldmumps \
        -lmumps_common \
        -lpord
MUMPS_INCLUDE = -I$(MUMPS_DIR)/include

No errors in compilation--just in the final linking. Any ideas or suggestions? Thanks.

Warning while using fiber section command without -GJ in macOS

I ran OpenSees in macOS Catalina.
In OpenSees v3.0.3 the tcl file ran successfully.
However, the same file returned following warning and cannot run any further when I upgraded to v3.1.0:

WARNING - no torsion specified for 3D fiber section, use -GJ or -torsion

FiberSection3d: 1112

The error occurred when the command section Fiber $secTag {...} executed.
After reformatting the command into section Fiber $secTag -GJ 0. {...}, the tcl file works again and obtains the same result as v3.0.3.

Is this a bug needed to be fixed? Or will the document change the -GJ argument to non-optional in the future?

v2.5 compilation error on centos in superLU function

Hi everyone:
While compiling on centoOS I encounter the following error:

SuperLU.cpp: In member function ‘virtual int SuperLU::solve()’:
SuperLU.cpp:238:67: error: cannot convert ‘GlobalLU_t*’ to ‘SuperLUStat_t*’ for argument ‘12’ to ‘void dgstrf(superlu_options_t*, SuperMatrix*, int, int, int*, void*, int, int*, int*, SuperMatrix*, SuperMatrix*, SuperLUStat_t*, int*)’
     etree, NULL, 0, perm_c, perm_r, &L, &U, &Glu, &stat, &info);
                                                               ^

any idea?

Fluid-structure (FSI)

Hi all,

Is it possible to model fluid-structures in Opensees? I think it works only on Openseespy!! If there is a link or example in Opensees, please send me.

Thanks,

Compile problems with source code with VS2010

When I compile the source code of OpenSees2.5.0+TCL8.5 with VS2010, there are always errors, can't open some .lib files, such as DoddRestrepo.lib, drain.lib, etc., then I copied these files from OpenSees3.0.3 source code to the lib of OpenSees 2.5.0. These errors are not present, but a new fatal error LNK1104 has occurred, couldn't open the input file libdecimal.lib. I found libdecimal.lib in my computer, I tried the above copy method again, it didn't work, then I tried adding libdecimal.lib to VS2010\ VC\lib, the same does not work, what should I do?

Modal damping

Dear OpenSEES team,

I have read in some documents that modal damping model is already available in openSEES, but I have been looking for it for days in internet and I can not find the line of code or an example to use it. It doesn't appear in the wiki page of OpenSEES. Would you mind to share with me more information about how to use it in OpenSEES
(the modal damping model was developed by Wilson and Penzien, and it also appears in a recent research of Chopra and McKenna, 2015).

Many thanks,

Jose Fdo Baena

Undefined argument

in SRC\element\PFEMElement\PFEMElement3Dmini.cpp
ELE_TAG_PFEMElement3Dmini is not defined or initialized.

PFEMElement3Dmini::PFEMElement3Dmini()
    :Element(0,  ELE_TAG_PFEMElement3Dmini ), ntags(8), nodes(8,static_cast<Node*>(0)),
     thePCs(4,static_cast<Pressure_Constraint*>(0)), rho(0), mu(0), body(3),
     J(0.0), Jn(0.0), vdof(12), pdof(4),
     kappa(0.0), ndf(0), lumped(false), checkJ(false), dNdx()
{
}

PFEMElement3Dmini::PFEMElement3Dmini(
    int tag, int nd1, int nd2, int nd3, int nd4,
    double r, double m, double b1,
    double b2, double b3, double ka, bool lmpd, bool chk)
    :Element(tag, ELE_TAG_PFEMElement3Dmini), ntags(8), nodes(8,static_cast<Node*>(0)),
     thePCs(4,static_cast<Pressure_Constraint*>(0)), rho(r), mu(m), body(3),
     J(0.0), Jn(0.0), vdof(12), pdof(4),
     kappa(ka), ndf(0), lumped(lmpd), checkJ(chk), dNdx()
{
    ntags(0)=nd1; ntags(2)=nd2; ntags(4)=nd3; ntags(6)=nd4;
    for(int i=0;i<ntags.Size()/2;i++) {
        ntags(2*i+1) = ntags(2*i);
    }
    body(0) = b1;
    body(1) = b2;
    body(2) = b3;
}

Recent change in ForceBeamColumn3d.cpp prevents from compling it

Dear Michael,

Trying to compile the current OpenSees I found that the recent change in
ForceBeamColumn3d.cpp prevents from compling it. Removing 'gradNumber' makes it compile.
Below is the error I get from the compiler:

ForceBeamColumn3d.cpp: In member function ‘virtual const Vector& ForceBeamColumn3d::getResistingForceSensitivity(int)’:
ForceBeamColumn3d.cpp:3449:83: error: no matching function for call to ‘CrdTransf::getBasicTrialDispShapeSensitivity(int&)’
 3449 |     const Vector &dAdh_u = crdTransf->getBasicTrialDispShapeSensitivity(gradNumber);
      |                                                                                   ^
In file included from /home/sewi/git/OpenSees/SRC/element/forceBeamColumn/ForceBeamColumn3d.h:71,
                 from ForceBeamColumn3d.cpp:68:
/home/sewi/git/OpenSees/SRC/coordTransformation/CrdTransf.h:81:27: note: candidate: ‘virtual const Vector& CrdTransf::getBasicTrialDispShapeSensitivity()’
   81 |     virtual const Vector &getBasicTrialDispShapeSensitivity(void);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sewi/git/OpenSees/SRC/coordTransformation/CrdTransf.h:81:27: note:   candidate expects 0 arguments, 1 provided
ForceBeamColumn3d.cpp: In member function ‘const Matrix& ForceBeamColumn3d::computedfedh(int)’:
ForceBeamColumn3d.cpp:3780:12: warning: unused variable ‘dxLdh’ [-Wunused-variable]
 3780 |     double dxLdh  = dptsdh[i];
      |            ^~~~~
ForceBeamColumn3d.cpp:3752:10: warning: unused variable ‘d1oLdh’ [-Wunused-variable]
 3752 |   double d1oLdh = crdTransf->getd1overLdh();
      |          ^~~~~~
make: *** [../../../Makefile.def:253: ForceBeamColumn3d.o] Error 1

How to access Domain from Material in OpenSeesSP

Dear all,
I am implementing a new nDMaterial model for concrete. This model uses a mixed implicit-explicit algorithm to update internal variables. For this reason, in this material I need a pointer to the domain in order to get the current pseudo-time (used for explicit extrapolation of internal variables).

I do something like this:

/* a pointer to the domain as a class member*/
Domain *domain;

/* get the pointer to the domain in the constructor */
domain = OPS_GetDomain();

/* obtain the current time in setTrialStrain method*/
if (domain)
   dom_time = domain->getCurrentTime();

This works fine in OpenSees and OpenSeesMP, however in OpenSeesSP it does not:
When OpenSeesSP constructs a new instance of the material in a child process (through sendSelf / recvSelf methos, via the FEM_ObjectBrokerAllClasses) any call to OPS_GetDomain() return a NULL pointer. I then tried to move the call to OPS_GetDomain() from the constructor to the recvSelf method and also (only once) in the setTrialStrain method. No matter what, in a child process I cannot get a pointer to the domain.

Is there something I am missing?
Or is there any other better way to get the current domain time?

Thanks

Massimo

SMA material

why SMA uniaxialmaterial does not exist in Opensees while it seems to exist in the documentation

Cannot download the source code

I try to download the source code. But every time the downloading speed is very slow and after a while, the download was interrupted. What's the matter?

"section Fiber" doesn't work for "-ndm 3 -ndf 6" in OpenSees 3.1.0

Hi, everyone!
I could not run my model built by an earlier version and I found that there might be some bugs about the command "section Fiber" in OpenSees3.1.0. Here is the simplified code. The answer should be "============================", but it has no output and does not report any error.

model BasicBuilder -ndm 3 -ndf 6
set C35confined 1
uniaxialMaterial Concrete01 $C35confined -38.04e3 -3.0e-3 -26.0e3 -1.0e-2
set Rec 1
section Fiber $Rec {
patch rect $C35confined 13 4 -0.930000 -2.680000 0.930000 2.680000
}
puts "============================"

But it works if I change the first line to

model BasicBuilder -ndm 2 -ndf 3

I hope I have clarified the issue.

Unable to build OpenSeesPy in VS 2019

I am having issues building OpenSeesPy in Visual Studio 2019 on a Windows 10 64-bit computer. As shown in the screenshots below, I have included the paths to Python 3.7 but I am getting an issue in node.h. Has anyone else encountered a similar issue when building OpenSeesPy in Visual Studio? Are there other environment variables or settings that need to be set?
2019-11-03 20_44_48
2019-11-03 20_44_16

Which Makefile.def?

Hello,

I am trying to build OpenSees on an HPC. I do not know which Makefile.def I should use. I was wondering if anyone can help me with this problem.
I don't know what are the properties of the HPC I am working on, but I can ask for any information. So please tell me if I need to provide more information.

Thanks,
Ashkan

An error occurred in debug mode: in debug mode ArpackSolver (default eigensolver) got error

An error in debug mode

An error occurred while running the following code

set xDamp 0.05;
set nEigenI 1;
set nEigenJ 2;
set lambdaN [eigen [expr $nEigenJ]]; # the error happend
set lambdaI [lindex $lambdaN [expr $nEigenI-1]];
set lambdaJ [lindex $lambdaN [expr $nEigenJ-1]];

And the error is shown in this figure
error
However it's going well in release mode.

The reason I summed up

in debug mode ArpackSolver (default eigensolver) got error
use release version work me fine
It is also possible that I have some errors while compiling.

source tcl code

source_tcl_code.zip

Change.log file with latest updates

Dear Developers

Is there any change.log file, where all the latest updates after Version 3.0.2 mentioned. The latest release (ver 3.1.0) is 496 commits ahead of the previous release. There is file change.log uploaded here (https://opensees.berkeley.edu/OpenSees/changeLog.php) up to release 2.5.0. But no update in the file after that. It will be very helpful to go-through a logfile rather than going through all the commits to finding the latest updates.

Regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.