Conversation
| SUBS = fft.o Complex.o radiats.o grid3d.o futterman.o sacio.o trap.o \ | ||
| nrutil.o jacobi.o eigsrt.o |
There was a problem hiding this comment.
README.md in gCAP3D says Sept. 17, 2019 LZ remove the dependence on Numerical Recipes.
I find it works if I don't download NR, so I will remove this line in the makefile.
|
This comment was written by the Continuous Documentation bot!
|
|
gCAP3D has some dependent packages, e.g.,
|
我没用过3d,但是算格林函数的肯定不是fk,fk是1d,不是3d。我建议最终能给用户的是gmt6的画图 |
wangliang1989
left a comment
There was a problem hiding this comment.
这个我需要挨着做一遍才能确定是否正确,我论文在下周内就完成了,因为7月31号是deadline
fk 负责 1D,3D 方法负责 3D. |
|
我写的那个ohmycap能不能移动到你这个网站来,我觉得自己一个人维护很累@core-man |
或者有了3d,就不需要1d 我不知道为什么最近很多人来问我cap |
这个网站不是用来维护和编写软件,而是软件的教程。我看了一下你的 ohmycap,大部分是教程和实例,如果你愿意把教程和实例等一点点迁移过来,一块维护自然更有利于教程的延续性。 不过可能不需要所有的都照搬过来,这里的软件尽量以直接从官方版本下载的源码开始。如果涉及到大量的源码修改,可能需要考虑是否有必要直接向作者反映,直接修改官方源码。
根据我的理解,二者的区别只是计算的格林函数是不是1D还是3D的。朱老师的 gCAP3D 只是给了 3D 的接口吧,其他步骤都是一样的。 |
你先做吧,我有空了会来看 |
| SUBS = fft.o Complex.o radiats.o grid3d.o futterman.o sacio.o trap.o \ | ||
| nrutil.o jacobi.o eigsrt.o | ||
|
|
||
| - ``cap3D`` 规则中 ``-lsac -lsacio`` 后加上 ``-lm`` |
There was a problem hiding this comment.
SACLIB 后将上 -no-pie 参数,见 https://seismo-learn.org/software/fk/install/
wangliang1989
left a comment
There was a problem hiding this comment.
gcap3d的正常运行除了依赖sac,还需要fk、gmt4和那个算3d格林函数的软件,后三项完全没有提及
| +CAP = cap3D cap_dir mtdcmp radpttn | ||
|
|
||
| -SUBS = fft.o Complex.o radiats.o grid3d.o futterman.o sacio.o trap.o | ||
| +SUBS = fft.o Complex.o radiats.o grid3d.o futterman.o sacio.o trap.o \ |
| - 添加 ``FC=gfortran`` 指定使用 gfortran 编译器 | ||
| - 给 ``FFLAGS`` 加上 ``-ffixed-line-length-none`` 使得 Fortran 一行可以超过 72 字符 | ||
| - 添加 ``CC = gcc`` 指定使用 gcc 编译器 | ||
| - 添加 ``SACHOME = /opt/sac`` 指定 SAC 软件的安装路径,用户需根据自身实际 |
There was a problem hiding this comment.
如果正常安装了sac,应该用环境变量中的SACHOME
Description of proposed changes
Preview: https://seismo-learn.org/sitepreview/seismo-learn/software/gcap-install/gcap3d/install/
Addresses #42.
Refer to https://blog.seisman.info/gcap-install/
PRs for new software/tutorials
the tutorials are listed in the meteda page
PRs for bugs/improvements