Hi,
I'm a MSc Student and i've worked with OpenSees in windows. Now, I bought my first mac and I don't know how to run OpenSees in it.
I've already downloaded the program and tcl. There is another else to do?
In windows, I store together in one folder open sees.exe and the file.tcl, then in open sees source file.tcl and that's it! How do I do in Mac?
Greetings
run OpenSees in mac
Moderators: silvia, selimgunay, Moderators
Re: run OpenSees in mac
You need to use the Terminal application. I suggest you learn a few basic linux commands as well, i.e. cd, pwd, ..
I place OpenSees in a bin directory off my home directory. I have updated the PATH variable to pint to this location. There are a number of ways to do that. I simply added a line to the .profile file in my home directory:
export PATH=/Users/fmk/bin:/usr/local/mpich2/bin:$PATH:/usr/local/bin
once this is set up, no matter what directory i am in in the terminal application, when i ype OpenSees i get the interpreter.
I typically use Terminal to cd to the directory containing the scripts, and either start OpenSees and source the filename or just run OpenSees filename from the command line.
I place OpenSees in a bin directory off my home directory. I have updated the PATH variable to pint to this location. There are a number of ways to do that. I simply added a line to the .profile file in my home directory:
export PATH=/Users/fmk/bin:/usr/local/mpich2/bin:$PATH:/usr/local/bin
once this is set up, no matter what directory i am in in the terminal application, when i ype OpenSees i get the interpreter.
I typically use Terminal to cd to the directory containing the scripts, and either start OpenSees and source the filename or just run OpenSees filename from the command line.
-
- Posts: 6
- Joined: Mon Sep 22, 2014 5:43 pm
- Location: California State University, Long Beach
Re: run OpenSees in mac
I am having the same issue and i cannot even run the command source without getting an error for the directory. Any help is appreciated.
Re: run OpenSees in mac
1. can you start the program from the terminal application?
2. if so can you type "pwd" when you start it?
3. is the location of the file you want to source in that directory?
4. if not, issue some cd commands to get there?
2. if so can you type "pwd" when you start it?
3. is the location of the file you want to source in that directory?
4. if not, issue some cd commands to get there?
-
- Posts: 6
- Joined: Mon Sep 22, 2014 5:43 pm
- Location: California State University, Long Beach
Re: run OpenSees in mac
Thank you for your help! I changed the working directory and it worked.