omp版本swan linux netcdf
export CC=gcc
export CXX=g++
export FC=gfortran
export F77=gfortran
export F90=gfortran
perl switch.pl -unix -pun -netcdf
make config
nf –config --all 查看netcdf fortran库安装位置
Fflags 写在FLAGS_SER后面
Flibs 写在else Libs_ser后面
–prefix 写在netcdfroot后
Make omp
chmod +x swanrun swan.exe