||
A most easy way as following:
(1) git clone git://git.as.harvard.edu/bmy/GEOS-Chem-Libraries
(2) revised the install.h in the downloaded file
(3) the final install.h should be like the attachment
(4) ./install.h
(5) Noting:
Beauce all libraries are staticly installed, So when you complie the script , lingking by yourself. when compiling the script, i.g. a "preparation_for_Hg.F90", noting the oder of libraries.
gfortran -o run.exe preparation_for_Hg.F90 -L /usr/wangxun/nature_flux/lib/opt/gfortran/lib -lnetcdff -lnetcdf -lhdf5_hl -lhdf5 -lz -lm -I /usr/wangxun/nature_flux/lib/opt/gfortran/include/
Noting: you also can exlcude the static compiling in install netcdf.
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-12-24 20:38
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社