Changeset 1709 in lmdz_wrf for trunk/tools/documentation
- Timestamp:
- Dec 11, 2017, 6:24:49 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/documentation/install.html
r1708 r1709 62 62 <LI>Now all the scripts are held in ${HOME}/PyNCplot. It might be desirable to set an environment variable to make life easier: 63 63 <DIV CLASS="codetxt">$ export pyHOME=${HOME}/PyNCplot</DIV> 64 <LI>Finally one need to compile the Fortran modules using the same python to run the scripts. This is done using a standard `Makefile' and the tool <A CLASS="la" HREF="https://docs.scipy.org/doc/numpy-dev/f2py/" TARGET="_blank">f2py</A> to link Fortran compiled codes to python. There are different versions for different LMD/IPSL and French HPC machines. For a standard linux 64-bits machine (debain 9 with gcc compilers) there is one example as `Makefile. rayo'. Take one and specify a series of different variables specifically for the given machine64 <LI>Finally one need to compile the Fortran modules using the same python to run the scripts. This is done using a standard `Makefile' and the tool <A CLASS="la" HREF="https://docs.scipy.org/doc/numpy-dev/f2py/" TARGET="_blank">f2py</A> to link Fortran compiled codes to python. There are different versions for different LMD/IPSL and French HPC machines. For a standard linux 64-bits machine (debain 9 with gcc compilers) there is one example as `Makefile.llamp'. Take one and specify a series of different variables specifically for the given machine 65 65 <DIV CLASS="codetxt"> 66 FC = gfortran # Fortran compiler 67 F2PY = /usr/bin/f2py # Path to the f2py tool 68 NCLIBFOLD = /usr/lib/x86_64-linux-gnu # Path to netcdf libraries 69 NCINCFOLD = /usr/include # Path to netcdf includes 66 FC = gfortran # Fortran compiler<BR> 67 F2PY = /usr/bin/f2py # Path to the f2py tool<BR> 68 NCLIBFOLD = /usr/lib/x86_64-linux-gnu # Path to netcdf libraries<BR> 69 NCINCFOLD = /usr/include # Path to netcdf includes<BR> 70 70 </DIV> 71 71 <LI>Then one only needs to link the Makefile and compile</LI> … … 76 76 <LI>At the end one should have: </LI> 77 77 <UL> 78 <LI><PRE><CODE>DistriCorrection</CODE></PRE> :Complete fortran program to correct data by moving values within quantiles of the distribution</LI>79 <LI><PRE><CODE>interpolate</CODE></PRE> :Complete fortran program to interpolate data using nearest-neighbors and weighted distances</LI>80 <LI><PRE><CODE>module_ForDef.so</CODE></PRE> :python-callable package of fortran's definitions of variables</LI>81 <LI><PRE><CODE>module_ForDistriCorrect.so</CODE></PRE> :python-callable package of fortran's correction of the distribution by moving values within quantiles of the distribution</LI>82 <LI><PRE><CODE>module_ForSci.so</CODE></PRE> :python-callable package of fortran's scientific/mathematical all purpose functions</LI>83 <LI><PRE><CODE>module_ForDiag.so</CODE></PRE> :python-callable package of fortran's computation of meteorological diagnostics</LI>84 <LI><PRE><CODE>module_ForInt.so</CODE></PRE> :python-callable package of fortran's interpolation subroutines</LI>85 <LI><PRE><CODE>trajectories_overlap</CODE></PRE> :Complete fortran program to define enclosed regions on a given 2D field and compute their trajectories following a maximum-overlaping criteria</LI>78 <LI><PRE><CODE>DistriCorrection</CODE></PRE> Complete fortran program to correct data by moving values within quantiles of the distribution</LI> 79 <LI><PRE><CODE>interpolate</CODE></PRE> Complete fortran program to interpolate data using nearest-neighbors and weighted distances</LI> 80 <LI><PRE><CODE>module_ForDef.so</CODE></PRE> python-callable package of fortran's definitions of variables</LI> 81 <LI><PRE><CODE>module_ForDistriCorrect.so</CODE></PRE> python-callable package of fortran's correction of the distribution by moving values within quantiles of the distribution</LI> 82 <LI><PRE><CODE>module_ForSci.so</CODE></PRE> python-callable package of fortran's scientific/mathematical all purpose functions</LI> 83 <LI><PRE><CODE>module_ForDiag.so</CODE></PRE> python-callable package of fortran's computation of meteorological diagnostics</LI> 84 <LI><PRE><CODE>module_ForInt.so</CODE></PRE> python-callable package of fortran's interpolation subroutines</LI> 85 <LI><PRE><CODE>trajectories_overlap</CODE></PRE> Complete fortran program to define enclosed regions on a given 2D field and compute their trajectories following a maximum-overlaping criteria</LI> 86 86 </CODE></PRE> 87 87 </OL>
Note: See TracChangeset
for help on using the changeset viewer.