10/5/2023 0 Comments Fortran compiler mac os x lionFirst, we need to be sure that we have XCode installed. XCodeĪlright, it is time to get started on configuring Mac Mavericks for scientific research. For example, I used Solarized for my vim apps as well. Also, the color scheme is available to a number of other programs. I am a bit indifferent to the specific colors, but the scheme overall works really well and gives me two consistent and easy to apply colors schemes, one light color scheme and one dark color scheme. After years of fighting with terminal color schemes, I have settled on a scheme created and used by many software engineers: Solarized. Right now, the files are designed to be universal, but eventually I will add some smarts to the system so that I can have some customizations setup for different flavors of Unix (Linux or Mac OS X) and possibly for different shells (csh, tcsh, zsh, etc.). By hosting the code on GitHub, I can clone and setup this system on any Unix based machine that I work on. The setup script is smart enough to back up my existing dotfiles into a ~/dotfiles_old/ directory thus giving me a means of reversing any changes. The makesymlinks.sh setup script creates symlinks of the dotfiles from the home directory to the files in ~/dotfiles/. The repository is cloned into the home directory of any of my machines such that the path is ~/dotfiles/. The code in my repository organizes my various dotfiles, including. I built on his script and setup to create my own dotfiles system. This method is based on Michael Smalley’s dotfiles setup, which he described at his blog. With my most recent new computer, I have adopted a more systematic and automated way of maintaining syncing my environments on different machines: I have created a ‘dotfiles’ system using a simple script and GitHub. Historically, I have gone through a tedious process with every new machine in which I manually recreate the set up that I already have on my other machines. Ideally, this means using a bash shell with a custom prompt, colored ls output, and all of my standard aliases in place. I like to have the Unix environment set up the same on all of the machines. I use a number of machines at work and home, with a roughly 50/50 split between Macs and Linux machines. Wrangling BASH preferences: my new dotfiles system In the spirit of paying things forward, I am providing this description of my setup 2 in case it might be useful to another scientist out there facing the same problems that I already faced. Over time I strung together disparate instructions and suggestions that resulted in a working system for me. Fortunately, a number of people posted their own experiences in setting up their own systems 1. Not being a computer scientist, I was intimidated at first. Instead, you are often in the realm of package managers, compiling your own code, and customizing the paths and configurations. Once you dive into the Unix engine under the hood, you are no longer working with Mac OS X software installers. The rest of the additional steps are there just to make my life easier. Most of these additional steps involve installing and configuring software for writing my modeling and analysis code. Since I am using the Unix underpinnings of Mac OS X, my setup requires a number of steps that the average Mac owner does not need in order to be productive. I have a toolbox and I put the tools in for the job. For me, a computer OS is just another tool, like Fortran, Python, a spectrometer, or a soldering iron. CAD design on Solidworks or mapping on ArcGIS. I am not a fanatic follower of Apple and I will use Windows machines when the task demands it, e.g. For most of my work, the Mac OS X operating system provides me computational foundation I need to develop and run planetary climate models. I use a Mac computer for most of my research, with the exception of running large climate models, which is usually done on clusters that are built from Linux machines. These instructions are no longer up to date and may not work on newer versions of the Mac OS. UPDATE: I have changed how I setup my Python environment.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |