Re: Importing from tcl
Posted: Mon Dec 30, 2019 9:08 am
The same issue discussed in this post few days ago:
viewtopic.php?f=27&t=73#p112
viewtopic.php?f=27&t=73#p112
I could not find this path in my STKO Program. Had it been changed?MassimoPetracca wrote: ↑Thu Nov 07, 2019 3:07 pmDear Ali,
You don't need to install the HDF5 library by yourself. The necessary redistributables are located in the STKO install directory (typically in "C:\Program Files\STKO\opensees\bin\hdf5").
If for some reason you want to install HDF5 by yourself, you need a specific version: 1.10.1. Unfortunately the installer for that version is not available anymore on the HDF5 website, but the source cose is there and you can compile it.
If you downloaded the STKO+OpenSees package, then you already have OpenSees.exe (version 3.0.3) located in "C:\Program Files\STKO\opensees\bin\OpenSees_303".
There is also a batch script "C:\Program Files\STKO\opensees\opensees_303.bat" that takes care of setting up the necessary environment variables so that OpenSees can find HDF5 and all other dependencies.
So to summarize, what I suggest is to run your model in this way:Note: If you downloaded STKO alone (no OpenSees.exe included) and you are using your own OpenSees.exe, you can just copy your OpenSees.exe in "C:\Program Files\STKO\opensees\bin\OpenSees_303" and you are ready to go, as all the other dependencies are already there.
- Go in the directory where you have your TCL files
- Open a terminal window
open_terminal.PNG- Type the following commad:
"C:\Program Files\STKO\opensees\opensees_303.bat" your_tcl_script.tcl
run_opensees_batch.PNG
Let me know if this solves your problem.
Best regards
Massimo Petracca