Go to the U of M home page
School of Physics & Astronomy
School of Physics and Astronomy Wiki

User Tools


classes:2008:fall:astro4001.001:installation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
classes:2008:fall:astro4001.001:installation [2008/10/14 18:47] hegerclasses:2008:fall:astro4001.001:installation [2008/10/15 09:28] (current) heger
Line 7: Line 7:
 On you linux prompt type  On you linux prompt type 
  
-      ''wget http://www.kitp.ucsb.edu/~paxton/EZ_3_6_3.tar.gz'' +  wget http://www.kitp.ucsb.edu/~paxton/EZ_3_6_3.tar.gz
  
 to download the file.   to download the file.  
Line 15: Line 15:
 To unpack type To unpack type
  
-      ''tar xvzf EZ_3_6_3.tar.gz''+      tar xvzf EZ_3_6_3.tar.gz
  
 This will unpack all the files in a directory ''EZ_3_6_3''. This will unpack all the files in a directory ''EZ_3_6_3''.
Line 21: Line 21:
 Switch to this directory: Switch to this directory:
  
-      ''cd  EZ_3_6_3''+      cd  EZ_3_6_3
  
 There are a lot of ''._*'' and ''.DS_Store'' files in the different directories.  You can get rid of them with the commands There are a lot of ''._*'' and ''.DS_Store'' files in the different directories.  You can get rid of them with the commands
  
-      ''find . -name "._*" -exec rm -f {} \;'' +      find . -name "._*" -exec rm -f {} \; 
-      \\  +      find . -name ".DS_Store" -exec rm -f {} \; 
-      ''find . -name ".DS_Store" -exec rm -f {} \;''+ 
 +==== Setting up compiler ==== 
 + 
 +=== Physics Computers === 
 + 
 +To set up gcc/gfortran compiler in desired version 4.3.x type 
 + 
 +      setup gcc v4_3_1 
 + 
 +== Advanced == 
 + 
 +To see what other compiler versions are available, type 
 + 
 +      ups list -aK+ gcc 
 + 
 +=== MSI SVDL Computers === 
 + 
 +to use gcc/gfortran in desired version 4.3.x type 
 + 
 +  module load gcc/gcc432 
 + 
 +== Advanced == 
 + 
 +To see what other modules are available, type 
 + 
 +  module avail 
 + 
 +To see your currently loaded modules, type 
 + 
 +  module list
  
 ==== Compiling ==== ==== Compiling ====
Line 33: Line 62:
 Change to directory ''make'' Change to directory ''make''
  
-      ''cd make''+      cd make
  
 execute the ''makefile'' skript (default) using the ''make'' command execute the ''makefile'' skript (default) using the ''make'' command
  
-       ''make''+      make
  
 the original version of ''makefile'' uses ''gfortran'' If that does not work on your computer of platform, you probably have to modify the ''makefile'' (or install ''gfortran'').   the original version of ''makefile'' uses ''gfortran'' If that does not work on your computer of platform, you probably have to modify the ''makefile'' (or install ''gfortran'').  
  
-There should now be a version of the EZ executable in the ''run'' subdirectory off the main EZ_3_6_3 directory.  To change to this diectory, do+There should now be a version of the EZ executable in the ''run'' subdirectory off the main EZ_3_6_3 directory.  To change to this diectory, do 
  
-      ''cd ../run''+      cd ../run
  
 Type  Type 
  
-      ''ls -latr'' +      ls -latr
  
 to see the files, sorted in reverse order of creation. {{ez_3_6_3.txt|Here is list of files you should have.}} to see the files, sorted in reverse order of creation. {{ez_3_6_3.txt|Here is list of files you should have.}}
  
-==== Some FORTRAN Documentation ====+==== Some Documentation ==== 
 + 
 +== UNIX == 
 + 
 +{{http://static.msi.umn.edu/tutorial/hardwareprogramming/intro_to_unix_06_07_06.pdf|Introduction to UNIX}} 
 + 
 +== FORTRAN ==
  
-{{http://www.cs.mtu.edu/~shene/COURSES/cs201/NOTES/intro.html}}+{{http://www.cs.mtu.edu/~shene/COURSES/cs201/NOTES/intro.html|Introduction into FORTRAN}}
  
- =====+== emacs ==
  
 +{{http://www.gnu.org/software/emacs/manual/emacs.html|emacs manual}}
classes/2008/fall/astro4001.001/installation.1224028047.txt.gz · Last modified: 2008/10/14 18:47 by heger