当前位置:网站首页>PRIDE-PPPAR源码解析
PRIDE-PPPAR源码解析
2022-07-06 09:18:00 【Proletarians】
1、安装PRIDE—PPPAR
了解这个软件是刷知乎(ID:迷途小书童),武大的大地测量博士写的文章中介绍了该软件,我是在看了他文章的基础上,经过实践而来的。
武汉大学PRIDE课题组开源了PPPAR,可以在其官网或者GitHub上找到下载链接。手册里详细介绍了软件的安装步骤、代码框架、各个步骤产生文件的释义,看完手册,觉得我行了,我可以入手了。
(1)在Windows下安装vm虚拟机,在虚拟机上安装Ubuntu系统,检查编译器是否安装。
(2)按照手册在终端中打开对应路径下的*.sh文件即可。只需要执行两步*.sh文件就可以生成结果过程文件了。
超级方便~比以前装GAMIT简单多了
2、PRIDE-PPPAR源码使用
作为一个算法工作者,最关心的就是src文件夹里的东东了。每个文件夹对应的都是一个program,n个subprogram。
分享一下我看源码的心得。
(1)一定要先看源码框架图,结合手册的第4部分的框架图和src文件夹,就知道框架图的加粗函数名就是主程序program,找到对应的文件夹和文件,比如Tedit,就去找src中的Tedit文件夹,在Tedit文件夹中去找tedit.f90文件即可;
(2)需要掌握一下基本的Fortran语法,语法不一定需要精通,但需要熟悉其用法,我简单的看了一个文件,发现不知道%、::等用法,我就去找Fortran资料,其实在掌握了其他语言的基础上,再学其他语言挺快的。我查了资料发现,中国科学技术大学的Fortran课件很好(http://micro.ustc.edu.cn/Fortran/ZJDing/),直接去看了数据结构,需要哪方面内容就去找哪方面,有的放矢,不浪费时间。
(3)根据手册建议,安装了codeblocks(设置了一下编辑器护眼色,字号字体),直接打开源码的.cbp文件;如果有时候看源码发现函数没有具体实现(函数接口),那是因为被封装起在动态链接库so库里了,可以使用readelf -a so文件路径就可以在Windows下查到函数接口了。
(4)最重要的是,要有PPP基本理论基础!
3、解析PRIDE-PPPAR源码
// 这个等我看完模糊度固定再添加
边栏推荐
- Learning notes of JS variable scope and function
- Theoretical derivation of support vector machine
- It has been solved by personal practice: MySQL row size too large (> 8126) Changing some columns to TEXT or BLOB or using ROW_ FORMAT
- Minio文件下载问题——inputstream:closed
- 关于Gateway中使用@Controller的问题
- Naive Bayesian theory derivation
- Conditional probability
- (1) Introduction Guide to R language - the first step of data analysis
- [offer9]用两个栈实现队列
- Derivation of logistic regression theory
猜你喜欢

编译原理:源程序的预处理及词法分析程序的设计与实现(含代码)

單片機藍牙無線燒錄

The service robots that have been hyped by capital and the Winter Olympics are not just a flash in the pan

The master of double non planning left the real estate company and became a programmer with an annual salary of 25W. There are too many life choices at the age of 25

Compilation principle: preprocessing of source program and design and implementation of lexical analysis program (including code)

Unity场景跳转及退出

Fairygui gain buff value change display

First use of dosbox

FairyGUI循環列錶
![Intermediate use tutorial of postman [environment variables, test scripts, assertions, interface documents, etc.]](/img/b0/176bf6dea2201afc892d6750c5974b.png)
Intermediate use tutorial of postman [environment variables, test scripts, assertions, interface documents, etc.]
随机推荐
InnoDB dirty page refresh mechanism checkpoint in MySQL
Unity3d camera, the keyboard controls the front and rear left and right up and down movement, and the mouse controls the rotation, zoom in and out
Flink late data processing (3)
idea问题记录
JUC forkjoin and completable future
1041 be unique (20 points (s)) (hash: find the first number that occurs once)
(the first set of course design) sub task 1-5 317 (100 points) (dijkstra: heavy edge self loop)
NovAtel 板卡OEM617D配置步骤记录
FGUI工程打包发布&导入Unity&将UI显示出来的方式
Classification, understanding and application of common methods of JS array
Remember an experience of ECS being blown up by passwords - closing a small black house, changing passwords, and changing ports
Solution to the problem of automatic login in Yanshan University Campus Network
[leetcode622] design circular queue
Mixed use of fairygui button dynamics
音乐播放(Toggle && PlayerPrefs)
There is no red exclamation mark after SVN update
FairyGUI簡單背包的制作
(五)R语言入门生物信息学——ORF和序列分析
Force buckle 1189 Maximum number of "balloons"
Esp8266 connect onenet (old mqtt mode)