安装FVCOM

这篇博客详细介绍了如何安装FVCOM,包括从官网下载最新版FVCOM4.1,准备相关环境,解压缩文件,修改配置文件,处理编译问题,直至最终成功生成nc文件的过程。
摘要由CSDN通过智能技术生成

最近在学FVCOM,希望有什么问题大家留言互相讨论!谢谢!
FVCOM在官网上可以下载到的,申请一下过几天就会发邮件告知你可以下载的。我下载的是最新的FVCOM4.1
1 准备工作,确定这些是否安装。

[gq@localhost ~]$ su root
密码:
[root@localhost gq]# which icc
/opt/intel/composer_xe_2013_sp1.1.106/bin/intel64/icc
[root@localhost gq]# which ifort
/opt/intel/composer_xe_2013_sp1.1.106/bin/intel64/ifort
[root@localhost gq]# which icpc
/opt/intel/composer_xe_2013_sp1.1.106/bin/intel64/icpc
[root@localhost gq]# which mpicc
/opt/openmpi/1.6.5/intel/bin/mpicc
[root@localhost gq]# which mpif90
/opt/openmpi/1.6.5/intel/bin/mpif90

2 创建一个工作目录放入FVCOM文件并且解压缩(解压缩文件这位大神解释的很清楚 https://www.jianshu.com/p/3d9effeef575)

[root@localhost gq]# cd ~
[root@localhost ~]# mkdir work
[root@localhost ~]# cd work
[root@localhost work]# dir
fvcom-4.1.tar.gz
[root@localhost work]# tar -xvf  fvcom-4.1.tar.gz

3 进入FVCOM文件夹

[root@localhost work]# dir
FVCOM4.1  fvcom-4.1.tar.gz
[root@localhost work]# cd FVCOM4.1
[root@localhost FVCOM4.1]# dir
Configure  FVCOM_offlines  GOTM_source	    Pre-processing
Doc	   FVCOM_source    METIS_source     User-contributed-programs
Examples   GOTM_inputs	   Post-processing
[root@localhost FVCOM4.1]# ll
总用量 12
drwxr-xr-x.  3 root root   62 12月 20 15:22 Configure
drwxr-xr-x.  2 root root   92 12月 20 15:22 Doc
drwxr-xr-x. 11 root root  157 12月 20 15:22 Examples
drwxr-xr-x.  6 root root   64 12月 20 15:22 FVCOM_offlines
drwxr-xr-x.  8 root root 8192 12月 20 15:22 FVCOM_source
drwxr-xr-x.  2 root root   55 12月 20 15:22 GOTM_inputs
drwxr-xr-x.  2 root root   40 12月 20 15:22 GOTM_source
drwxr-xr-x.  2 root root   23 12月 20 15:22 METIS_source
drwxr-xr-x.  3 root root   28 12月 20 15:22 Post-processing
drwxr-xr-x.  6 root root  134 12月 20 15:23 Pre-processing
drwxr-xr-x.  3 root root   20 12月 20 15:23 User-contributed-programs
[root@localhost FVCOM4.1]# 

4 进入河口案例的make.inc,可以看看,这个案例已经写好的了

    [root@localhost FVCOM4.1]# ls Examples/
    cohesive_bed  Estuary    Inlets  Lock-Exchange  Sea ice
    dike_groyne   fluid_mud  KFs     River plume
    [root@localhost FVCOM4.1]# cd Estuary
    bash: cd: Estuary: 没有那个文件或目录
    [root@localhost FVCOM4.1]# cd Examples/Estuary
    [root@localhost Estuary]# ll
 
  • 4
    点赞
  • 28
    收藏
    觉得还不错? 一键收藏
  • 11
    评论
评论 11
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值