开发者

how I can find out, which compiler I have used

I have installed NetCDF "binary-netcdf-4.0.1_gfortran_gfortran_c++.tar ". But I am not sure about the gf开发者_StackOverflow社区ortran compiler I have used. How can I find the compiler I have used?


Run gfortran -v to tell you which version you have.


Starting from netcdf 4.1, which uses pkg-config, you can do this:

$ nc-config  --all

This gives something like:

This netCDF 4.1.1 has been built with the following features: 
  --libs      -> -L/opt/local/lib -lnetcdf
  --fc        -> openmpif77
  --fflags    -> -O2 -m32 -I/opt/local/include
  --flibs     -> -L/opt/local/lib -lnetcdff -lnetcdf
  --has-f77   -> yes
  --has-f90   -> yes
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜