栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

FreeFem++

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

FreeFem++

Installation FreeFem++ Ubuntu 20.04 安装命令

在https://doc.freefem.org/introduction/download.html下载Ubuntu对应的安装包

sudo apt-get install libgsl-dev libhdf5-dev liblapack-dev libopenmpi-dev freeglut3-dev\
sudo dpkg -i FreeFEM_VERSION_Ubuntu_withPETSc_amd64.deb

安装完运行结果

$ FreeFem++
FreeFem++ - version 4.6 (Thu Apr  2 15:47:38 CEST 2020 - git v4.6) 64bits
License: LGPL 3+ (https://www.gnu.org/licenses/lgpl-3.0.en.html)
Usage: FreeFem++ [FreeFEM arguments] filename [script arguments]
FreeFEM arguments:
	-f:     [filename]  script file name
	-v:     [verbosity] level of FreeFEM output (0 - 1000000)
	-nw:                no graphics
	-wg:                with graphics
	-ne:                no edp script output
	-cd:                change directory to script directory
	-cdtmp:             change directory to /tmp
	-jc:                just compile
	-ns:                same as -ne
	-nowait:            do not wait graphics at the end
	-nc:                without console (MS Windows only)
	-log:               with console (MS Windows only)
	-wait:              wait graphics at the end
	-fglut: [filename]  redirect graphics in file
	-glut:  [command]   use custom glut
	-gff:   [command]   use custom glut (with space quoting)
	-check_plugin [filename]        just try if the plugin is correct
	-?:                 show help

with default ffglut: ffglut

FreeFEM website: https://freefem.org/
FreeFEM documentation: https://doc.freefem.org/
FreeFEM forum: https://community.freefem.org/
FreeFEM modules: https://modules.freefem.org/

Please cite us in your research papers and add a link to FreeFEM on your personnal website
@article{FreeFEM,
	AUTHOR = {Hecht, F.},
	TITLE = {New development in FreeFem++},
	JOURNAL = {J. Numer. Math.},
	FJOURNAL = {Journal of Numerical Mathematics},
	VOLUME = {20}, YEAR = {2012},
	NUMBER = {3-4}, PAGES = {251--265},
	ISSN = {1570-2820},
	MRCLASS = {65Y15},
	MRNUMBER = {3043640},
	URL = {https://freefem.org/}
}

安装过程中的报错处理
$ FreeFem++
FreeFem++: error while loading shared libraries: libgfortran.so.4: cannot open shared object file: No such file or directory

解决方法

sudo apt-get install libgfortran4
$ FreeFem++
FreeFem++: error while loading shared libraries: libhdf5_serial.so.100: cannot open shared object file: No such file or directory

解决方法

sudo ln -s /usr/lib/x86_64-linux-gnu/libhdf5_serial.so.103 /usr/lib/x86_64-linux-gnu/libhdf5_serial.so.100

作用:link llibhdf5_serial.so.103 to libhdf5_serial.so.100

参考:
https://doc.freefem.org/introduction/installation.html
https://github.com/FreeFem/FreeFem-sources/issues/104
https://blog.csdn.net/weixin_39417324/article/details/111873678

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/940816.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号