| | 30 | or |
|---|
| | 31 | |
|---|
| | 32 | /usr |
|---|
| | 33 | |
|---|
| | 34 | 3) HC_HOME: By default, the object files and binaries will be |
|---|
| | 35 | installed in the "objects/" and "bin/" directories in the current |
|---|
| | 36 | directory. If HC_HOME is set (e.g. /usr/local/), then they will |
|---|
| | 37 | be installed in $HC_HOME/objects and $HC_HOME/bin. |
|---|
| | 38 | |
|---|
| | 39 | 4) ARCH: If you like, you can put the object files and binaries in |
|---|
| | 40 | different directories depending on your architecture. This may be |
|---|
| | 41 | useful if your directories are NFS mounted on different machines. |
|---|
| | 42 | One way is to use the output of uname |
|---|
| | 43 | |
|---|
| | 44 | setenv ARCH `uname -m | gawk '{print(tolower($1))}'` # sh/tcsh |
|---|
| | 45 | export ARCH=`uname -m | gawk '{print(tolower($1))}'` # bash |
|---|
| | 46 | |
|---|
| | 47 | On a 32 bit Intel machine, this will put the binaries in bin/i686. |
|---|
| | 48 | |
|---|
| 34 | | F77, CFLAGS, LD, and LDFLAGS. |
|---|
| 35 | | |
|---|
| 36 | | One common problem is the interface of the ggrd_ subroutines with |
|---|
| 37 | | GMT. By default, the Makefile is set up for the old syntac of GMT |
|---|
| 38 | | version 3.4.5. The other alternative is to use 4.1.2 and upward (note |
|---|
| 39 | | that there were changes between 4.0 and 4.1.2). If you have GMT newer |
|---|
| 40 | | or equal to 4.1.2, uncomment the two corresponding lines in the |
|---|
| 41 | | Makefile. |
|---|
| | 50 | F90, CFLAGS, LD, and LDFLAGS. So to make static executables, set |
|---|
| | 51 | LDFLAGS="-static" |
|---|
| | 52 | |
|---|
| | 53 | By default, the Makefile is set up for the new syntax of GMT version |
|---|
| | 54 | 4.1.2 and higher. The alternative is to use GMT3, which can be done by |
|---|
| | 55 | defining -DUSE_GMT3 and modifying the two corresponding lines in the |
|---|
| | 56 | Makefile.include. |
|---|
| 71 | | -dens name use name as a SH density anomaly model (dens.sh.dat) |
|---|
| 72 | | All density anomalies are in units of 1% of PREM, all SH coefficients in Dahlen & Tromp convention. |
|---|
| 73 | | -dshs use the short, Becker & Boschi (2002) format for the SH density model (OFF) |
|---|
| 74 | | -ds density scaling factor (0.2) |
|---|
| 75 | | -dsf file read depth dependent density scaling from file |
|---|
| 76 | | (overrides -ds, OFF), use pdens.py to edit |
|---|
| | 96 | -dens name use name as a SH density anomaly model (dens.sh.dat) |
|---|
| | 97 | All density anomalies are in units of 1% of PREM, all SH coefficients |
|---|
| | 98 | in Dahlen & Tromp convention. |
|---|
| | 99 | -dshs use the short, Becker & Boschi (2002) format for the SH density model (OFF) |
|---|
| | 100 | -ds density scaling factor (0.2) |
|---|
| | 101 | -dnp do not scale density anomalies with PREM but rather mean density (OFF) |
|---|
| | 102 | -dsf file read depth dependent density scaling from file |
|---|
| | 103 | (overrides -ds, OFF), use pdens.py to edit |
|---|
| 79 | | -prem name set Earth model to name (/home/walter/becker/progs/src/hc-svn/prem/prem.dat) |
|---|
| 80 | | -vf name viscosity structure filename (visc.dat), use pvisc.py to edit |
|---|
| 81 | | This file is in non_dim_radius viscosity[Pas] format |
|---|
| | 106 | -prem name set Earth model to name (prem/prem.dat) |
|---|
| | 107 | -vf name viscosity structure filename (visc.dat), use pvisc.py to edit |
|---|
| | 108 | This file is in non_dim_radius viscosity[Pas] format |
|---|
| | 109 | if name is "visc_scan", will loop through a four layer viscosity scan |
|---|
| 84 | | -fs perform free slip computation (ON) |
|---|
| 85 | | -ns perform no slip computation (OFF) |
|---|
| 86 | | -pvel name set prescribed surface velocities from file name (OFF) |
|---|
| 87 | | The file (e.g. pvel.sh.dat) is based on a DT expansion of cm/yr velocity fields. |
|---|
| | 112 | -fs perform free slip computation (ON) |
|---|
| | 113 | -ns perform no slip computation (OFF) |
|---|
| | 114 | -pvel name set prescribed surface velocities from file name (OFF) |
|---|
| | 115 | The file (e.g. pvel.sh.dat) is based on a DT expansion of cm/yr velocity fields. |
|---|
| 90 | | -ng do not compute and print the geoid (OFF) |
|---|
| 91 | | -pptsol print pol[6] and tor[2] solution vectors (OFF) |
|---|
| 92 | | -px print the spatial solution to file (OFF) |
|---|
| 93 | | -rtrac compute srr,srt,srp tractions [MPa] instead of velocities [cm/yr] (default: vel) |
|---|
| 94 | | -htrac compute stt,stp,spp tractions [MPa] instead of velocities [cm/yr] (default: vel) |
|---|
| 95 | | -v -vv -vvv: verbosity levels (0) |
|---|
| | 118 | -ng do not compute and print the geoid (1) |
|---|
| | 119 | -ag compute geoid at all layer depths, as opposed to the surface only |
|---|
| | 120 | -rg name compute correlation of surface geoid with that in file "name", |
|---|
| | 121 | this will not print out the geoid file, but only correlations (OFF) |
|---|
| | 122 | -pptsol print pol[6] and tor[2] solution vectors (OFF) |
|---|
| | 123 | -px print the spatial solution to file (OFF) |
|---|
| | 124 | -rtrac compute srr,srt,srp tractions [MPa] instead of velocities [cm/yr] (default: vel) |
|---|
| | 125 | -htrac compute stt,stp,spp tractions [MPa] instead of velocities [cm/yr] (default: vel) |
|---|
| | 126 | -v -vv -vvv: verbosity levels (0) |
|---|
| | 127 | |
|---|
| | 128 | |
|---|