Changed array sizes to be able to compile with mcmodel=medium and produce statically linked binary. Max rge points 500, max layers 60 and max elements per layer 12.
This commit is contained in:
@@ -14,8 +14,8 @@ WARN = # -Wall -Wextra
|
||||
DIALECT = -std=gnu
|
||||
prefix = /usr/local
|
||||
# OPS = -c $(DIALECT) $(WARN) $(DEBUG)
|
||||
FCFLAGS = $(DIALECT) $(WARN) $(DEBUG) -O3 -mcmodel=large
|
||||
#FCFLAGS = $(DIALECT) $(WARN) $(DEBUG) -O3 -mcmodel=medium
|
||||
#FCFLAGS = $(DIALECT) $(WARN) $(DEBUG) -O3 -mcmodel=large
|
||||
FCFLAGS = $(DIALECT) $(WARN) $(DEBUG) -O3 -mcmodel=medium
|
||||
|
||||
all : trimspNL
|
||||
|
||||
|
||||
@@ -55,10 +55,10 @@ C and maximum number of points in the depth distribution MAXD
|
||||
C This is the only point where the number of layers and depth
|
||||
C profile are changed. All other parameters should be changed
|
||||
C accordingly.
|
||||
PARAMETER (MAXD=1000)
|
||||
PARAMETER (MAXNL=100)
|
||||
PARAMETER (MAXD=500)
|
||||
PARAMETER (MAXNL=60)
|
||||
C Maximum number of elements in each layer, was limited to 5.
|
||||
PARAMETER (MAXEL=10)
|
||||
PARAMETER (MAXEL=12)
|
||||
PARAMETER (MAXD1=MAXD+1)
|
||||
PARAMETER (MAXD2=MAXD+2)
|
||||
PARAMETER (MAXD5=MAXD*MAXEL)
|
||||
|
||||
Reference in New Issue
Block a user