|
Last change
on this file since 1403 was
1402,
checked in by milmd, 11 years ago
|
|
Tool to compute kinetic energy spectrum with spherepack library.
|
|
File size:
954 bytes
|
| Line | |
|---|
| 1 | >>>> install (64b) spherepack 3.2 library with pgf90 |
|---|
| 2 | (g95,ifort,gfortran... not possible yet) |
|---|
| 3 | |
|---|
| 4 | wget -c https://www2.cisl.ucar.edu/sites/default/files/spherepack3.2.tar |
|---|
| 5 | tar -xvf spherepack3.2.tar |
|---|
| 6 | cd spherepack3.2 |
|---|
| 7 | |
|---|
| 8 | > install |
|---|
| 9 | for pgf90, after discussion with Richard A. Valent (valent@ucar.edu), change line 12 of make.inc in spherepack3.2 folder: |
|---|
| 10 | F90 := pgf90 -module ../lib -I../lib |
|---|
| 11 | and replace by |
|---|
| 12 | F90 := pgf90 -r8 -module ../lib -I../lib |
|---|
| 13 | to run in double precision (better). |
|---|
| 14 | |
|---|
| 15 | make all > log_install 2>&1 |
|---|
| 16 | |
|---|
| 17 | > OK 'lib' ,... are in /planeto/milmd/library/spherepack/spherepack3.2_levan_pgf90 |
|---|
| 18 | |
|---|
| 19 | |
|---|
| 20 | >>>> compile spectra_analysis program with pgf90 or g95 |
|---|
| 21 | |
|---|
| 22 | cd .. |
|---|
| 23 | |
|---|
| 24 | change the first 3 lines of the makefile: path of spherepack library you have just installed, path of netcdf libray, compiler |
|---|
| 25 | netcdfpath=/planeto/milmd/library/netcdf/netcdf-4.0.1_levan_pgf90 |
|---|
| 26 | spherepackpath=/planeto/milmd/library/spherepack/spherepack3.2_levan_pgf90 |
|---|
| 27 | FC=pgf90 |
|---|
| 28 | |
|---|
| 29 | make spectra_analysis |
|---|
Note: See
TracBrowser
for help on using the repository browser.