Browse Source

lower limits in pscmp/pscglob.h, added note to readme

master
Sebastian Heimann 5 years ago
parent
commit
5e4d0427c6
  1. 17
      README.md
  2. 2
      configure.ac
  3. 4
      src/pscmp/pscglob.h

17
README.md

@ -29,3 +29,20 @@ autoreconf -i # only if 'configure' script is missing
make
sudo make install
```
# To run PSCMP with more receivers/source points
1. Choose larger values for `NPSMAX` and `NRECMAX` in `src/pscmp/pscglob.h`,
e.g.:
```
parameter(NPSMAX=100000)
parameter(NRECMAX=40000)
```
2. Recompile with `-mcmodel=medium`:
```
./configure FFLAGS=-mcmodel=medium
make clean
make
sudo make install
```

2
configure.ac

@ -11,5 +11,5 @@ AC_CONFIG_FILES([
src/pscmp/Makefile
])
AC_SUBST([AM_FFLAGS], [-mcmodel=medium])
AC_SUBST([AM_FFLAGS], [])
AC_OUTPUT

4
src/pscmp/pscglob.h

@ -17,8 +17,8 @@ c~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
integer NPSMAX,NRECMAX,NTMAX,NTRMAX,NSCMAX
parameter(NZSMAX=100,NRMAX=1000)
parameter(NEQMAX=20,NSMAX=5000,NPTCHMAX=1000)
parameter(NPSMAX=100000)
parameter(NRECMAX=40000)
parameter(NPSMAX=20000)
parameter(NRECMAX=10000)
parameter(NTMAX=1024,NTRMAX=1024)
parameter(NSCMAX=NTRMAX/2)
c~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Loading…
Cancel
Save