Installing ncview

From GHER

Jump to: navigation, search

-

download latest source from http://www.unidata.ucar.edu/downloads/netcdf/index.jsp

- gzip -d ncview-1.93c.tar.gz

- tar -xvf ncview-1.93c.tar

- F77=/u/software/intel/fce/9.1.040/bin/ifort - CC=/u/software/intel/cce/9.1.045/bin/icc

- tips from http://www.unidata.ucar.edu/software/netcdf/docs/other-builds.html#linux_ifort

CPPFLAGS="-fPIC -DpgiFortran" FFLAGS='-i-static' LC_ALL=C

- si pas SuperUser: ├ęditer le .bash_profile

XAPPLRESDIR= /u/ctroupin/.app-defaults


- cd ncview/

- ./configure --prefix=/u/ctroupin --with-netcdf_incdir= /u/ctroupin/Lib/netcdf-3.6.2/include --with-netcdf_libdir= /u/ctroupin/Lib/netcdf-3.6.2/lib

- make

--> "si error Linux Fortran compiler: libimf.so" --> ajouter lignes suivantes au .bash_profile

LD_LIBRARY_PATH="/u/software/intel_fce_9.1/lib/:$LD_LIBRARY_PATH" export LD_LIBRARY_PATH

- make install

- test simple: ncview name_of_a_netcdf_file.nc


Personal tools