当前位置:网站首页>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源码
// 这个等我看完模糊度固定再添加
边栏推荐
- (课设第一套)1-5 317号子任务 (100 分)(Dijkstra:重边自环)
- 记一次云服务器被密码爆破的经历——关小黑屋、改密码、改端口
- Combination of fairygui check box and progress bar
- Learning notes of JS variable scope and function
- Game 280 weekly
- Unity3D基础入门之粒子系统(属性介绍+火焰粒子系统案例制作)
- 燕山大学校园网自动登录问题解决方案
- FairyGUI人物状态弹窗
- MySQL error warning: a long semaphore wait
- It has been solved by personal practice: MySQL row size too large (> 8126) Changing some columns to TEXT or BLOB or using ROW_ FORMAT
猜你喜欢

Générateur d'identification distribué basé sur redis

Mysql database index

NovAtel 板卡OEM617D配置步骤记录

Prove the time complexity of heap sorting

(五)R语言入门生物信息学——ORF和序列分析

Easy to use shortcut keys in idea

数据库课程设计:高校教务管理系统(含代码)

Classification, understanding and application of common methods of JS array

FairyGUI按钮动效的混用

idea中导包方法
随机推荐
Idea problem record
[Nodejs] 20. Koa2 onion ring model ----- code demonstration
Common DOS commands
[Offer29] 排序的循环链表
MySQL error warning: a long semaphore wait
Design and implementation of general interface open platform - (39) simple and crude implementation of API services
Learning notes of JS variable scope and function
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
KF UD分解之伪代码实现进阶篇【2】
2021.11.10汇编考试
[offer78]合并多个有序链表
Guided package method in idea
FairyGUI人物状态弹窗
(课设第一套)1-5 317号子任务 (100 分)(Dijkstra:重边自环)
SVN更新后不出现红色感叹号
Prove the time complexity of heap sorting
341. Flatten nested list iterator
Containers and Devops: container based Devops delivery pipeline
Unity3d makes the registration login interface and realizes the scene jump
Solution to the problem of automatic login in Yanshan University Campus Network