OpenRadioss
2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
machine.F
Go to the documentation of this file.
1
Copyright> OpenRadioss
2
Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3
Copyright>
4
Copyright> This program is free software: you can redistribute it and/or modify
5
Copyright> it under the terms of the GNU Affero General Public License as published by
6
Copyright> the Free Software Foundation, either version 3 of the License, or
7
Copyright> (at your option) any later version.
8
Copyright>
9
Copyright> This program is distributed in the hope that it will be useful,
10
Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11
Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
Copyright> GNU Affero General Public License for more details.
13
Copyright>
14
Copyright> You should have received a copy of the GNU Affero General Public License
15
Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16
Copyright>
17
Copyright>
18
Copyright> Commercial Alternative: Altair Radioss Software
19
Copyright>
20
Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21
Copyright> software under a commercial license. Contact Altair to discuss further if the
22
Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23
#include "hardware.inc"
24
C=======================================================================
25
C // MEMOIRE PARTAGEE
26
C=======================================================================
27
!||====================================================================
28
!|| my_barrier ../starter/source/system/machine.F
29
!||====================================================================
30
SUBROUTINE
my_barrier
31
RETURN
32
END
33
!||====================================================================
34
!|| bidon ../starter/source/system/machine.F
35
!||--- called by ------------------------------------------------------
36
!|| initwg_shell ../starter/source/spmd/domain_decomposition/initwg_shell.F
37
!|| initwg_solid ../starter/source/spmd/domain_decomposition/initwg_solid.F
38
!|| initwg_tri ../starter/source/spmd/domain_decomposition/initwg_tri.F
39
!||====================================================================
40
SUBROUTINE
bidon
41
RETURN
42
END
43
44
!||====================================================================
45
!|| bidon1 ../starter/source/system/machine.F
46
!||====================================================================
47
SUBROUTINE
bidon1
(IBID)
48
INTEGER
IBID
49
RETURN
50
END
51
52
!||====================================================================
53
!|| bidon2 ../starter/source/system/machine.F
54
!||--- called by ------------------------------------------------------
55
!|| lecstack_ply ../starter/source/properties/composite_options/stack/lecstack_ply.F
56
!||====================================================================
57
SUBROUTINE
bidon2
(FAC_L)
58
DOUBLE PRECISION
FAC_L
59
RETURN
60
END
61
C
62
C
63
C=======================================================================
64
C ROUTINE VERIFICATION LIMITATIONS MACHINE
65
C=======================================================================
66
!||====================================================================
67
!|| mverif ../starter/source/system/machine.F
68
!||--- calls -----------------------------------------------------
69
!|| ancmsg ../starter/source/output/message/message.F
70
!||--- uses -----------------------------------------------------
71
!|| message_mod ../starter/share/message_module/message_mod.F
72
!||====================================================================
73
SUBROUTINE
mverif
()
74
USE
message_mod
75
C
76
C-----------------------------------------------
77
C I m p l i c i t T y p e s
78
C-----------------------------------------------
79
#include "implicit_f.inc"
80
C-----------------------------------------------
81
C C o m m o n B l o c k s
82
C-----------------------------------------------
83
#include "com04_c.inc"
84
#include "warn_c.inc"
85
#include "units_c.inc"
86
C-----------------------------------------------
87
C L o c a l V a r i a b l e s
88
C-----------------------------------------------
89
INTEGER
NODMAX
90
DATA
nodmax/55000/
91
#if CPP_mach == CPP_w95 || CPP_mach == CPP_wmr || CPP_mach == CPP_lmr
92
IF
(numnod>nodmax)
THEN
93
C IWARN = IWARN + 1
94
C WRITE(ISTDO,*)' ** WARNING NUMNOD TOO LARGE'
95
C WRITE(IOUT,*)'** WARNING NUMNOD IS TOO LARGE FOR THIS VERSION'
96
CALL
ancmsg
(msgid=393,
97
. msgtype=msgwarning,
98
. anmode=aninfo_blind_1,
99
. i1=numnod,
100
. i2=nodmax)
101
ENDIF
102
#endif
103
RETURN
104
END
105
106
!||====================================================================
107
!|| my_etime ../starter/source/system/machine.F
108
!||--- called by ------------------------------------------------------
109
!|| startime ../starter/source/system/timer.F
110
!|| stoptime ../starter/source/system/timer.F
111
!||--- calls -----------------------------------------------------
112
!||====================================================================
113
SUBROUTINE
my_etime
(TIMER)
114
REAL
RESULT
115
REAL
,
DIMENSION(4)
:: TIMER
116
#ifdef COMP_NVFORTRAN
117
REAL
,
EXTERNAL
:: ETIME
118
#endif
119
120
#if CPP_mach == cpp_rs7 || cpp_mach == cpp_rs9 || cpp_mach == cpp_sp2 || cpp_mach == cpp_ppc |
| cpp_mach == cpp_pwr4 || cpp_mach == cpp_pwr4_spmd
121
result = etime_(timer)
122
#elif CPP_mach == CPP_ymp || CPP_mach == CPP_c90 || CPP_mach == CPP_ymp_spmd || CPP_mach == CPP_t90 || CPP_mach == CPP_t90_i3e
123
CALL
tsecnd(timer)
124
#elif CPP_mach == CPP_sx4 || CPP_mach == CPP_sx4_i3e
125
result = etime(timer)
126
#elif CPP_mach == CPP_w95 || CPP_mach == CPP_wnt || CPP_mach == CPP_wmr
127
timer(1) = 0.
128
#elif CPP_mach == CPP_win64_spmd || CPP_mach == CPP_p4win64_spmd || CPP_mach == CPP_p4win64
129
CALL
cpu_time(timer(1))
130
#elif CPP_mach == CPP_cx1_spmd || CPP_mach == CPP_cx1
131
result = etimec(timer)
132
#elif 1
133
result = etime(timer)
134
#endif
135
RETURN
136
END
137
C
138
C
139
C appel Fortran flush
140
!||====================================================================
141
!|| my_flush ../starter/source/system/machine.F
142
!||--- called by ------------------------------------------------------
143
!|| printcpu ../starter/source/system/printcpu.F
144
!||--- calls -----------------------------------------------------
145
!||====================================================================
146
SUBROUTINE
my_flush
(IUNIT)
147
C-----------------------------------------------
148
C I m p l i c i t T y p e s
149
C-----------------------------------------------
150
#include "implicit_f.inc"
151
C-----------------------------------------------
152
C D u m m y A r g u m e n t s
153
C-----------------------------------------------
154
INTEGER
IUNIT
155
C-----------------------------------------------
156
C L o c a l V a r i a b l e s
157
C-----------------------------------------------
158
C call a rendre specifique machine en cas de pb de compilation
159
#if CPP_mach == cpp_pwr4 || cpp_mach == cpp_pwr4_spmd
160
C pas de routine FLUSH sur AIX
161
#elif 1
162
CALL
flush(iunit)
163
#endif
164
RETURN
165
END
message_mod
Definition
message_mod.F:1249
ancmsg
subroutine ancmsg(msgid, msgtype, anmode, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, r1, r2, r3, r4, r5, r6, r7, r8, r9, c1, c2, c3, c4, c5, c6, c7, c8, c9, prmode)
Definition
message.F:889
my_barrier
subroutine my_barrier
Definition
machine.F:31
my_etime
subroutine my_etime(timer)
Definition
machine.F:114
bidon
subroutine bidon
Definition
machine.F:41
my_flush
subroutine my_flush(iunit)
Definition
machine.F:147
bidon2
subroutine bidon2(fac_l)
Definition
machine.F:58
mverif
subroutine mverif()
Definition
machine.F:74
bidon1
subroutine bidon1(ibid)
Definition
machine.F:48
starter
source
system
machine.F
Generated by
1.15.0