![]() ![]() With this release, the default prefix for new installs is reverted to /sw for all macOS versions from 10.14 and earlier. This is a minor behavioral fix for an issue introduced in 0.45.2. ![]() The Fink Project has released fink-0.45.3. Support for those two releases is coming soon. This release does not yet support macOS 11 (Big Sur) or macOS 12 (Monterey). This is a minor upgrade to support XQuartz 2.8. The Fink Project has released fink-0.45.4. This is a quick release to fix a bug introduced in fink-0.45.5 (issue #240). The Fink Project has released fink-0.45.6. Packages or build everything from source. You can choose whether you want to download precompiled binary ![]() ("port" it) and make it available for download as a coherentĪnd apt-get to provide powerful binary package management. We modify Unix software so that it compiles and runs on Mac OS X The Fink project wants to bring the full world of Unix configure -enable-f90 -prefix=/usr/local/ -target=x86_64-apple-darwin -build=x86_64-apple-darwin -host=x86_64-apple–darwin -enable-netcdf4 -enable-sharedĪfter installation of netCDF4 add this to your. The following commands enabled me to compile and load NetCDF4 using Intel Fortran X:įC=ifort lt_cv_ld_force_load=no CXX="" CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib". The trick to get NetCDF4+HDF5+Intel XE composer to work together was a simple statement: lt_cv_ld_force_load=no. Next, I still had problems with the compilation until I found a tip at the Unidata website that suggested a solution to my problem. I had to set several environmental variables to get this to work, including setting the GNU GCC compileer to version 4.6 ( as described here): This version was particularly difficult to get to compile in 64 bit mode (at least for me) and it took me several hours to make sure that both HDF 1.8.8 was compiled as 64 bit and that it could be linked to the compilation of the NetCDF4. As of the writing of this, latest stable version is v4.1.3. NetCDF source files can be downloaded from here. ![]() ZLIBDIR="/usr/local:$" export LIBDIRĮxport CPPFLAGS="-I$HDF5_DIR/include -I/usr/local/include"Įxport LDFLAGS="-L$HDF5_DIR/lib -L/usr/local/lib" The package can be downloaded here and installs by default to /usr/local.Īfter installation you want to add this to your. Zlib is used for compression/decompression in reading/writing netcdf4 files. bash_profileĮxport DYLD_LIBRARY_PATH="/opt/intel/composer_xe_2011_sp1/lib/intel64:$DYLD_LIBRARY_PATH" Source /opt/intel/bin/compilervars.sh intel64Īlso, to enable f2py to function properly with the compiler add the following to. After installation add these lines to your. I bought the Intel XE Fortran Compiler from Intel which is great for speed and also comes with Xcode integration. There is also a free version of EPD which contains all of the base libraries and provides a great start. In my case I paid $199 for a full license that enables me to install all of the libraries and packages i could ever want. The package includes necessary header files.ĭownload and install the EPD. Please leave a comment if you have suggestions for improvements!ĭownload and upgrade to Lion OSX using the App store.ĭownload command line tools for Xcode from Apple Developer. Since I also use Fortran extensively I still have to compile HDF5, ZLIB, UDUNITS, and NetCDF4 with Fortran support, but that is much easier than maintaining all of the Python libraries as well. I have therefore simplified the installation slightly when I upgraded to Lion, using the Enthought Python Distribution. I used to compile all packages from source, but maintaining all of the libraries while wanting to update the OSX turned out to be difficult ( see my old page). This page contains my own notes for how to install a variety of packages that I use on a regular basis on Intel Mac computers. Notes for how to setup Python and Fortran development tools on Mac OSX Lionĭeprecated – click here for updated page for Yosemite versionĬreated by Trond Kristiansen on (updated ) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |