The Mac OS X operating system is a variant of unix (called Darwin, which is a derivative of BSD unix). It is a versatile computing platform suitable both for computational chemistry calculations and for developing and compiling programs. 统计之都(Capital of Statistics, COS)论坛是一个自由探讨统计学和数据科学的平台,欢迎对统计学、机器学习、数据分析、可视化等领域感兴趣的朋友在此交流切磋。.
WebMO 19.0 is now available for free download! WebMO 19.0 Pro and Enterprise have a variety of additional features and is available for purchase. The WebMO app is now available for iOS and Android. |
March 9, 2020 |
Fortran Compiler Installation Instructions for OS X |
The Mac OS X operating system is a variant of unix (called Darwin, which is a derivative of BSD unix). It is a versatile computing platform suitable both for computational chemistry calculations and for developing and compiling programs.
Although scientific programs use a variety of languages (basic, pascal, c, java, perl, python, ..), a substantial base of scientific code is written in fortran. Most (though not all) computational engines supported by WebMO are written in fortran. This resource concentrates on fortran compilers and the tools needed to support them.
While integrated development environments (IDE's) are useful in supporting program development, this resource concentrates on the command line interface (CLI) using the Terminal application that is supplied with OS X.
The procedures discussed on this page have been designed for Mac OS X 10.5.
SOFTWARE DEVELOPMENT UTILITIES AND c COMPILER
Command line program development often uses unix utilities (cvs, make, ranlib, ..) when developing and compiling a project. These utilities, together with the c compiler for OS X, are available as part of the Xcode Tools that come with OS X. However, they are not installed by default.
- Insert Mac OS X Installation DVD. Navigate to the Optional Installs: Xcode Tools folder.
- Double-click XcodeTools.mpkg. Follow the prompts, but at Installation Type, click the Customize button.
- Uncheck all the components and check only Unix Development Support. In particular, Developer Tools Essentials should be unchecked (saving you 2.5GB of disk space)!
- Provide your password for the installation will proceed.
- Notes:
- The latest version of Xcode Tools can be obtained by registering for a free ADC membership and then downloading the latest version of Xcode from Apple (caution: it is > 1GB!).
- Xcode can be uninstalled by running
$ sudo /Developer/Library/uninstall-devtools
as described in the Xcode Tools Uninstaller
- The latest version of Xcode Tools can be obtained by registering for a free ADC membership and then downloading the latest version of Xcode from Apple (caution: it is > 1GB!).
g77 COMPILER
The best website for free high-quality TH Sarabun PSK fonts, with 20 free TH Sarabun PSK fonts for immediate download, and 49 professional TH Sarabun PSK fonts for the best price on the Web. Download TH Sarabun New font for PC/Mac for free, take a test-drive and see the entire character set. Moreover, you can embed it to your website with @font-face support. Download th sarabun for mac. การใช้งาน Font TH Sarabun บน Office 2016 for Mac และ Office 365. Skip navigation Sign in. 100% TH Sarabun Font Support Word 2016 for Mac Mc Tiensakunpanya. There Is No Preview Available For This Item This item does not appear to have any files that can be experienced on Archive.org.
g77 is the gnu fortran77 compiler. It was last produced with gnu compiler collection (gcc) 3.4, and has since been supplanted with gfortran which supports fortran95. Because of the free-cost and high quality of the gnu copmpilers, a significant amount of software has been developed for and compiled with the g77 compiler.
A tar file of the final realease of g77 compiled for OS X exists at High Performance Computing for Mac OS X.
For computers running Windows 7, 8, 8.1 and 10 or macOS 10.10 Yosemite or newer. Do you want to become a better musician? Or do you need to pass a music theory exam? You found the right software! EarMaster is the #1 music theory trainer for all musicians who want to get better skills, from beginner level to very advanced. Included training modes. New EarMaster monthly subscription - Get EarMaster on PC, Mac, iPad and iPhone for a low monthly fee! More info Become a Better Musician with EarMaster 7 The #1 Musicianship Training App on PC, Mac, iPad and iPhone Ear training. Earmaster pro 7 mac crack. EarMaster 7.1 is the latest major update of EarMaster 7 on PC and Mac. The update is free for EarMaster 7 licensees, and includes many under-the-hood improvements and new features. Here are some highlights: CLAP RHYTHMS INTO A MICROPHONE Upon overwhelming popular demand, microphone input for rhythm clapping exercises has finally been added to.
- Download g77-intel-bin.tar.gz (Intel Mac only) or g77-bin.tar.gz (PowerPC only)
- If your browser did not automatically unzip the file, then
$ gunzip g77-bin-intel.tar.gz - Install the distribution
$ sudo tar -xvf g77-bin.tar -C /
which puts everything in /usr/local - Notes:
- No uninstall script exists, so the install files need to be listed from the tar file and manually deleted. The following command automates the process of deleting all installed files and empty directories:
$ tar -tf g77-bin.tar sort -r (cd /; xargs -p -n 1 rm -d)
You may wish to replace the '-p' switch with '-t' so that you are not prompted to delete each file. - G77 documentation is available at GCC Online Documentation
- No uninstall script exists, so the install files need to be listed from the tar file and manually deleted. The following command automates the process of deleting all installed files and empty directories:
gfortran COMPILER
gfortran is the new gnu fortran compiler, which attempts to follow the fortran95 standard. As such, it should be backward compatible with fortran77 and fortran90. It also promises to attempt following future fortran standards, such as fortran2003. gfortran replaces the gnu g77 compiler and is included with gnu compiler collection (gcc) 4.0 and higher.
Although Apple XCode Tools includes gcc 4.X, it is not a complete implementation and lacks gfortran. However, various implementations of gfortran have been compiled and are available at GCC Wiki GFortranBinaries, Tools - R (and Fortran) for Mac OS X, or High Performance Computing for Mac OS X. These implementations vary by version, platform supported, and integration with XCode Tools. Important: Install only one implementation of gfortran, as each version would overwrite portions of the others!
- The 'GCC Wiki' implementation described in the following procedure is typically the newest binary release of gfortran, but requires that you download a version appropriate for your architecture.
- Visit the GCC Wiki GFortranBinaries page and scroll to the MacOS section
- Downoad gfortran-macosx-x86.dmg (Intel) or gfortran-macosx-ppc.dmg (PowerPC)
- If your browser did not automatically mount the disk image, the double-click the dmg file to mount and open it
- Open the gfortran-macosx-{architecture}-{version} folder, double-click gfortran.pkg, and follow the prompts to install it
- Notes:
- All gfortran files are installed in /usr/local/gfortran, and a single symbloic link /usr/local/bin/gfortran is created. Thus, to uninstall the package, run
$ sudo rm -r /usr/local/gfortran /usr/local/bin/gfortran - GNU Fortran documentation is available at GCC Online Documentation
- All gfortran files are installed in /usr/local/gfortran, and a single symbloic link /usr/local/bin/gfortran is created. Thus, to uninstall the package, run
- The 'R Tools' implementation described in the following procedure is independent of XCode Tool version, offers support for 'fat-binaries' which can run on multiple platforms, can build static or dynamic binaries, and has a convenient uninstall script.
- Downoad gfortran-4.2.3.dmg
- If your browser did not automatically mount the disk image, the double-click the dmg file to mount and open it
- Double-click gfortran.pkg and follow the prompts to install it
- Notes:
- To uninstall the package, run
$ sudo /usr/local/bin/gfortran-uninstall - To obtain gfortran documentation, run
$ info gfortran
- To uninstall the package, run
- Downoad gfortran-4.2.3.dmg
- The 'sourceforge' implementation described in the following procedure requires that you download a version appropriate for your architecture, does not produce 'fat binaries', and does not come with an uninstall script (although a method is provided below)
- Downoad gfortran-leopard-intel-bin.tar.gz (Intel) or gfortran-leopard-ppc-bin.tar.gz (Power PC)
- If your browser did not automatically unzip the file, then
$ gunzip gcc-leopard-intel-bin.tar.gz - Install the distribution
$ sudo tar -xvf gcc-leopard-intel-bin.tar -C /
which puts everything in /usr/local - Notes:
- No uninstall script exists, but the following command will delete all installed files and empty directories:
$ tar -tf gfortran-leopard-intel-bin.tar sort -r (cd /; xargs -p -n 1 rm -d)
You may wish to replace the '-p' switch with '-t' so that you are not prompted to delete each file. - GNU Fortran documentation is available at GCC Online Documentation
- No uninstall script exists, but the following command will delete all installed files and empty directories:
- Downoad gfortran-leopard-intel-bin.tar.gz (Intel) or gfortran-leopard-ppc-bin.tar.gz (Power PC)
- Note that there is a G95 project, which is completely independent of the gnu gfortran project (despite the similarity with the gnu g77 compiler name). The G95 project is not associated with the gnu compiler collection!
f77 was the first complete fortran77 compiler and was written in c. The original f77 program is no longer available for current computer architectures. However, f2c is based on the original f77 program, and the f2c distribution contains a f77 wrapper script that combines the f2c translation and c compilation steps. The f77 script also supports many command line options commonly associated with fortran compilers. Since the f77 script calls f2c, which in turn is based upon the original f77 program, the f77 script within the f2c distribution represents the most current implementation of the original f77 program.
- Download the installation script install_f2c_osx.csh
which is - Run installation script
- $ chmod +x install_f2c_osx.csh
$ sudo ./install_f2c_osx.csh- /usr/local/bin/f2c
/usr/local/include/f2c.h
/usr/local/lib/libf2c.a
/usr/local/man/man1/f2c.1t
/usr/local/bin/f77 - Translate, compile, link, and run a program
- $ f2c hello.f
$ gcc -c hello.c
$ gcc -o hello hello.o -lf2c -lm
$ ./hello- $ f77 -o hello hello.f
- Notes:
- To uninstall f2c, manually delete the five files produced above
RESOURCES
- Free Fortran Compilers
- GFortranBinaries - GCC Wiki
Tools - R (and Fortran) for Mac OS X
High Performance Computing for Mac OS X
GNU Fortran
FINK: GNU Compiler Collection Version 4.3 (includes gfortran)
The G95 Project
f2c
- Intel Fortran Compiler for OS X
IBM XL Fortran Compiler for Macintosh OS X
Absoft Fortran for OS X
PGI Fortran Workstation
NAG Fortran Compiler
- Programming on Mac OS X
Fortran Tools and Libraries
Open Directory - Computers: Programming: Languages: Fortran
Help for Fortran and Fortran90 Programming
- Fortran Syntax
Fortran 90 for the Fortran 77 Programmer
Summary of Fortran 95 Language
A Summary of Fortran
Fortran 90 Notes
The GNU Fortran Compiler
I am new to R and am trying to install the package gnlm (obtained from
http://popgen.unimaas.nl/~jlindsey/rcode.html) from source but keep
getting the following messages.
* Installing *source* package 'gnlm' ..
** libs
gcc-3.3 -no-cpp-precomp
-I/Library/Frameworks/R.framework/Resources/include
-I/usr/local/include -fno-common -g -O2 -c stable.c -o stable.o
gcc-3.3 -bundle -flat_namespace -undefined suppress -o gnlm.so stable.o
-L/usr/local/lib/gcc/powerpc-apple-darwin6.8/3.4.2 -lg2c -lSystem
ld: stable.o has external relocation entries in non-writable section
(__TEXT,__text) for symbols:
restFP
saveFP
** Removing
'/Library/Frameworks/R.framework/Versions/2.2/Resources/library/gnlm'
make: *** [gnlm.so] Error 1
ERROR: compilation failed for package 'gnlm'
i am running OS 10.3.9, R 1.13
Any pointers to where I might look to resolve this issue would be much
appreciated!
Regards
John Vaul