run OpenSees on OS X 10.6.8

For developers writing C++, Fortran, Java, code who have questions or comments to make.

Moderators: silvia, selimgunay, Moderators

Post Reply
Akbar
Posts: 6
Joined: Fri Mar 11, 2011 4:54 pm

run OpenSees on OS X 10.6.8

Post by Akbar »

I am running OpenSees on OS X 10.6.8 and am having some difficulty setting everything up, how I can change the path that OpenSees runs through? When I run Opensees and try to source 1.tcl file it returns saying that there is no such file or directory. I have the OpenSees executable file in the same directory as the .tcl files I am trying to run.

Thanks in advance.
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: run OpenSees on OS X 10.6.8

Post by fmk »

it is best to run OpenSees through the terminal application and set it up so that your PATH includes the directory where OpenSees is located (editing your .profile file) .. in terminal you cd to whatever directory
you want .. when you start OpenSees by simply typing the name you start in that directory.

if you run it by just clicking on the application, as you are doing, you start in your home directory no matter where the application is located (type pwd to see this) .. you have to cd to where the tcl files are before you can source them.
Post Reply