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/.
23C=======================================================================
24C // MEMOIRE PARTAGEE
25C=======================================================================
26!||====================================================================
27!|| my_barrier ../engine/source/system/machine.F
28!||--- called by ------------------------------------------------------
29!|| a22conv3 ../engine/source/ale/alefvm/cut_cells/a22conv3.F
30!|| aconv3 ../engine/source/ale/ale3d/aconv3.F
31!|| aconve ../engine/source/ale/aconve.F
32!|| admdiv ../engine/source/model/remesh/admdiv.F
33!|| admregul ../engine/source/model/remesh/admregul.F
34!|| admvit ../engine/source/model/remesh/admvit.F
35!|| aeturb ../engine/source/ale/turbulence/aeturb.F
36!|| aflux0 ../engine/source/ale/aflux0.F
37!|| aflux3_int22_fvm ../engine/source/ale/alefvm/cut_cells/aflux3_int22_fvm.F
38!|| afluxt ../engine/source/ale/ale51/afluxt.f
39!|| agauge ../engine/source/ale/agauge.F
40!|| agrad0 ../engine/source/ale/agrad0.F
41!|| akturb ../engine/source/ale/turbulence/akturb.F
42!|| al_constrainth1 ../engine/source/implicit/nl_solv.F
43!|| al_constrainth2 ../engine/source/implicit/nl_solv.F
44!|| ale51_finish ../engine/source/ale/ale51/ale51_finish.F
45!|| ale51_gradient_reconstruction ../engine/source/ale/alemuscl/ale51_gradient_reconstruction.F
46!|| ale51_gradient_reconstruction2 ../engine/source/ale/alemuscl/ale51_gradient_reconstruction2.F
47!|| ale51_init ../engine/source/ale/ale51/ale51_init.F
48!|| ale51_upwind3_int22 ../engine/source/ale/alefvm/cut_cells/ale51_upwind3_int22.F
49!|| alefvm_main ../engine/source/ale/alefvm/alefvm_main.F
50!|| alefvm_sfint3_int22 ../engine/source/ale/alefvm/alefvm_sfint3_int22.F
51!|| alemain ../engine/source/ale/alemain.F
52!|| alesub2 ../engine/source/ale/subcycling/alesub2.F
53!|| alethe ../engine/source/ale/alethe.F
54!|| alew ../engine/source/ale/grid/alew.F
55!|| alew5 ../engine/source/ale/grid/alew5.F
56!|| alew6 ../engine/source/ale/grid/alew6.F
57!|| alew7 ../engine/source/ale/grid/alew7.F
58!|| alewdx ../engine/source/ale/grid/alewdx.F
59!|| arezon ../engine/source/ale/arezon.F
60!|| asspar3 ../engine/source/assembly/asspar3.F
61!|| asspar4 ../engine/source/assembly/asspar4.F
62!|| asspart ../engine/source/assembly/asspart.F
63!|| bfgs_h1 ../engine/source/implicit/imp_bfgs.F
64!|| bfgs_h1p ../engine/source/implicit/imp_bfgs.F
65!|| bfgs_h2 ../engine/source/implicit/imp_bfgs.F
66!|| bfgs_h2p ../engine/source/implicit/imp_bfgs.F
67!|| cfield_1 ../engine/source/loads/general/load_centri/cfield.F
68!|| check_surface_state ../engine/source/interfaces/interf/check_surface_state.F
69!|| chk11msr3n ../engine/source/interfaces/interf/chkstfn3.F
70!|| chk11msr3nb ../engine/source/interfaces/interf/chkstfn3.F
71!|| chk20emsr3n ../engine/source/interfaces/interf/chkstfn3.F
72!|| chk20emsr3nb ../engine/source/interfaces/interf/chkstfn3.F
73!|| chk20msr3n ../engine/source/interfaces/interf/chkstfn3.F
74!|| chk20msr3nb ../engine/source/interfaces/interf/chkstfn3.F
75!|| chk23msr3n ../engine/source/interfaces/interf/chkstfn3.F
76!|| chk23msr3nb ../engine/source/interfaces/interf/chkstfn3.F
77!|| chk2msr3n ../engine/source/interfaces/interf/chkstfn3.F
78!|| chk2msr3nb ../engine/source/interfaces/interf/chkstfn3.F
79!|| chk2msr3np ../engine/source/interfaces/interf/chkstfn3.F
80!|| chkload ../engine/source/interfaces/chkload.F
81!|| chkmsr3n ../engine/source/interfaces/interf/chkstfn3.F
82!|| chkmsr3nb ../engine/source/interfaces/interf/chkstfn3.F
83!|| cndint ../engine/source/model/remesh/cndint.F
84!|| dyna_ivfac ../engine/source/implicit/imp_dyna.F
85!|| eflux3_int22_fvm ../engine/source/ale/alefvm/cut_cells/eflux3_int22_fvm.F
86!|| err_thk ../engine/source/elements/shell/err_thk.F
87!|| forint ../engine/source/elements/forint.F
88!|| forintp ../engine/source/elements/forintp.F
89!|| gravit ../engine/source/loads/general/grav/gravit.F
90!|| gravit_fvm_fem ../engine/source/loads/general/grav/gravit_fvm_fem.F
91!|| i10main_tri ../engine/source/interfaces/intsort/i10main_tri.F
92!|| i11buce_vox ../engine/source/interfaces/intsort/i11buce.F
93!|| i11main_tri ../engine/source/interfaces/intsort/i11main_tri.F
94!|| i11trivox ../engine/source/interfaces/intsort/i11trivox.F
95!|| i16main ../engine/source/interfaces/int16/i16main.F
96!|| i17buce ../engine/source/interfaces/int17/i17buce.F
97!|| i17buce_pena ../engine/source/interfaces/int17/i17buce.F
98!|| i17for3 ../engine/source/interfaces/int17/i17for3.F
99!|| i17lagm ../engine/source/interfaces/int17/i17lagm.F
100!|| i17main ../engine/source/interfaces/int17/i17main.F
101!|| i17main_pena ../engine/source/interfaces/int17/i17main_pena.F
102!|| i17main_tri ../engine/source/interfaces/int17/i17main_pena.F
103!|| i18main_kine_1 ../engine/source/interfaces/int18/i18main_kine.F
104!|| i18main_kine_2 ../engine/source/interfaces/int18/i18main_kine.F
105!|| i18main_kine_i ../engine/source/interfaces/int18/i18main_kine.F
106!|| i18main_kine_s ../engine/source/interfaces/int18/i18main_kine.F
107!|| i18main_kine_v ../engine/source/interfaces/int18/i18main_kine.F
108!|| i20main_tri ../engine/source/interfaces/intsort/i20main_tri.F
109!|| i20mainf ../engine/source/interfaces/int20/i20mainf.F
110!|| i21main_tri ../engine/source/interfaces/intsort/i21main_tri.F
111!|| i21optcd ../engine/source/interfaces/int21/i21optcd.F
112!|| i22buce ../engine/source/interfaces/intsort/i22buce.F
113!|| i22ident ../engine/source/interfaces/int22/i22ident.F
114!|| i22intersect ../engine/source/interfaces/int22/i22intersect.F
115!|| i22main_tri ../engine/source/interfaces/intsort/i22main_tri.F
116!|| i22mainf ../engine/source/interfaces/int22/i22mainf.F
117!|| i22subvol ../engine/source/interfaces/int22/i22subvol.F
118!|| i22trivox ../engine/source/interfaces/intsort/i22trivox.F
119!|| i23main_tri ../engine/source/interfaces/intsort/i23main_tri.F
120!|| i23mainf ../engine/source/interfaces/int23/i23mainf.F
121!|| i23trivox ../engine/source/interfaces/intsort/i23trivox.F
122!|| i24main_tri ../engine/source/interfaces/intsort/i24main_tri.F
123!|| i24trivox ../engine/source/interfaces/intsort/i24trivox.F
124!|| i25comp_2 ../engine/source/interfaces/int25/i25comp_2.F
125!|| i25edge_switch ../engine/source/interfaces/int25/i25edge_switch.F
126!|| i25gap3 ../engine/source/interfaces/int25/i25gap3.F
127!|| i25main_free ../engine/source/interfaces/intsort/i25main_free.F
128!|| i25main_norm ../engine/source/interfaces/int25/i25main_norm.F
129!|| i25main_opt_tri ../engine/source/interfaces/intsort/i25main_opt_tri.F
130!|| i25main_slid ../engine/source/interfaces/int25/i25main_slid.F
131!|| i25main_tri ../engine/source/interfaces/intsort/i25main_tri.F
132!|| i25mainf ../engine/source/interfaces/int25/i25mainf.F
133!|| i25normp ../engine/source/interfaces/int25/i25norm.F
134!|| i25optcd ../engine/source/interfaces/intsort/i25optcd.F
135!|| i25optcd_e2s ../engine/source/interfaces/intsort/i25optcd_e2s.F
136!|| i25tagn ../engine/source/interfaces/int25/i25norm.F
137!|| i25trivox ../engine/source/interfaces/intsort/i25trivox.F
138!|| i25trivox_edg ../engine/source/interfaces/intsort/i25trivox_edg.F
139!|| i7main_lmult ../engine/source/interfaces/int07/i7main_lmult.F
140!|| i7main_tri ../engine/source/interfaces/intsort/i7main_tri.F
141!|| i7mainf ../engine/source/interfaces/int07/i7mainf.F
142!|| i7trivox ../engine/source/interfaces/intsort/i7trivox.F
143!|| imp_chkm ../engine/source/implicit/imp_solv.F
144!|| imp_fsa_inv2hp ../engine/source/implicit/imp_fsa_inv.F
145!|| imp_fsa_invh ../engine/source/implicit/imp_fsa_inv.F
146!|| imp_fsa_invh2 ../engine/source/implicit/imp_fsa_inv.F
147!|| imp_fsa_invhp ../engine/source/implicit/imp_fsa_inv.F
148!|| imp_inisi ../engine/source/implicit/imp_pcg.F
149!|| imp_inist ../engine/source/implicit/imp_pcg.F
150!|| imp_inix ../engine/source/implicit/imp_pcg.F
151!|| imp_k_eig ../engine/stub/imp_k_eig.F
152!|| imp_pcgh ../engine/source/implicit/imp_pcg.F
153!|| imp_ppcgh ../engine/source/implicit/imp_pcg.F
154!|| imp_pro_p ../engine/source/implicit/imp_pcg.F
155!|| imp_solv ../engine/source/implicit/imp_solv.F
156!|| imp_updst ../engine/source/implicit/imp_pcg.F
157!|| ini_tmax ../engine/source/output/ini_outmax.F
158!|| int18_law151_update ../engine/source/interfaces/int18/int18_law151_update.F
159!|| inter_color_coarse_voxel ../engine/source/interfaces/generic/inter_color_coarse_voxel.F
160!|| inter_color_voxel ../engine/source/interfaces/generic/inter_color_voxel.F
161!|| inter_count_node_curv ../engine/source/interfaces/generic/inter_count_node_curv.F
162!|| inter_deallocate_wait ../engine/source/interfaces/generic/inter_deallocate_wait.F
163!|| inter_minmax_node ../engine/source/interfaces/generic/inter_minmax_node.F
164!|| inter_prepare_sort ../engine/source/interfaces/generic/inter_prepare_sort.F
165!|| inter_sort_07 ../engine/source/interfaces/int07/inter_sort_07.F
166!|| intfop2 ../engine/source/interfaces/interf/intfop2.F
167!|| inttri ../engine/source/interfaces/intsort/inttri.F
168!|| lag_mult ../engine/source/tools/lagmul/lag_mult.F
169!|| lin_solv ../engine/source/implicit/lin_solv.F
170!|| mav_lt_h ../engine/source/implicit/produt_v.F
171!|| mav_ltgh ../engine/source/implicit/produt_v.F
172!|| mav_lth ../engine/source/implicit/produt_v.F
173!|| mav_lth0 ../engine/source/implicit/produt_v.F
174!|| mmav_lth ../engine/source/implicit/produt_v.F
175!|| mmv_lh ../engine/source/implicit/produt_v.F
176!|| mmv_lth ../engine/source/implicit/produt_v.F
177!|| mortho_gs ../engine/source/implicit/produt_v.F
178!|| multi_timeevolution ../engine/source/multifluid/multi_timeevolution.F
179!|| nlocal_dtnoda ../engine/source/time_step/nlocal_dtnoda.F
180!|| pblast_1 ../engine/source/loads/pblast/pblast_1.F
181!|| pblast_2 ../engine/source/loads/pblast/pblast_2.F
182!|| pblast_3 ../engine/source/loads/pblast/pblast_3.F
183!|| pblast_load_computation ../engine/source/loads/pblast/pblast.F
184!|| prec5h_solv ../engine/source/implicit/prec_solv.F
185!|| prec5hc_solv ../engine/source/implicit/prec_solv.F
186!|| prec_solvgh ../engine/source/implicit/prec_solv.F
187!|| prec_solvh ../engine/source/implicit/prec_solv.F
188!|| prelecflow ../engine/source/elements/solid/solide/prelecflow.F
189!|| produt_h ../engine/source/implicit/produt_v.F
190!|| produt_uh ../engine/source/implicit/produt_v.F
191!|| produt_uh2 ../engine/source/implicit/produt_v.F
192!|| produt_vmh ../engine/source/implicit/produt_v.F
193!|| resol ../engine/source/engine/resol.F
194!|| resol_init ../engine/source/engine/resol_init.F
195!|| rgwal0 ../engine/source/constraints/general/rwall/rgwal0.F
196!|| rgwal0_pen ../engine/source/constraints/general/rwall/rgwall_pen.F90
197!|| rgwalc ../engine/source/constraints/general/rwall/rgwalc.F
198!|| rgwall ../engine/source/constraints/general/rwall/rgwall.F
199!|| rgwalp ../engine/source/constraints/general/rwall/rgwalp.F
200!|| rgwals ../engine/source/constraints/general/rwall/rgwals.F
201!|| rwall_fpen ../engine/source/constraints/general/rwall/rgwall_pen.F90
202!|| s10cndf1 ../engine/source/elements/solid/solide10/s10cndf.F
203!|| s10cndf2 ../engine/source/elements/solid/solide10/s10cndf.F
204!|| s10cndfnd ../engine/source/elements/solid/solide10/s10cndf.F
205!|| s10stfe_poff ../engine/source/elements/solid/solide10/s10cndf.F
206!|| seggetv ../engine/source/interfaces/interf/seggetv.F
207!|| sinit22_fvm ../engine/source/interfaces/int22/sinit22_fvm.F
208!|| sms_admesh_2 ../engine/source/ams/sms_admesh.F
209!|| sms_build_diag ../engine/source/ams/sms_build_diag.F
210!|| sms_build_mat_2 ../engine/source/ams/sms_build_mat_2.F
211!|| sms_check ../engine/source/ams/sms_fsa_inv.F
212!|| sms_cjoint_0 ../engine/source/ams/sms_cjoint.F
213!|| sms_cjoint_1 ../engine/source/ams/sms_cjoint.F
214!|| sms_cjoint_2 ../engine/source/ams/sms_cjoint.F
215!|| sms_encin_2 ../engine/source/ams/sms_encin_2.F
216!|| sms_inisi ../engine/source/ams/sms_proj.F
217!|| sms_inist ../engine/source/ams/sms_proj.F
218!|| sms_inix ../engine/source/ams/sms_proj.F
219!|| sms_mass_scale_2 ../engine/source/ams/sms_mass_scale_2.F
220!|| sms_mav_lt ../engine/source/ams/sms_pcg.F
221!|| sms_mav_lt2 ../engine/source/ams/sms_pcg.F
222!|| sms_mortho_gs ../engine/source/ams/sms_proj.F
223!|| sms_pcg ../engine/source/ams/sms_pcg.F
224!|| sms_pro_p ../engine/source/ams/sms_proj.F
225!|| sms_produt3 ../engine/source/ams/sms_proj.F
226!|| sms_produt_h ../engine/source/ams/sms_proj.F
227!|| sms_rgwal_0 ../engine/source/ams/sms_rgwal0.F
228!|| sms_updst ../engine/source/ams/sms_proj.F
229!|| soltosph_on1 ../engine/source/elements/sph/soltosph_on1.F
230!|| soltosph_on2 ../engine/source/elements/sph/soltosph_on2.F
231!|| soltospha ../engine/source/elements/sph/soltospha.F
232!|| soltosphf ../engine/source/elements/sph/soltosph.F
233!|| spbuc3 ../engine/source/elements/sph/spbuc3.F
234!|| spclasv ../engine/source/elements/sph/spclasv.F
235!|| sphprep ../engine/source/elements/sph/sphprep.F
236!|| sphtri0 ../engine/source/elements/sph/sphtri0.F
237!|| splissv ../engine/source/elements/sph/splissv.F
238!|| spstabs ../engine/source/elements/sph/spstab.F
239!|| spsym_alloc ../engine/source/elements/sph/spsym_alloc.F
240!|| spsymp ../engine/source/elements/sph/spsym.F
241!|| sptrivox ../engine/source/elements/sph/sptrivox.F
242!|| tagoff3n ../engine/source/interfaces/interf/chkstfn3.F
243!|| telesc ../engine/source/constraints/general/cyl_joint/telesc.F
244!|| upd_tmax ../engine/source/output/upd_outmax.F
245!|| update_struct_int21 ../engine/source/interfaces/int21/update_struct_int21.F
246!|| write_cut_cell_buffer ../engine/source/interfaces/int22/write_cut_cell_buffer.F
247!||====================================================================
248 SUBROUTINE my_barrier
249#include "implicit_f.inc"
250#include "comlock.inc"
251#include "task_c.inc"
252#include "units_c.inc"
253#if defined(_OPENMP)
254!$OMP BARRIER
255#endif
256 RETURN
257 END
258C
259!||====================================================================
260!|| idp_lock ../engine/source/system/machine.F
261!||--- called by ------------------------------------------------------
262!|| bafil2 ../engine/source/ale/bimat/bafil2.F
263!|| balph2 ../engine/source/ale/bimat/balph2.F
264!|| befil2 ../engine/source/ale/bimat/befil2.F
265!|| qmass2 ../engine/source/elements/solid_2d/quad/qmass2.F
266!|| qmassreal2 ../engine/source/elements/solid_2d/quad/qmassreal2.F
267!|| user_lock ../engine/source/system/machine.F
268!||--- calls -----------------------------------------------------
269!||====================================================================
270 SUBROUTINE idp_lock(ID)
271#include "comlock.inc"
272 INTEGER ID
273#if defined(_OPENMP)
274 CALL omp_set_lock(llock(1,id))
275#endif
276 RETURN
277 END
278C
279!||====================================================================
280!|| user_lock ../engine/source/system/machine.F
281!||--- calls -----------------------------------------------------
282!|| idp_lock ../engine/source/system/machine.F
283!||====================================================================
284 SUBROUTINE user_lock()
285 CALL idp_lock(1)
286 RETURN
287 END
288C
289!||====================================================================
290!|| idp_free ../engine/source/system/machine.F
291!||--- called by ------------------------------------------------------
292!|| bafil2 ../engine/source/ale/bimat/bafil2.F
293!|| balph2 ../engine/source/ale/bimat/balph2.F
294!|| befil2 ../engine/source/ale/bimat/befil2.F
295!|| qmass2 ../engine/source/elements/solid_2d/quad/qmass2.F
296!|| qmassreal2 ../engine/source/elements/solid_2d/quad/qmassreal2.F
297!|| user_free ../engine/source/system/machine.F
298!||--- calls -----------------------------------------------------
299!||====================================================================
300 SUBROUTINE idp_free(ID)
301#include "comlock.inc"
302 INTEGER ID
303#if defined(_OPENMP)
304 CALL omp_unset_lock(llock(1,id))
305#endif
306 RETURN
307 END
308C
309!||====================================================================
310!|| user_free ../engine/source/system/machine.F
311!||--- calls -----------------------------------------------------
312!|| idp_free ../engine/source/system/machine.F
313!||====================================================================
314 SUBROUTINE user_free()
315 CALL idp_free(1)
316 RETURN
317 END
318C
319!||====================================================================
320!|| wait_task ../engine/source/system/machine.F
321!||====================================================================
322 SUBROUTINE wait_task(ITID)
323 INTEGER ITID(*)
324#if defined(_OPENMP)
325#endif
326 RETURN
327 END
328
329C=======================================================================
330C=======================================================================
331C ROUTINES CRAY
332C=======================================================================
333#if CPP_mach != CPP_c90 && CPP_mach != CPP_ymp && CPP_mach != CPP_ymp_spmd && CPP_mach != CPP_t90 && CPP_mach != CPP_t90_i3e
334 my_real
335 . FUNCTION cvmgn(X1,X2,X3)
336#include "implicit_f.inc"
337 my_real
338 . x1, x2, x3
339 IF(x3==0.) THEN
340 cvmgn=x2
341 ELSE
342 cvmgn=x1
343 ENDIF
344 RETURN
345 END
346 my_real
347 . FUNCTION cvmgt(X1,X2,X3)
348#include "implicit_f.inc"
349 my_real
350 . x1, x2
351 LOGICAL X3
352 IF(x3) THEN
353 cvmgt=x1
354 ELSE
355 cvmgt=x2
356 ENDIF
357 RETURN
358 END
359#endif
360C=======================================================================
361C synchronization routine for the CRAY in SMP
362C=======================================================================
363C this routine must be called to avoid certain
364C Super-scalar optimizations incompatible with concept
365C shared variable.
366!||====================================================================
367!|| sync_data ../engine/source/system/machine.F
368!||--- called by ------------------------------------------------------
369!|| admregul ../engine/source/model/remesh/admregul.F
370!|| i10optcd ../engine/source/interfaces/intsort/i10optcd.F
371!|| i11optcd ../engine/source/interfaces/intsort/i11optcd.F
372!|| i20optcd ../engine/source/interfaces/intsort/i20optcd.F
373!|| i20optcde ../engine/source/interfaces/intsort/i20optcd.F
374!|| i23optcd ../engine/source/interfaces/int23/i23optcd.F
375!|| i24optcd ../engine/source/interfaces/intsort/i24optcd.F
376!|| i25optcd ../engine/source/interfaces/intsort/i25optcd.F
377!|| i25optcd_e2s ../engine/source/interfaces/intsort/i25optcd_e2s.F
378!|| i25optcd_edg ../engine/source/interfaces/intsort/i25optcd_edg.F
379!|| i7optcd ../engine/source/interfaces/intsort/i7optcd.F
380!|| thnod ../engine/source/output/th/thnod.F
381!||====================================================================
382 SUBROUTINE sync_data(II)
383 INTEGER II(*)
384 RETURN
385 END
386C=======================================================================
387C ROUTINE ETIME
388C=======================================================================
389!||====================================================================
390!|| my_etime ../engine/source/system/machine.F
391!||--- called by ------------------------------------------------------
392!|| startime ../engine/source/system/timer_mod.F90
393!|| startimeg ../engine/source/system/timer.f
394!|| stoptime ../engine/source/system/timer_mod.F90
395!|| stoptimeg ../engine/source/system/timer.F
396!||--- calls -----------------------------------------------------
397!||====================================================================
398 SUBROUTINE my_etime(TIMER)
399 REAL RESULT
400 REAL, DIMENSION(2) :: TIMER
401#ifdef COMP_NVFORTRAN
402 REAL, EXTERNAL :: ETIME
403#endif
404#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
405 result = etime_(timer)
406#elif CPP_mach == CPP_ymp || CPP_mach == CPP_c90 || CPP_mach == CPP_ymp_spmd || CPP_mach == CPP_t90 || CPP_mach == CPP_t90_i3e
407 CALL tsecnd(timer)
408#elif CPP_mach == CPP_sx4 || CPP_mach == CPP_sx4_i3e
409 result = etime(timer)
410/* el51e9 #elif CPP_mach == CPP_w95 || CPP_mach == CPP_ant || CPP_mach == CPP_wnt || CPP_mach == CPP_wmr */
411#elif CPP_mach == CPP_w95 || CPP_mach == CPP_wnt || CPP_mach == CPP_wmr
412 timer(1) = 0.
413#elif CPP_mach == CPP_win64_spmd || CPP_mach == CPP_p4win64_spmd || CPP_mach == CPP_p4win64
414 CALL cpu_time(timer(1))
415#elif CPP_mach == CPP_cx1_spmd || CPP_mach == CPP_cx1
416 result = etimec(timer)
417#elif 1
418 result = etime(timer)
419#endif
420 RETURN
421 END
422C=======================================================================
423C ROUTINE VERIFICATION LIMITATIONS MACHINE
424C=======================================================================
425!||====================================================================
426!|| my_flush ../engine/source/system/machine.F
427!||--- called by ------------------------------------------------------
428!|| ecrit ../engine/source/output/ecrit.F
429!|| get_table_value_dydx ../engine/source/user_interface/utable.F
430!|| imp_stop ../engine/source/implicit/imp_solv.F
431!|| multi_muscl_fluxes_computation ../engine/source/multifluid/multi_muscl_fluxes_computation.F
432!|| printcpu ../engine/source/system/timer.F
433!||--- calls -----------------------------------------------------
434!||====================================================================
435 SUBROUTINE my_flush(IUNIT)
436C appel Fortran flush
437C-----------------------------------------------
438C I m p l i c i t T y p e s
439C-----------------------------------------------
440#include "implicit_f.inc"
441C-----------------------------------------------
442C D u m m y A r g u m e n t s
443C-----------------------------------------------
444 INTEGER IUNIT
445C-----------------------------------------------
446C L o c a l V a r i a b l e s
447C-----------------------------------------------
448C call a rendre specifique machine en cas de pb de compilation
449#if CPP_mach == cpp_pwr4 || cpp_mach == cpp_pwr4_spmd
450C no FLUSH routine on AIX
451#elif 1
452 CALL flush(iunit)
453#endif
454 RETURN
455 END
456
457!||====================================================================
458!|| mkl_init ../engine/source/system/machine.F
459!||--- calls -----------------------------------------------------
460!||====================================================================
461 SUBROUTINE mkl_init(MKL_DYN,OMP_NEST)
462C-----------------------------------------------
463C I m p l i c i t T y p e s
464C-----------------------------------------------
465#include "implicit_f.inc"
466C-----------------------------------------------
467C D u m m y A r g u m e n t s
468C-----------------------------------------------
469 LOGICAL MKL_DYN,OMP_NEST
470C-----------------------------------------------
471C L o c a l V a r i a b l e s
472C-----------------------------------------------
473 LOGICAL omp_get_nested, mkl_get_dynamic
474 EXTERNAL omp_get_nested, mkl_get_dynamic
475C call a rendre specifique machine en cas de pb de compilation
476C#if CPP_mach == CPP_p4linux964 || CPP_mach == CPP_p4linux932 || CPP_mach == CPP_il || CPP_mach == CPP_p4win64 || CPP_mach == CPP_p4win32
477#if defined mkl
478 mkl_dyn = omp_get_nested()
479 omp_nest = mkl_get_dynamic()
480 call omp_set_nested(.true.)
481 call mkl_set_dynamic(.false.)
482#endif
483 RETURN
484 END
485
486!||====================================================================
487!|| mkl_reset ../engine/source/system/machine.F
488!||--- calls -----------------------------------------------------
489!||====================================================================
490 SUBROUTINE mkl_reset(MKL_DYN,OMP_NEST)
491C-----------------------------------------------
492C I m p l i c i t T y p e s
493C-----------------------------------------------
494#include "implicit_f.inc"
495C-----------------------------------------------
496C D u m m y A r g u m e n t s
497C-----------------------------------------------
498 LOGICAL MKL_DYN,OMP_NEST
499C-----------------------------------------------
500C L o c a l V a r i a b l e s
501C-----------------------------------------------
502 LOGICAL omp_get_nested, mkl_get_dynamic
503 EXTERNAL omp_get_nested, mkl_get_dynamic
504C call a rendre specifique machine en cas de pb de compilation
505C#if CPP_mach == CPP_p4linux964 || CPP_mach == CPP_p4linux932 || CPP_mach == CPP_il || CPP_mach == CPP_p4win64 || CPP_mach == CPP_p4win32
506#if defined mkl
507 call omp_set_nested(omp_nest)
508 call mkl_set_dynamic(mkl_dyn)
509c MKL_DYN = omp_get_nested()
510c OMP_NEST = mkl_get_dynamic()
511#endif
512 RETURN
513 END
514
515!||====================================================================
516!|| write_iout ../engine/source/system/machine.F
517!||====================================================================
518 SUBROUTINE write_iout(LINE,LEN1)
519C-----------------------------------------------
520C I m p l i c i t T y p e s
521C-----------------------------------------------
522#include "implicit_f.inc"
523#include "comlock.inc"
524C-----------------------------------------------
525C C o m m o n B l o c k s
526C-----------------------------------------------
527#include "units_c.inc"
528C-----------------------------------------------
529C D u m m y A r g u m e n t s
530C-----------------------------------------------
531 INTEGER LEN1
532 CHARACTER(len=LEN1) LINE
533C-----------------------------------------------
534#include "lockon.inc"
535 WRITE(iout,'(A)') line(1:len1)
536#include "lockoff.inc"
537
538 END
539C-----------------------------------------------
540
subroutine afluxt(iparg, elbuf_tab, pm, ixs, ixq, x, flux, flu2, alpha, ale_connect, itask, itrimat, flux_sav, nercvois, nesdvois, lercvois, lesdvois, lencom, qmv, itab, itabm1, nv46, segvar)
Definition afluxt.F:63
#define my_real
Definition cppsort.cpp:32
subroutine my_barrier
Definition machine.F:249
subroutine my_etime(timer)
Definition machine.F:399
subroutine idp_lock(id)
Definition machine.F:271
subroutine sync_data(ii)
Definition machine.F:383
subroutine my_flush(iunit)
Definition machine.F:436
subroutine mkl_reset(mkl_dyn, omp_nest)
Definition machine.F:491
subroutine user_free()
Definition machine.F:315
subroutine wait_task(itid)
Definition machine.F:323
subroutine user_lock()
Definition machine.F:285
subroutine mkl_init(mkl_dyn, omp_nest)
Definition machine.F:462
subroutine write_iout(line, len1)
Definition machine.F:519
subroutine idp_free(id)
Definition machine.F:301
subroutine startimeg(ng)
Definition timer.F:1371