OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
machine.inc
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----------------------------------------------------------------------
26C
27#if CPP_mach == CPP_p4win64
28 CPUNAM ='win64'
29 ARCHTITLE='Windows 64 bits, Intel compiler'
30 IBUILTIN=22
31C
32#elif CPP_mach == CPP_linux964
33 CPUNAM ='pgi_linux64'
34 ARCHTITLE='Linux 64 bits, PGI compiler'
35 IBUILTIN=12
36C
37#elif CPP_mach == CPP_p4linux964_spmd || CPP_mach == CPP_p4linux964
38 CPUNAM = 'linux64'
39#if CPP_rel == 70
40 ARCHTITLE='Linux 64 bits, ARM compiler'
41#elif CPP_rel == 75
42 ARCHTITLE='Linux 64 bits, ARM, GFortran compiler'
43#elif CPP_rel == 80
44 ARCHTITLE='Linux 64 bits, GNU compiler'
45#elif CPP_rel == 96
46 ARCHTITLE='Linux 64 bits, AMD AOCC compiler'
47#elif 1
48 ARCHTITLE='Linux 64 bits, Intel compiler'
49#endif
50 IBUILTIN=18
51C
52#elif 1
53C (elif 1) remplace (else) qui ne marche pas sur sgi6 avec des (elif)
54 DATA CPUNAM /'UNKNOWN PLATFORM'/
55 ARCHTITLE='UNKNOWN PLATFORM'
56 IBUILTIN = 1
57#endif
58C NSPMD=NOMBRE DE PROCESSEURS SPMD
59C NSPMD=1 AUTREMENT
60 NSPMD=1
61C-----------------------
62C options internes
63C-----------------------
64C BMUL0 = 0.25
65 BMUL0 = 0.20 ! nouveau bumult agissant sur la marge
66 IEXPM=1
67C IEXPM=1 allocation dynamique de memoire
68C IEXPM=0 dimension fixe
69
70 ICRAY=0
71 IF (IR4R8 .EQ. 1) THEN
72 IRESP = 1
73 ELSE
74 IRESP = 0
75 ENDIF
76
77C ICRAY=0 non cray
78C ICRAY=1 cray (hpalloc)
79 IRFORM=12
80C IRFORM= 5*irfe + irfl
81C irfl=0 lecture fichiers de restart binaire 32/64 bits
82C irfl=1 lecture ascii
83C irfl=2 lecture ieee 64 bits
84C irfl=3 lecture ieee.Z
85C irfl=4 lecture ieee.gz
86
87C irfe=0 ecriture binaire
88C irfe=1 ecriture ascii
89C irfe=2 ecriture ieee 64 bits
90C irfe=3 ecriture ieee.Z
91C irfe=4 ecriture ieee.gz
92C------------------------------------------------------------------
93 IF (IRESP==1)THEN
94 CPUNAM=CPUNAM(1:LEN_TRIM(CPUNAM))//" sp"
95 ENDIF
96C------------------------------------------------------------------
end diagonal values have been computed in the(sparse) matrix id.SOL