How to install Net. CDF @ Macintosh Lion. Here, I would like to post how to install Net. CDF 3. 6. 3 and/or Net. CDF 4. 1. 3 in Macintosh Lion. Net. CDF (network Common Data Form) is an interface for array- oriented data access and a library that provides an implementation of the interface. It is useful when you want to read *. Most of the time Net. ![]() CDF requires zlib or slim and HDF5 libraries. I will show you how to install them too in my blog. It is important to finish job installation of HDF5 and zlib successfully. Therefore, I suggest you to install zlib and HDF5 before moving to Net. CDF installation process.@ i. I would like to write a fortran program which uses NetCDF. In order to do so, I have to have the netcdf-module somewhere on my harddisc, and tell my compiler where to. 2 Answers 2. You need to install the HDF5 libraries for your Linux distribution. In Ubuntu is: sudo apt-get install libhdf5-serial-dev netcdf-bin libnetcdf-dev. NetCDF Installation and Porting Guide. Data. For example, the above examples install the zlib, HDF5, and netCDF-4 libraries in /home/ed/local/lib. ![]() Mac Lion. I assumed that you have installed free “gfortran” compiler in your i. Mac. If you don’t know how to install gfortran in your i. Mac, please follow how to install gfortran first. Net. CDF 3 installation: This process is relatively easy compared to Net. CDF4. Net. CDF3 is enough if you want to read or write net. CDF format, but when it goes to the utilization of MPI you need Net. CDF4. Net. CDF3. 6. First I will show you to the step by step installing net. CDF3 @ i. Mac lion. Go to net. CDF website and download the source code of net. CDF3. http: //www. Usually mac automatically makes *tar. Open terminal and go to the place where you saved the *tar file. FC=gfortran. 5. export F7. F9. 0=gfortran. 7. CXX=g++8. export FFLAGS=’- O3′9. CDF source file *tar. Wait until finish. Net. CDF4 installation: 1. Download the 4. 1. URL (http: //www. FC=gfortran. 5. export F7. F9. 0=gfortran. 7. CFLAGS=’- O3′8. go to the folder where you extracted net. CDF source file *tar. Here you installed net. CDF file under /opt/netcdf. If you have different compilers such as “ifort” , you can later installed another net. CDF4 under different folder, let say “/opt/netcdf.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
October 2017
Categories |