Mac
From krc
(Difference between revisions)
(21 intermediate revisions by one user not shown) | |||
Line 2: | Line 2: | ||
The preferred compiler would be gfortran found here: | The preferred compiler would be gfortran found here: | ||
+ | |||
http://gcc.gnu.org/wiki/GFortranBinaries#MacOS | http://gcc.gnu.org/wiki/GFortranBinaries#MacOS | ||
+ | |||
OR | OR | ||
+ | |||
http://hpc.sourceforge.net | http://hpc.sourceforge.net | ||
But it may or may not be required to have additional library files associated with g77. | But it may or may not be required to have additional library files associated with g77. | ||
− | Ignore installing g77 on your first attempt to compile krc on a mac, but compile g77 if | + | |
− | errors associated with missing library files show up during the compilation. | + | Ignore installing g77 on your first attempt to compile krc on a mac, but compile g77 if errors associated with missing library files show up during the compilation. |
http://www.webmo.net/support/fortran_osx.html | http://www.webmo.net/support/fortran_osx.html | ||
Line 17: | Line 20: | ||
Type: | Type: | ||
− | gunzip g77-intel-bin.tar.gz | + | $gunzip g77-intel-bin.tar.gz |
− | + | ||
− | sudo tar -xvf g77-intel-bin.tar -C / | + | $sudo tar -xvf g77-intel-bin.tar -C / |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | * Step 2: Download KRC [http://krc.mars.asu.edu/index.php?title=Download_KRC here] | |
− | + | ||
− | * Step | + | * Step 3: Copy the zip file on your ~/Desktop/ |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | * Step 4: Download [[File:Compile_KRC_3.4.3.sh.zip|Compile_KRC_3.4.3.sh.zip]] | |
− | + | ||
− | + | ||
− | + | ||
− | + | * Step 5: Run the compilation script from anywhere | |
− | + | $./Compile_KRC_3.4.3.sh | |
− | + | ||
− | + | ||
− | + | Your screen should print " 'krc' is up to date " | |
− | + | ||
− | + | ||
− | + |
Latest revision as of 14:25, 16 November 2016
- Step 1: Install a FORTRAN compiler.
The preferred compiler would be gfortran found here:
http://gcc.gnu.org/wiki/GFortranBinaries#MacOS
OR
But it may or may not be required to have additional library files associated with g77.
Ignore installing g77 on your first attempt to compile krc on a mac, but compile g77 if errors associated with missing library files show up during the compilation.
http://www.webmo.net/support/fortran_osx.html
download the g77 compiler called g77-intel-bin.tar.gz (Intel Mac only) Then open a terminal window, go to the place where g77-intel-bin.tar.gz is located.
Type:
$gunzip g77-intel-bin.tar.gz $sudo tar -xvf g77-intel-bin.tar -C /
- Step 2: Download KRC here
- Step 3: Copy the zip file on your ~/Desktop/
- Step 4: Download File:Compile KRC 3.4.3.sh.zip
- Step 5: Run the compilation script from anywhere
$./Compile_KRC_3.4.3.sh
Your screen should print " 'krc' is up to date "