The second describes installing the necessary packages to build and run Amber. One of the main reasons I like MacPorts better, however, is their selection abilities (you can install different versions of compilers, for instance, and let MacPorts manage symlinks to them), and they build to /opt/local rather than /usr/local (reducing the chance that you will see homebrew files getting in the way). There are alternatives, with homebrew being the most popular. The first section describes how to use and set up my package manager of choice, MacPorts (previously DarwinPorts). OS X is, after all, built on a registered UNIX kernel-Darwin. It is more an overview of using a particular package manager to build and maintain Open Source software from the UNIX world on your Mac computer. However, this setup is applicable to many other computational chemistry/physics packages as well. Occasionally, some combinations of Compiler with OpenMPI and Boost may not compile correctly.This page describes how to set up Mac OS X to run Amber specifically. Note: The repository on MacPorts is always changing to keep up with OpenMPI and Boost releases. More information on MacPorts compiler selection can be found here: Fortunately, in certain cases, it is possible to specify an alternative compiler to MacPorts for it to use in building a new software item. However, in its default configuration, MacPorts assumes that new software ports to be installed be built with the Xcode compiler. Therefore, OpenMPI, Boost, and SST should be built with the same compiler. It is important to maintain runtime library consistency in order to ensure buildability. Install Autotools using MacPorts automake If $PATH environment variable does not include /opt/local/bin:/opt/local/sbin, then configure $PATH to include these directories as the first part of the path.to add /opt/local/bin:/opt/local/sbin to the $PATH environment variable. Depending on what shell and which configuration files already exist, the MacPorts installer may modify.Install MacPorts using “.pkg” installer.Obtain MacPorts appropriate “.pkg” installer for your MacOS X version at Macports,.Select the down-arrow icon in “Components -> Command Line Tools” to download and install.In the pop-up window, click on “Downloads”.From within Xcode 6, select the “Xcode -> Preferences” pull-down.Using the Apple App Store, install Xcode 6.Xcode is a mandatory prerequisite for MacPorts. Note: nf is installed by default to /opt/local/etc/macports/.If the target host requires a proxy in order to access external hosts, MacPorts can be configured to make use of the proxy by following these instructions:.Consult with your local administrator to confirm that your host can access external network resources. The target host may require initial network configuration in order to access hosts outside of the local area network.Initial network proxy/firewall configuration information.Administrator (sudo) privileges on the target MacOS X host.NOTE: This will install not only the requested software, but also any dependencies for the requested software. These ports may have different names and versions in the future. NOTE: MacPorts provides ports of software packages that are constantly changing, these instructions are a description of the process for specific versions. Until SST becomes fully compatible with the CLANG/LLVM, this guide presents an interim solution for Mac OS X users who have migrated to Xcode 5 who wish to use SST. Unfortunately, certain elements of SST are incompatible with CLANG/LLVM. Apple has instead chosen to promote the CLANG/LLVM compiler toolset for all future development. With the release of Xcode 5, Apple has fully deprecated the GNU compilers that were supplied with previous versions of Xcode. Building SST using MacPorts tools on Mac OSX Refer to current SST release instructions for up-to-date information. Warning: These instructions are outdated for recent versions of SST. Building other SST dependencies using MacPorts toolset. ![]() ![]() Install OpenMPI and Boost using MacPorts.SWIG (Simplified Wrapper and Interface Generator).Install Other Build Support Tools using MacPorts.Install GNU gcc 4.8 Compiler using MacPorts.Building SST using MacPorts tools on Mac OSX.SST Build and Install Procedures for Mac OSX using MacPorts.SST Build and Install Procedures for Mac OSX using MacPorts SSTDocumentation » SST Build and Install Procedures for Mac OSX using MacPorts
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |