Computer linux partition:/2G/boot100M/home84G/usr10gdownload ncarg_src-4.4.2.tar.gz to/home/download/software/linuxtarxzvfncarg_src-4.4.2.tar.gzexportNCARG =/home/download/software/linux/ncarg-4.4.2exportFC = pgf90ex computer linux partition:
/2G
/Boot 100 M
/Home 84G
/Usr 10G
Download ncarg_src-4.4.2.tar.gz to/home/download/software/linux
Tar xzvf ncarg_src-4.4.2.tar.gz
Export NCARG =/home/download/software/linux/ncarg-4.4.2
Export FC = pgf90
Export CC = pgcc
./Configure-v
The lib library is as follows: /usr/lib64/usr/local/lib64/usr/local/hdf4.2/lib/usr/local/szlib/lib/home/software/pgi703/linux86-64/7.0-3/lib
Include: /usr/include/usr/local/hdf4.2/include/home/software/pgi703/linux86-64/7.0-3/include/home/software/pgi703/linux86-64 /7.0-3/include/CC
Replace LINUX with LINUX.64.PGI In the config directory
Modify Project under config
Add-lsz to # define HDFlib-lmfhdf-ldf-ljpeg-lz
Because I used the szlib library during hdf4.2 compilation.
Modify ncarview/src/lib/libncarg_ras/hdf. c
# Include Is # include
# Include Is # include
# Include Is # include
Because the three hdf4.2 files I installed are not in the hdf folder, but under/usr/local/hdf4.2/include.
Make Everything> make-output
Installation Complete
Test ncargex cpex08
Ctrans-d X11 cpex08.ncgm is successful.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service