OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
machine.F File Reference
#include "hardware.inc"
#include "implicit_f.inc"
#include "com04_c.inc"
#include "warn_c.inc"
#include "units_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine my_barrier
subroutine bidon
subroutine bidon1 (ibid)
subroutine bidon2 (fac_l)
subroutine mverif ()
subroutine my_etime (timer)
subroutine my_flush (iunit)

Function/Subroutine Documentation

◆ bidon()

subroutine bidon

Definition at line 40 of file machine.F.

41 RETURN

◆ bidon1()

subroutine bidon1 ( integer ibid)

Definition at line 47 of file machine.F.

48 INTEGER IBID
49 RETURN

◆ bidon2()

subroutine bidon2 ( double precision fac_l)

Definition at line 57 of file machine.F.

58 DOUBLE PRECISION FAC_L
59 RETURN

◆ mverif()

subroutine mverif

Definition at line 73 of file machine.F.

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
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 at line 30 of file machine.F.

31 RETURN

◆ my_etime()

subroutine my_etime ( real, dimension(4) timer)

Definition at line 113 of file machine.F.

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

◆ my_flush()

subroutine my_flush ( integer iunit)

Definition at line 146 of file machine.F.

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