#Intel编译器编译C和C++源程序的编译命令分别为icc和icpc
export DIR=/public/home/fjhyt/Chenjq/software/for_adcirc/
export CC=icc
export CXX=icpc
export FC=ifort
export PFC=mpif90
export FCFLAGS=-m64
export F77=ifort
export FFLAGS=-m64
export JASPERLIB=$DIR/bin/lib
export JASPERINC=$DIR/bin/include
export LDFLAGS=-L$DIR/bin/lib
export CPPFLAGS=-I$DIR/bin/include
zlib,libpng,jasper
./configure --prefix=$DIR/bin
make
make install
cd ..
netcdf-4.1.3
./configure --prefix=$DIR/netcdf --disable-dap --disable-netcdf-4 --disable-shared --enable-fortran
make
make install
export PATH=$DIR/netcdf/bin:$PATH
export NETCDF=$DIR/netcdf