source: trunk/UTIL/SPECTRA/readme @ 1403

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
4wget -c https://www2.cisl.ucar.edu/sites/default/files/spherepack3.2.tar
5tar -xvf spherepack3.2.tar
6cd spherepack3.2
7
8> install
9for pgf90, after discussion with Richard A. Valent (valent@ucar.edu), change line 12 of make.inc in spherepack3.2 folder:
10F90 := pgf90 -module ../lib -I../lib
11and replace by
12F90 := pgf90 -r8 -module ../lib -I../lib
13to run in double precision (better).
14
15make 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
22cd ..
23
24change the first 3 lines of the makefile: path of spherepack library you have just installed, path of netcdf libray, compiler
25netcdfpath=/planeto/milmd/library/netcdf/netcdf-4.0.1_levan_pgf90
26spherepackpath=/planeto/milmd/library/spherepack/spherepack3.2_levan_pgf90
27FC=pgf90
28
29make spectra_analysis
Note: See TracBrowser for help on using the repository browser.