File tree Expand file tree Collapse file tree 3 files changed +4
-20
lines changed Expand file tree Collapse file tree 3 files changed +4
-20
lines changed Original file line number Diff line number Diff line change 3434 - name : Ensure kind is specified
3535 run : fortitude check --file-extensions=f90,fpp,fypp --select=P001 ./src/**
3636
37- double-check :
38- name : Look for double intrinsics
39- runs-on : ' ubuntu-latest'
40-
41- steps :
42- - uses : actions/checkout@v4
43-
44- - name : Check for doubles via grep
37+ - name : No double precision intrinsics
4538 run : |
46- cd src |
47- grep -iR 'dexp\|dlog\|dble\|dabs\|double\ precision\|real(8)\|real(4)\|dprod\|dmin\|dmax\|dfloat\|dreal\|dcos\|dsin\|dtan\|dsign\|dtanh\|dsinh\|dcosh\|\.d0\|\dd0' --exclude-dir=syscheck ./* || true |
48- grep -qiR 'dexp\|dlog\|dble\|dabs\|double\ precision\|real(8)\|real(4)\|dprod\|dmin\|dmax\|dfloat\|dreal\|dcos\|dsin\|dtan\|dsign\|dtanh\|dsinh\|dcosh\|\.d0\|\dd0' --exclude-dir=syscheck ./*
39+ ! grep -iR 'dexp\|dlog\|dble\|dabs\|double\ precision\|real(8)\|real(4)\|dprod\|dmin\|dmax\|dfloat\|dreal\|dcos\|dsin\|dtan\|dsign\|dtanh\|dsinh\|dcosh\|\.d0\|\dd0' --exclude-dir=syscheck ./src/*
Original file line number Diff line number Diff line change @@ -69,9 +69,6 @@ contains
6969
7070 nR3 = dot_product (weights, nRtmp** 3._wp )
7171 ntmp = sqrt ((4._wp * pi/ 3._wp )* nR3/ vftmp)
72- !ntmp = (3._wp / (4._wp * pi))* 0.00001
73-
74- !print * , " nbub" , ntmp
7572
7673 end subroutine s_comp_n_from_cons
7774
@@ -82,15 +79,15 @@ contains
8279
8380 integer :: i, j
8481 integer :: m, n
85- real :: c
82+ real (wp) :: c
8683
8784 m = size (A, 1 )
8885 n = size (A, 2 )
8986
9087 if (present (div)) then
9188 c = div
9289 else
93- c = 1
90+ c = 1._wp
9491 end if
9592
9693 print * , m, n
Original file line number Diff line number Diff line change @@ -74,10 +74,6 @@ module m_mpi_proxy
7474 !> @}
7575 !$acc declare create(v_size)
7676
77- !real :: s_time, e_time
78- !real :: compress_time, mpi_time, decompress_time
79- !integer :: nCalls_time = 0
80-
8177 integer :: nVars !< nVars for surface tension communication
8278 !$acc declare create(nVars)
8379
You can’t perform that action at this time.
0 commit comments