Skip to content

Commit c272869

Browse files
Use pyft version 0.1.1
1 parent dc0be8a commit c272869

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

build/with_fcm/arch/arch-pgi_CPU_preGPU_MFflavour.env

+7-7
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ specificTransfos="^(./)?progs/:=:
3939
^(./)?turb/mode_tridiag_w\.F90:=:--empty --simplify
4040
^(./)?micro/mode_lima:=:
4141
^(./)?micro/lima:=:
42-
^(./)?micro/lima_adjust_split\.F90:=:--removeCall sub:LIMA_ADJUST_SPLIT CONDENSATION
42+
^(./)?micro/lima_adjust_split\.F90:=:--removeCall CONDENSATION
4343
^(./)?micro/[_.a-z0-9]*\.h:=:
4444
^(./)?turb/[_.a-z0-9]*\.h:=:"
4545

@@ -62,8 +62,8 @@ PYFT_OPTS_MNH="$PYFT_OPTS_MNH --buildACCTypeHelpers"
6262
PYFT_OPTS_MNH="$PYFT_OPTS_MNH --addArrayParentheses --expandAllArraysPHYEX --attachArraySpecToEntity --applyCPPifdef %REPRO48 --replaceAutomaticWithAllocatable"
6363
PYFT_OPTS_MNH="$PYFT_OPTS_MNH
6464
$specificTransfos
65-
^(./)?turb/mode_bl_depth_diag.F90:=:--removeCall module:MODE_BL_DEPTH_DIAG/sub:BL_DEPTH_DIAG_1D BL_DEPTH_DIAG_3D $PYFT_OPTS_MNH
66-
^(./)?micro/rain_ice.F90:=:--removeCall sub:RAIN_ICE ELEC_TENDENCIES $PYFT_OPTS_MNH"
65+
^(./)?turb/mode_bl_depth_diag.F90:=:--removeCall BL_DEPTH_DIAG_3D $PYFT_OPTS_MNH
66+
^(./)?micro/rain_ice.F90:=:--removeCall ELEC_TENDENCIES $PYFT_OPTS_MNH"
6767

6868
#For IAL, stack transformation is replaced by allocatables
6969
#source this file, then: "export PYFT_OPTS_IAL; check_commit_ial.sh --prep_code-opts '--pyft_opts_env PYFT_OPTS_IAL' ...."
@@ -80,8 +80,8 @@ PYFT_OPTS_IAL="$PYFT_OPTS_IAL --buildACCTypeHelpers"
8080
PYFT_OPTS_IAL="$PYFT_OPTS_IAL --addArrayParentheses --expandAllArraysPHYEX --attachArraySpecToEntity --applyCPPifdef REPRO48 --deleteNonColumnCallsPHYEX --replaceAutomaticWithAllocatable"
8181
PYFT_OPTS_IAL="$PYFT_OPTS_IAL
8282
$specificTransfos
83-
^(./)?turb/mode_bl_depth_diag.F90:=:--removeCall module:MODE_BL_DEPTH_DIAG/sub:BL_DEPTH_DIAG_1D BL_DEPTH_DIAG_3D $PYFT_OPTS_IAL
84-
^(./)?micro/rain_ice.F90:=:--removeCall sub:RAIN_ICE ELEC_TENDENCIES $PYFT_OPTS_IAL"
83+
^(./)?turb/mode_bl_depth_diag.F90:=:--removeCall BL_DEPTH_DIAG_3D $PYFT_OPTS_IAL
84+
^(./)?micro/rain_ice.F90:=:--removeCall ELEC_TENDENCIES $PYFT_OPTS_IAL"
8585

8686
#For testprogs
8787
#check_commit_testprogs.sh -a <this conf>
@@ -100,6 +100,6 @@ PYFT_OPTS="$PYFT_OPTS --applyCPPifdef REPRO48 --deleteNonColumnCallsPHYEX --remo
100100
PYFT_OPTS="$PYFT_OPTS --removeACC --addACCRoutineSeq" #remove pre-existing ACC directives, then add 'acc routine seq' directive
101101
PYFT_OPTS="$PYFT_OPTS
102102
$specificTransfos
103-
^(./)?turb/mode_bl_depth_diag\.F90:=:--removeCall module:MODE_BL_DEPTH_DIAG/sub:BL_DEPTH_DIAG_1D BL_DEPTH_DIAG_3D $PYFT_OPTS
104-
^(./)?micro/rain_ice\.F90:=:--removeCall sub:RAIN_ICE ELEC_TENDENCIES $PYFT_OPTS"
103+
^(./)?turb/mode_bl_depth_diag\.F90:=:--removeCall BL_DEPTH_DIAG_3D $PYFT_OPTS
104+
^(./)?micro/rain_ice\.F90:=:--removeCall ELEC_TENDENCIES $PYFT_OPTS"
105105

tools/INSTALL.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
set -e
55
set -o pipefail #abort if left command on a pipe fails
66

7-
pyft_version=76f61bcd9eae523ced16e8d854e0f065fa82078e
7+
pyft_version=tags/0.1.1
88

99
#This script installs PHYEX
1010
#Call the script with the -h option to get more information.

tools/pybinding.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def pybinding(fortran_in, scope, fortran_out, python_out, libso,
5555
docstringIN = ["Input arguments:"]
5656
docstringOUT = ["Output arguments:"]
5757
for N in scopeNode.findall('.//{*}dummy-arg-LT/{*}arg-N/{*}N'):
58-
var = pftin.varList.findVar(n2name(N), scope, exactScope=True)
58+
var = scopeNode.varList.findVar(n2name(N), exactScope=True)
5959
vartype = var['t'].replace(' ', '').upper()
6060
if vartype == 'TYPE(DIMPHYEX_T)':
6161
moduleList.append('USE MODD_DIMPHYEX, ONLY: DIMPHYEX_t')

0 commit comments

Comments
 (0)