Skip to content

Commit c1a71dd

Browse files
committed
Fix compiler issues
1 parent f152db0 commit c1a71dd

File tree

12 files changed

+231
-123
lines changed

12 files changed

+231
-123
lines changed

src/bc.mod

2 Bytes
Binary file not shown.

src/common.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ c
88
c----------------------------------------------------------------------
99
c
1010
ccccccccc1ccccccccc2ccccccccc3ccccccccc4ccccccccc5ccccccccc6ccccccccc7cc
11-
c real*4 cpunew, cpuold, cpu(20)
11+
real*4 a, cpunew, cpuold, cpu(20)
1212
character*1 ititle
1313
c
1414
common a(1)
@@ -19,16 +19,19 @@ c
1919
common /elmpar/ numel , nen ,
2020
& numsuf, nipt , nsize ,
2121
& nsizet, nodebn, ntotal
22+
2223
c
2324
common /glbpar/ numnp , nsd , ndof , nelx , nelz ,
2425
& necho , inrstr , iorstr , iflow ,
2526
& ntimvs , ntseq , numeg , nwrap , numat,
2627
& neqt , neqv , ipad ,
2728
& iistep , itype , isolve,
2829
& Di , diff_T , cgamma , rho0 , T0
30+
2931
c
3032
common /io / iin, igeom, iout , itsout , itout , imout,
3133
& irsin , irsout, icomp, igeoid
34+
3235
common /ioc / name5
3336
c
3437
common /title / ititle(80)
@@ -46,4 +49,5 @@ c
4649
c
4750
common /fswtch/ FACSTW, restart, itrec
4851
common /timer1/ cpu ,cpunew, cpuold, icode
49-
common /wedge / is_wedge_benchmark
52+
c
53+
c parameter (ireg = 0)

src/fe.mod

3 Bytes
Binary file not shown.

src/materials.mod

3 Bytes
Binary file not shown.

src/mstres.mod

2 Bytes
Binary file not shown.

src/solver.mod

2 Bytes
Binary file not shown.

src/subduct.src/common.h

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/subduct.src/common.h

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
c----------------------------------------------------------------------
2+
c
3+
c This file contains the common blocks and the data declaration
4+
c needed for the routines. Hence, it is not necessary to modify
5+
c the common blocks other than in this file, with the following
6+
c
7+
c
8+
c----------------------------------------------------------------------
9+
c
10+
ccccccccc1ccccccccc2ccccccccc3ccccccccc4ccccccccc5ccccccccc6ccccccccc7cc
11+
real*4 a, cpunew, cpuold, cpu(20)
12+
character*1 ititle
13+
c
14+
common a(1)
15+
c
16+
common /const /zero , pt25, pt33, pt5, pt66, one,
17+
& onept5, two , three, four, sixten, eps7
18+
c
19+
common /elmpar/ numel , nen ,
20+
& numsuf, nipt , nsize ,
21+
& nsizet, nodebn, ntotal
22+
23+
c
24+
common /glbpar/ numnp , nsd , ndof , nelx , nelz ,
25+
& necho , inrstr , iorstr , iflow ,
26+
& ntimvs , ntseq , numeg , nwrap , numat,
27+
& neqt , neqv , ipad ,
28+
& iistep , itype , isolve,
29+
& Di , diff_T , cgamma , rho0 , T0
30+
31+
c
32+
common /io / iin, igeom, iout , itsout , itout , imout,
33+
& irsin , irsout, icomp, igeoid
34+
35+
common /ioc / name5
36+
c
37+
common /title / ititle(80)
38+
c
39+
common /tmdata/dt , time ,
40+
& alpha , accel,
41+
& time0 , tmax , tsave ,
42+
& t_ini , t_end , datasv ,
43+
& tmovis ,
44+
& lstep , npass , istep0 , nstep ,
45+
& niter , nstprt
46+
47+
c
48+
common /box / pert , xsize , zsize
49+
c
50+
common /fswtch/ FACSTW, restart, itrec
51+
common /timer1/ cpu ,cpunew, cpuold, icode
52+
c
53+
c parameter (ireg = 0)

src/utils.src/common.h

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/utils.src/common.h

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
c----------------------------------------------------------------------
2+
c
3+
c This file contains the common blocks and the data declaration
4+
c needed for the routines. Hence, it is not necessary to modify
5+
c the common blocks other than in this file, with the following
6+
c
7+
c
8+
c----------------------------------------------------------------------
9+
c
10+
ccccccccc1ccccccccc2ccccccccc3ccccccccc4ccccccccc5ccccccccc6ccccccccc7cc
11+
real*4 a, cpunew, cpuold, cpu(20)
12+
character*1 ititle
13+
c
14+
common a(1)
15+
c
16+
common /const /zero , pt25, pt33, pt5, pt66, one,
17+
& onept5, two , three, four, sixten, eps7
18+
c
19+
common /elmpar/ numel , nen ,
20+
& numsuf, nipt , nsize ,
21+
& nsizet, nodebn, ntotal
22+
23+
c
24+
common /glbpar/ numnp , nsd , ndof , nelx , nelz ,
25+
& necho , inrstr , iorstr , iflow ,
26+
& ntimvs , ntseq , numeg , nwrap , numat,
27+
& neqt , neqv , ipad ,
28+
& iistep , itype , isolve,
29+
& Di , diff_T , cgamma , rho0 , T0
30+
31+
c
32+
common /io / iin, igeom, iout , itsout , itout , imout,
33+
& irsin , irsout, icomp, igeoid
34+
35+
common /ioc / name5
36+
c
37+
common /title / ititle(80)
38+
c
39+
common /tmdata/dt , time ,
40+
& alpha , accel,
41+
& time0 , tmax , tsave ,
42+
& t_ini , t_end , datasv ,
43+
& tmovis ,
44+
& lstep , npass , istep0 , nstep ,
45+
& niter , nstprt
46+
47+
c
48+
common /box / pert , xsize , zsize
49+
c
50+
common /fswtch/ FACSTW, restart, itrec
51+
common /timer1/ cpu ,cpunew, cpuold, icode
52+
c
53+
c parameter (ireg = 0)

0 commit comments

Comments
 (0)