OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
machine.F
Go to the documentation of this file.
1Copyright> OpenRadioss
2Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3Copyright>
4Copyright> This program is free software: you can redistribute it and/or modify
5Copyright> it under the terms of the GNU Affero General Public License as published by
6Copyright> the Free Software Foundation, either version 3 of the License, or
7Copyright> (at your option) any later version.
8Copyright>
9Copyright> This program is distributed in the hope that it will be useful,
10Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12Copyright> GNU Affero General Public License for more details.
13Copyright>
14Copyright> You should have received a copy of the GNU Affero General Public License
15Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16Copyright>
17Copyright>
18Copyright> Commercial Alternative: Altair Radioss Software
19Copyright>
20Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21Copyright> software under a commercial license. Contact Altair to discuss further if the
22Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23#include "hardware.inc"
24C=======================================================================
25C // MEMOIRE PARTAGEE
26C=======================================================================
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
61C
62C
63C=======================================================================
64C ROUTINE VERIFICATION LIMITATIONS MACHINE
65C=======================================================================
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
75C
76C-----------------------------------------------
77C I m p l i c i t T y p e s
78C-----------------------------------------------
79#include "implicit_f.inc"
80C-----------------------------------------------
81C C o m m o n B l o c k s
82C-----------------------------------------------
83#include "com04_c.inc"
84#include "warn_c.inc"
85#include "units_c.inc"
86C-----------------------------------------------
87C L o c a l V a r i a b l e s
88C-----------------------------------------------
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
93C IWARN = IWARN + 1
94C WRITE(ISTDO,*)' ** WARNING NUMNOD TOO LARGE'
95C 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
137C
138C
139C 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)
147C-----------------------------------------------
148C I m p l i c i t T y p e s
149C-----------------------------------------------
150#include "implicit_f.inc"
151C-----------------------------------------------
152C D u m m y A r g u m e n t s
153C-----------------------------------------------
154 INTEGER IUNIT
155C-----------------------------------------------
156C L o c a l V a r i a b l e s
157C-----------------------------------------------
158C call a rendre specifique machine en cas de pb de compilation
159#if CPP_mach == cpp_pwr4 || cpp_mach == cpp_pwr4_spmd
160C pas de routine FLUSH sur AIX
161#elif 1
162 CALL flush(iunit)
163#endif
164 RETURN
165 END
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
subroutine my_barrier
Definition machine.F:31
subroutine my_etime(timer)
Definition machine.F:114
subroutine bidon
Definition machine.F:41
subroutine my_flush(iunit)
Definition machine.F:147
subroutine bidon2(fac_l)
Definition machine.F:58
subroutine mverif()
Definition machine.F:74
subroutine bidon1(ibid)
Definition machine.F:48