GAMIT安装报错:Type mismatch / Rank mismatch
在进行GAMIT10.71安装时,遇到报错:
Type mismatch between actual argument at (1) and actual argument at (2)..(省略)
不知道什么原因,查阅资料,根据博主 MrXun_ 的文章 在Linux下安装软件常见的BUG
于是编辑了Makefile.config文件
(我使用的系统是ubuntu22.04)因此在文件对应ubuntu系统编译选项的部分,添加了参数
"-fallow-argument-mismatch"
重新编译没有相同的报错,但是遇到新的报错:
Rank mismatch between actual argument at (1) and actual argument at (2)..(省略)
说明添加参数的办法不能完全解决,于是考虑是编译器版本的问题,在命令行输入
gfortran -v #查看gortran版本
gcc -v #查看gcc版本
发现版本均为11.xx,对比曾经成功安装的服务器上的版本为9.xx,因此认为是gcc、gfortran版本过高导致编译出问题。
解决步骤:
1.在命令行输入以下命令,下载9.xx版本的gcc、gfortran
sudo apt-get install gcc-9
sudo apt-get install gfortran-9
2.继续输入命令,调整编译器默认使用的版本
#调整gcc-11的优先级为40,gcc-9的优先级为100
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 40
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 100#调整gfortran-11的优先级为40,gfortran-9的优先级为100
sudo update-alternatives --install /usr/bin/gfortran gfortran /usr/bin/gfortran-11 40
sudo update-alternatives --install /usr/bin/gfortran gfortran /usr/bin/gortran-9 100
3.重新编译,结果编译无报错,安装成功。
GAMIT安装报错:Type mismatch / Rank mismatch相关推荐
- 报错:libtool: Version mismatch error. This is libtool 2.4.6解决
报错:libtool: Version mismatch error. This is libtool 2.4.6, but the definition of this LT_INIT解决: # a ...
- NTL-NTL安装报错
NTL-NTL安装报错 GMP version check (6.1.2/6.1.0) *** version number mismatch: inconsistency between gmp.h ...
- k8s使用glusterfs存储报错type 'features/utime'
k8s使用glusterfs存储报错type 'features/utime' is not valid or not found on this machine pods报错如下 Events:Ty ...
- win7 AnkhSVN 安装报错
win7 AnkhSVN 安装报错 重装系统后,需要安装AnkhSVN,结果一直报如下错误 An error occurred during the installation of assembly& ...
- tensorflow安装 报错ConnectionResetError(10054, ‘远程主机强迫关闭了一个现有的连接。
@创建于:20210325 @修改于:20210325 文章目录 1.安装报错: 1.1 报错信息 1.2 解决办法 2.再次报错 2.1 报错信息 2.2 尝试办法(未成功) 2.3 尝试办法[成功 ...
- R安装WGCNA包(MacOS M1芯片)及impute包安装报错的解决方法【已成功】
R安装WGCNA包(MacOS M1芯片) WGCNA R安装WGCNA包 安装impute时的错误 impute包安装报错的解决方法 WGCNA 加权基因共表达网络分析 (WGCNA, Weight ...
- 【转载】Python3.6安装报错 configure: error: no acceptable C compiler found in $PATH
安装python的时候出现如下的错误: [root@master ~]#./configure --prefix=/usr/local/python3.6 checking build system ...
- php python uwsgi,python,uwsgi_uwsgi 安装报错,python,uwsgi - phpStudy
uwsgi 安装报错 pip install uwsgi 失败 Collecting uwsgi Using cached uwsgi-2.0.13.1.tar.gz Installing colle ...
- GlusterFS 安装报错汇总
GlusterFS 安装报错汇总 1. Mounting glusterfs on /mnt/gluster0 failed. [root@instance-bt783gwn ~]# mount -t ...
最新文章
- 一场稳定、高清、流畅的大型活动直播是怎么炼成的?
- 信号与系统 chapter11 LTI系统的响应
- state的简写方式
- springbatch读取文件_通过例子讲解Spring Batch入门,优秀的批处理框架
- bzoj 3393 bzoj 1644: [Usaco2007 Oct]Obstacle Course 障碍训练课(BFS)
- Redis 持久化 RDB 详解
- 米思齐 Mixly 解决函数模块无法上下连接。
- WIndows禁用笔记本键盘
- WIN10专业版无法隐藏任务栏图标
- win10 添加打印机完整图文教程演示
- 无法访问此页面,确保web地址正确?
- 大数据工程师面试考题
- 【韧性设计】韧性设计模式:重试、回退、超时、断路器
- 用计算机弹生僻字乐谱,【计算器乐谱】抖音生僻字计算器乐谱 抖音生僻字计算器数字简谱...
- 2021年软考科目怎么选?
- 数据计量单位的换算关系
- kafka消费指定分区数据
- Monaco Editor
- 迈克尔逊干涉仪和光学计量学
- 写在2014年7月2日
热门文章
- Excel表格数据导入
- yii2 aliases web.php,别名(Aliases) - Yii2 权威指南
- 人体神经系统结构图高清,人体神经系统全貌图片
- 牛客网刷题day21
- OPCUA 复杂服务器对应的Python客户端(回调与方法)
- MAC笔记本破解ZIP压缩的文件密码
- mysql数据库读取数据,教你如何从 MySQL 数据库读取数据
- 如何编写出优秀的代码
- mysql图形查询操作 点找面及面找点 Polygon获取中心点坐标 空间地理位置计算
- 周信东c语言实验二实验报告,实验三 循环结构程序设计参考答案