w*****3 发帖数: 910 | 1 准备compile CMAQ 一个大气模型软件。
里面的module 指明用PGI or Intel Fortran 。
Requirements: I/O API & netCDF libs, CVS, and PGI or Intel Fortran
但这两个fortran compiler 都不免费。
想用GNU gfortran 但是module中 Flags参数不一样。
#> Portland Group 9.01 Fortran Compiler Flags
#set FSTD = "-Mfixed -Mextend"
#set LINK_FLAGS = "-Bstatic"
#> Intel Fortran 10.1 Compiler Flags
set FSTD = "-extend_source 132 -vec-report0 -cm -w95 -c"
set LINK_FLAGS = "-liomp5 -lpthread -Bstatic"
不知道有哪位高手可以指点一下。
多谢了 |
k****5 发帖数: 546 | 2 大气模型软件需要cluster吧。是cluster,一定会预装pgi,intel.
如果自己编译玩玩:
intel v12 is free for academic.
if use gfortran, understand each options first, then find matching ones in
gfortran. check manpages. 如果linking library 出问题,需要gcc 再编译一下。
大气模型软件一般会用mpi, 用mpicc编译就行了。看看mpicc -compile-info 信息,确
定编译mpi的compiler 是gcc. |
r*********w 发帖数: 119 | 3 intel fortran 是免费的吧?正在用。 |
w*****3 发帖数: 910 | |
s******b 发帖数: 653 | |