Changeset 1404 for trunk/UTIL/SPECTRA/readme
- Timestamp:
- Mar 31, 2015, 6:03:30 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/SPECTRA/readme
r1402 r1404 1 >>>> install (64b) spherepack 3.2 library with pgf902 (g95, ifort,gfortran... not possible yet)1 >>>> install spectra tool and spherepack 3.2 library with pgf90 or ifort 2 (g95,gfortran... not possible yet) 3 3 4 4 wget -c https://www2.cisl.ucar.edu/sites/default/files/spherepack3.2.tar … … 6 6 cd spherepack3.2 7 7 8 > install9 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../lib8 >>>> install spherepack 3.2 library 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 11 and replace by 12 F90 := pgf90 -r8 -module ../lib -I../lib12 F90 := pgf90 -r8 -module ../lib -I../lib 13 13 to run in double precision (better). 14 14 15 make all > log_install 2>&1 15 >for ifort: 16 change line 10 to 20 of make.inc 17 ifeq ($(PGI),pgf90-Warning-No files to process) 18 19 F90 := pgf90 -module ../lib -I../lib 20 CPP := pgf90 -E 21 22 else 23 24 F90 := g95 -DG95 -g -fmod=../lib -I../lib 25 CPP := g95 -E -DG95 26 27 endif 28 and replace by 29 F90 := ifort -r8 -module ../lib -I../lib 30 CPP := ifort -fpp 31 change line 16 of test/Makefile 32 $(F90) $< -o $@ -L../lib -l spherepack 33 and replace by 34 $(F90) $< -o $@ -L../lib -lspherepack 35 36 37 > make all > log_install 2>&1 16 38 17 39 > OK 'lib' ,... are in /planeto/milmd/library/spherepack/spherepack3.2_levan_pgf90 18 40 19 41 20 >>>> compile spectra_analysis program with pgf90 or g9542 >>>> compile spectra_analysis program with pgf90 or ifort 21 43 22 44 cd .. 23 45 24 46 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 47 netcdfpath=/planeto/milmd/library/netcdf/netcdf-4.0.1_levan_pgf90 (on levan) 48 netcdfpath=/smplocal/pub/NetCDF/4.1.3/seq (on ada) 49 netcdfpath=/usr/local (on gnome) 50 spherepackpath=/path/to/spherepack3.2 51 FC=pgf90 or ifort 28 52 29 53 make spectra_analysis 54 55 >>>>> test on some harmonic cases 56 57 > compile test program 58 make test_analysis 59 60 > create harmonic winds 61 ./test_analysis 62 63 > compute kinetic energy spectrum for one harmonic 64 ./spectra_analysis harmonic_64x48_lmdz_22.nc -alt none -time none -o harmonic_64x48_lmdz_22_spectra 65
Note: See TracChangeset
for help on using the changeset viewer.