waves2Foam安装 2024年更新版本
-
@chenboyao 我的ThirdParty/settings文件中没找到-fPIC -Wno-argument-mismatch这样的语句,会不会是我gfortran版本的问题?我版本是11.4.0的,我看李老师给的教程里需要4.7版本,下面是我的报错信息logFile.txt 。
-
你得问题,主要是gfortran没装上,我试了一下,我这面能装上,也是2204,
下面是我的源
deb http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse # deb-src http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse # deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse # deb-src http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse # deb-src http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse deb http://archive.canonical.com/ubuntu/ jammy partner # deb-src http://archive.canonical.com/ubuntu/ jammy partner deb http://cn.archive.ubuntu.com/ubuntu/ xenial main deb http://cn.archive.ubuntu.com/ubuntu/ xenial universe deb http://mirrors.aliyun.com/ubuntu/ trusty main deb-src http://mirrors.aliyun.com/ubuntu/ trusty universe
在这个链接里面,写了如何安装老版本的fortran: https://www.cfd-china.com/topic/4196/ubuntu-20-04-安装-openfoam-v1712
另外我看你也是用的虚拟机。你还不如直接下载一个我装好的,你这卡了好几条了。现在个我那个15分钟就完事了。