- Timestamp:
- May 9, 2017, 3:46:27 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/documentation/install.html
r1442 r1556 14 14 <LI>as root</LI> 15 15 <DIV CLASS="codetxt">$ su</DIV> 16 <LI>install subversion, version control packa es</LI>16 <LI>install subversion, version control packages</LI> 17 17 <DIV CLASS="codetxt"># apt-get install subversion</DIV> 18 18 <LI>install GIT, different paradigm version control</LI> … … 23 23 24 24 <LI>get netcdf libraries tools and applications (cdo and nco are also installed maybe not required...)</LI> 25 <DIV CLASS="codetxt"># apt-get install netcdf-bin netcdf-dbg libnetcdf-dev netcdf-doc ncview cdo nco</DIV>25 <DIV CLASS="codetxt"># apt-get install netcdf-bin netcdf-dbg libnetcdf-dev netcdf-doc libnetcdff-dbg libnetcdff-dev libnetcdff-doc ncview cdo nco</DIV> 26 26 27 27 <LI>get hdf5</LI> … … 34 34 <DIV CLASS="codetxt"># apt-get install dvipng</DIV> 35 35 36 <LI>install netcdf4, python API interface to netCDF files</LI>36 <LI>install <A CLASS="la" HREF="http://unidata.github.io/netcdf4-python/">netcdf4</A>, python API interface to netCDF files</LI> 37 37 <OL> 38 38 <LI> Some new linux distributions (at least Debian >8) provide the netcdf4 API in the package systems:</LI> 39 39 <DIV CLASS="codetxt"># apt-get install python-netcdf4</DIV> 40 <LI> Otherwise, it can be manually done. Be careful with interferenc ies with anaconda (some issues on mixture of netcdf libraries have been detected).40 <LI> Otherwise, it can be manually done. Be careful with interferences with anaconda (some issues on mixture of netcdf libraries have been detected). Make sure, that if you use anaconda, that the netcdf libraries installed are with netcdf4 capabilities. 41 41 <UL> 42 42 <LI>Following <A CLASS="la" HREF="https://github.com/Unidata/netcdf4-python" TARGET="_blank">https://github.com/Unidata/netcdf4-python</A>)</LI> … … 66 66 $ ln -s Makefile.[machine].[compiler] ./Makefile 67 67 </DIV> 68 At the end one should have: 69 <PRE><CODE> 70 module_ForDiag.so 71 module_ForInt.so 72 </CODE></PRE> 73 68 <LI>In order to create a python 'library' from the fortran codes, one need to follow these steps (example for machine called `foudre')</LI> 69 <OL> 70 <LI>Preparing the fortran-python bridge of the `diagnostics' related module</LI> 71 <DIV CLASS="codetxt"> 72 $ f2py -m module_ForDiag -h module_ForDiag.pyf module_generic.F90 module_ForDiagnosticsVars.F90 module_ForDiagnostics.F90 >& run_f2py_ForDiag_wrapper.log 73 </DIV> 74 <LI>Creation of the binary objects of the Fortran codes</LI> 75 <DIV CLASS="codetxt"> 76 $ make 77 </DIV> 78 <LI>Creation of the fortran-python `diagnostics' related module</LI> 79 <DIV CLASS="codetxt"> 80 $ f2py -m module_ForDiag -c --f90exec=/usr/bin/gfortran-4.7 module_ForDiag.pyf module_generic.F90 module_ForDiagnosticsVars.F90 module_ForDiagnostics.F90 >& run_f2py_ForDiag_compile.log 81 </DIV> 82 <LI>Preparing the fortran-python bridge of the `interpolation' related module</LI> 83 <DIV CLASS="codetxt"> 84 $ f2py -m module_ForInt -h module_ForInt.pyf module_generic.F90 module_ForInterpolate.F90 >& run_f2py_ForInt_wrapper.log 85 </DIV> 86 <LI>Creation of the fortran-python `diagnostics' related module</LI> 87 <DIV CLASS="codetxt"> 88 $ f2py -m module_ForInt -c --f90exec=/usr/bin/gfortran-4.7 module_ForInt.pyf module_generic.F90 module_ForInterpolate.F90 >& run_f2py_ForInt_compile.log 89 </DIV> 90 <LI>At the end one should have: </LI> 91 <PRE><CODE> 92 module_ForDiag.so 93 module_ForInt.so 94 </CODE></PRE> 95 </OL> 74 96 </OL> 75 97
Note: See TracChangeset
for help on using the changeset viewer.