Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SAMMY
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RNSD
SAMMY
Commits
f4c47e09
Commit
f4c47e09
authored
3 years ago
by
Wiarda, Dorothea
Browse files
Options
Downloads
Patches
Plain Diff
No more output for idimen
parent
32c08485
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sammy/src/end/msamyy.f
+1
-47
1 addition, 47 deletions
sammy/src/end/msamyy.f
with
1 addition
and
47 deletions
sammy/src/end/msamyy.f
+
1
−
47
View file @
f4c47e09
...
...
@@ -27,40 +27,13 @@ C
ELSE
IF
(
Iwhich
.EQ.
0
)
THEN
C
***
Here
to
write
out
how
much
space
has
been
used
IF
(
Max
.LE.
0
)
THEN
Mx
=
Msize
+
Max
IF
(
Nowwww
.EQ.
0
)
WRITE
(
21
,
10100
,
ERR
=
40
)
(
Segmen
(
I
),
I
=
1
,
3
),
*
Mx
10100
FORMAT
(
' ### Estimated array size for SAMMY-'
,
3A1
,
' is'
,
*
I11
,
' ###'
)
IF
(
Nowwww
.GT.
0
)
WRITE
(
21
,
10200
,
ERR
=
40
)
(
Segmen
(
I
),
I
=
1
,
3
),
*
Mx
10200
FORMAT
(
' ### Array size used for SAMMY-'
,
3A1
,
' is'
,
*
I11
,
' ###'
)
ELSE
IF
(
Nowwww
.EQ.
0
)
WRITE
(
21
,
10300
,
ERR
=
40
)
(
Segmen
(
I
),
I
=
1
,
3
),
*
Max
,
Msize
10300
FORMAT
(
' ### Estimated array size for SAMMY-'
,
3A1
,
' is'
,
*
I11
,
' +'
,
I12
,
' ###'
)
IF
(
Nowwww
.GT.
0
)
WRITE
(
21
,
10400
,
ERR
=
40
)
(
Segmen
(
I
),
I
=
1
,
3
),
*
Max
,
Msize
10400
FORMAT
(
' ### Array size used for SAMMY-'
,
3A1
,
' is'
,
*
I11
,
' +'
,
I12
,
' ###'
)
Mx
=
Msize
+
Max
END
IF
Nowwww
=
1
IF
(
Max
.GT.
Maxt
)
Maxt
=
Max
Max
=
Kount
Idimen
=
0
RETURN
C
40
CONTINUE
C
***
Here
if
error
happened
while
writing
how
much
space
has
been
used
WRITE
(
6
,
99995
)
Max
99995
FORMAT
(
' Error occured in writing:'
/
*
' ### Array size used is'
,
I13
,
' ###'
)
IF
(
Max
.GT.
Maxt
)
Maxt
=
Max
Max
=
Kount
Idimen
=
0
RETURN
C
C
ELSE
...
...
@@ -69,25 +42,6 @@ C *** Here for usual call to allocate more space
Idimen
=
Kount
Kount
=
Kount
+
Many
IF
(
Kount
.GT.
Max
)
Max
=
Kount
C
IF
(
Kount
.LT.
Nsize
)
THEN
RETURN
ELSE
C
***
Here
only
if
do
not
have
enuf
room
to
continue
WRITE
(
6
,
99999
)
(
Segmen
(
I
),
I
=
1
,
3
),
Nsize
WRITE
(
21
,
99999
)
(
Segmen
(
I
),
I
=
1
,
3
),
Nsize
K2
=
(
Nsize
+1
)/
2
+
(
Kount
+1
)/
2
WRITE
(
6
,
99998
)
Nsize
,
K2
WRITE
(
21
,
99998
)
Nsize
,
K2
99999
FORMAT
(
' Need more array size in SAM'
,
3A1
,
' ##'
,
I10
,
'##'
)
99998
FORMAT
(
' The current SAMMY executable was built with '
,
*
' --array-size='
,
I10
,
/
,
*
' This run requires a SAMMY executable built with'
,
*
' --array-size='
,
I10
,
/
,
*
' Please see the INSTALL file in the SAMMY root dire
*ctory for details.'
)
STOP
'[STOP in Idimen in end/msamyy.f]'
END
IF
C
END
IF
END
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment