Browse Source

upd README to reflect psgrn

master
miili 1 year ago
parent
commit
a04ff16307
  1. 28
      README.md
  2. 2
      src/pscmp/pscglob.h
  3. 1
      src/psgrn/Makefile.am

28
README.md

@ -23,31 +23,33 @@ Packaging has been done by Hannes Vasyura-Bathke.
International, 161, 191-196.
# Compile and install PSGRN and PSCMP
```
```sh
autoreconf -i # only if 'configure' script is missing
./configure
make
sudo make install
```
# To run PSCMP with more receivers/source points
# To run PSGRN/PSCMP with more receivers/source points
1. Choose larger values for `NPSMAX` and `NRECMAX` in `src/pscmp/pscglob.h`,
1. Choose larger values in `src/psgrn/psgglob.h`,
e.g.:
```
parameter(NPSMAX=100000)
parameter(NRECMAX=40000)
```fortran
parameter(lmax=1000)
parameter(nrmax=4001)
```
2. Recompile with `-mcmodel=medium`:
2. Choose larger values in `src/pscmp/pscglob.h`,
e.g.:
```fortran
parameter(NZSMAX=5000,NRMAX=10000)
parameter(NPSMAX=40000)
parameter(NRECMAX=40000)
```
./configure FFLAGS=-mcmodel=medium
3. Recompile:
```sh
make clean
make
sudo make install
```
autoreconf -i
make
sudo make install
```

2
src/pscmp/pscglob.h

@ -18,7 +18,7 @@ c~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parameter(NZSMAX=1000,NRMAX=4000)
parameter(NEQMAX=20,NSMAX=5000,NPTCHMAX=1000)
parameter(NPSMAX=40000)
parameter(NRECMAX=10000)
parameter(NRECMAX=40000)
parameter(NTMAX=1024,NTRMAX=1024)
parameter(NSCMAX=NTRMAX/2)
c~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1
src/psgrn/Makefile.am

@ -1,2 +1,3 @@
bin_PROGRAMS = fomosto_psgrn2008a
AM_FFLAGS += -mcmodel=medium
fomosto_psgrn2008a_SOURCES = axb.f bessj0.f bessj1.f bessj.f caxcb.f cdc3d0.f cdsvd500.f cmemcpy.f four1.f hsmatinv.f hsmatrix.f memcpy.f outint.f psgbsj.f psgglob.h psghksh.f psghskern.f psghssrce.f psgkern.f psglayer.f psgmain.f psgmatinv.f psgmatrix.f psgmoduli.f psgproppsv.f psgpropsh.f psgpsv.f psgsh.f psgsource.f psgspec.f psgsublay.f psgwvint.f skip_comments.f

Loading…
Cancel
Save