OpenSees on a Mac OS X Leopard
Moderators: silvia, selimgunay, Moderators
-
- Posts: 40
- Joined: Wed Feb 06, 2008 10:53 am
- Location: Universidad del Norte
OpenSees on a Mac OS X Leopard
How do I compile the source code (OpenSees) on a Mac OS X Leopard? But, please, step by step; I don't know how to do it!
Thanks in advance.
Note: I have the last update: Mac OS X 10.5.2.
Thanks in advance.
Note: I have the last update: Mac OS X 10.5.2.
Hello,
You will need to download the source code first (either from the developer link above, or using CVS - there are CVS instructions if you want to get the latest source code updates).
Once you have the source code, you will also need to download Xcode from Apple. You can find this from a google search.
You will also need a fortran compiler, gfortran, which you can get from here: http://hpc.sourceforge.net/
Be sure to get the compiler which matches your system architecture (intel for intel macs, etc).
Install both Xcode and the fortran compiler. Then you need to follow the compile instructions here (for unix systems, but skip the step for TCL):
http://opensees.berkeley.edu/OpenSees/d ... builds.php
The makefile that you will want to use can be downloaded from here: http://opensees.berkeley.edu/cgi-bin/cv ... text/plain
I know this seems like a complicated process but it's not bad once you get started. Frank has mentioned that he plans to start distributing a binary version for Macs (like he is doing for Windows users) so if you don't feel like going through this, you might be able to get that in the coming weeks.
-Robbie
You will need to download the source code first (either from the developer link above, or using CVS - there are CVS instructions if you want to get the latest source code updates).
Once you have the source code, you will also need to download Xcode from Apple. You can find this from a google search.
You will also need a fortran compiler, gfortran, which you can get from here: http://hpc.sourceforge.net/
Be sure to get the compiler which matches your system architecture (intel for intel macs, etc).
Install both Xcode and the fortran compiler. Then you need to follow the compile instructions here (for unix systems, but skip the step for TCL):
http://opensees.berkeley.edu/OpenSees/d ... builds.php
The makefile that you will want to use can be downloaded from here: http://opensees.berkeley.edu/cgi-bin/cv ... text/plain
I know this seems like a complicated process but it's not bad once you get started. Frank has mentioned that he plans to start distributing a binary version for Macs (like he is doing for Windows users) so if you don't feel like going through this, you might be able to get that in the coming weeks.
-Robbie
-
- Posts: 40
- Joined: Wed Feb 06, 2008 10:53 am
- Location: Universidad del Norte
Ok, thanks for your answer. And yes, I will wait!
rjaeger wrote:Hello,
You will need to download the source code first (either from the developer link above, or using CVS - there are CVS instructions if you want to get the latest source code updates).
Once you have the source code, you will also need to download Xcode from Apple. You can find this from a google search.
You will also need a fortran compiler, gfortran, which you can get from here: http://hpc.sourceforge.net/
Be sure to get the compiler which matches your system architecture (intel for intel macs, etc).
Install both Xcode and the fortran compiler. Then you need to follow the compile instructions here (for unix systems, but skip the step for TCL):
http://opensees.berkeley.edu/OpenSees/d ... builds.php
The makefile that you will want to use can be downloaded from here: http://opensees.berkeley.edu/cgi-bin/cv ... text/plain
I know this seems like a complicated process but it's not bad once you get started. Frank has mentioned that he plans to start distributing a binary version for Macs (like he is doing for Windows users) so if you don't feel like going through this, you might be able to get that in the coming weeks.
-Robbie
-
- Posts: 40
- Joined: Wed Feb 06, 2008 10:53 am
- Location: Universidad del Norte
Hello I am new at this, please excuse my rather basic question...
I have downloaded OpenSees for Mac (from the bottom of the download page). I am not sure if I have to install any additional packages. I have Mac OS 10.5.3.
In Windows, if I have a .tcl file called cantilever.tcl, I would type: "OpenSees cantilever.tcl". However, I get an error message when I use the command "OpenSees" on my Mac, saying that the command does not exist.
Can someone please help?
Thanks so much in advance.
I have downloaded OpenSees for Mac (from the bottom of the download page). I am not sure if I have to install any additional packages. I have Mac OS 10.5.3.
In Windows, if I have a .tcl file called cantilever.tcl, I would type: "OpenSees cantilever.tcl". However, I get an error message when I use the command "OpenSees" on my Mac, saying that the command does not exist.
Can someone please help?
Thanks so much in advance.
you either need to get the directory that OpenSees is in in your PATH variable (type env in a terminal windows to see the current PATH; these are the directories that are searched when you issue a command from the erminal) or include the full path when you issue the command, e.g. /Users/fmk/bin/OpenSees cantilever.tcl
I have some similar questions. I am trying to run OpenSees on OS X 10.5.5 and am having some difficulty setting everything up. I am relatively new to OpenSees and new to Apple machines.
My first question is how I can change the path that OpenSees runs through? When I run Opensees and try to source a .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. I checked the current path using the env command in Terminal.
My second question is how I can create .tcl files on a Mac? I am used to a PC where I could write a file in notepad then change the extension to .tcl, then source the file in Opensees. Right now I cannot find a Mac program that will open or save .tcl files
Thanks for the help.
My first question is how I can change the path that OpenSees runs through? When I run Opensees and try to source a .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. I checked the current path using the env command in Terminal.
My second question is how I can create .tcl files on a Mac? I am used to a PC where I could write a file in notepad then change the extension to .tcl, then source the file in Opensees. Right now I cannot find a Mac program that will open or save .tcl files
Thanks for the help.
as above place the directory containing OpenSees in your PATH .. to do this edit or create your .bash_profile file found in your home directory assuming you are using bash shell. if you don't understand what i am talking about you need to go get a book or browse online to see how to use your mac.
i use the emacs or the vi text editor. there are others. again browse online to see how
to use your mac.
i use the emacs or the vi text editor. there are others. again browse online to see how
to use your mac.