执行以下命令配置ww3参数,注意粗体部分。./model/bin/w3_setup model/
*****************************
*** WAVEWATCH III setup ***
*****************************
[INFO] local env file wwatch3.env created in /home/WW3-6.07.1/model/bin/wwatch3.env
Setup file /home/WW3-6.07.1/model/bin/wwatch3.env not found
Default set up :
Printer (listings) : printer
Auxiliary FORTRAN comp. : gfortran
Auxiliary C compiler : gcc
Scratch directory : /path/to/WAVEWATCH/WW3-6.07.1/model/tmp
Save sources : yes
Save listings : yes
Update settings ? [y/n] y
Creating new set-up :
Printer for listings [printer] :
Auxiliary FORTRAN compiler [gfortran] :flang
Auxiliary C compiler [gcc] :clang
Scratch space [/home/wdy/WW3-6.07.1/model/tmp] :
Save source code files (*.f) [yes] :
Save listing files [yes] :
Modified set up :
Printer (listings) : printer
Auxiliary FORTRAN comp. : flang
Auxiliary C compiler : clang
Scratch directory : /path/to/WAVEWATCH III/WW3-6.07.1/model/tmp
Save sources : yes
Save listings : yes
New settings OK ? [y/n] y
Setup makefile for auxiliary programs
……
Create required model subdirectories
Finished setting up WAVEWATCH III