FreeHand compile » History » Version 1
Amber Herold, 08/24/2012 12:10 PM
| 1 | 1 | Amber Herold | |
|---|---|---|---|
| 2 | h1. Compiling Fast free-hand |
||
| 3 | |||
| 4 | *Attached to this posting there are five scripts:* |
||
| 5 | * f90c_ubuntu64simple.csh - Compile modern Fortran programs with the gfortran compiler while linking to image2010 libraries and the FFTW library |
||
| 6 | * f90c_ubuntu64.csh - Alternate flavor of compiler |
||
| 7 | * fspace_subsandfuncs_modules_v1_01.f90 - Library of functions utilized by compiling script. Required to be within working directory when running f90c_ubuntu64simple.csh |
||
| 8 | * fastfreehand_v1_01.f90 - Fortran script for Fast free-hand test. Compiles into fastfreehand_v1_01.exe |
||
| 9 | * totsumstack.f90 - Fortran script for calculating the average image for an .mrc stack of particles |
||
| 10 | |||
| 11 | h2. Compiling instructions |
||
| 12 | |||
| 13 | *1.* Copy the attached scripts to your working directory. |
||
| 14 | |||
| 15 | *2.* Open and edit lines 47 - 49 of f90c_ubuntu64simple.csh to include the path to the following MRC library commands: |
||
| 16 | |||
| 17 | <code>47: /usr/local/image2010/lib/imlib2010.a </code> |
||
| 18 | <code>48: /usr/local/image2010/lib/misclib.a </code> |
||
| 19 | <code>49: /usr/local/image2010/lib/genlib.a </code> |
||
| 20 | |||
| 21 | *3.* Compile: |
||
| 22 | |||
| 23 | <code>./f90c_ubuntu64simple.csh fastfreehand_v1_01.f90</code> |
||
| 24 | <code>./f90c_ubuntu64simple.csh totsumstack.f90 </code> |
||
| 25 | |||
| 26 | These will compile into _fastfreehand_v1_01.exe_ and _totsumstack.exe_, respectively. |