Browse Source

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

master
Sebastian Heimann 4 years ago
parent
commit
5e4d0427c6
3 changed files with 20 additions and 3 deletions
  1. +17
    -0
      README.md
  2. +1
    -1
      configure.ac
  3. +2
    -2
      src/pscmp/pscglob.h

+ 17
- 0
README.md View File

@ -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
```

+ 1
- 1
configure.ac View File

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

+ 2
- 2
src/pscmp/pscglob.h View File

@ -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