Custom Query (2547 matches)
Results (91 - 93 of 2547)
Ticket | Resolution | Summary | Owner | Reporter | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
#2597 | duplicate | cleaning/upgrade of MPI interface | systeam | smasson | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description |
Context1) Review, simplification and cleaning of the MPI interface is needed 2) There is a few bugs:
3) There is other things to further improve:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#2595 | fixed | Swap DO_2D and DO_3D* macro arguments to a more natural i-j-k ordering | systeam | acc | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description |
ContextThe arguments to the current DO_LOOP macros have to specified in an order that can cause confusion. Currently, it is j-loop limits followed by i-loop limits followed (in the 3D cases) by k-loop limits. The order was chosen for the original 2D macros to reflect the nested order of the loops but should be changed to a more natural ordering. AnalysisThis is relatively simple to achieve. This perl script will locate and swap the entries: #!/bin/bash # DOSTRS=( DO_2D DO_3D ) # # build a list of files that need to be changed # listfile=tmplistfile$$.txt for iunit in ${DOSTRS[@]} do grep -l $iunit `find ./ -name '*.[fFh]90'` >> $listfile done allfiles=`cat $listfile | grep -v substitute | sort -u` echo $allfiles # if [ -f $listfile ] ; then rm $listfile; fi for f in $allfiles do echo "Working on " $f n=0 for n in `seq 0 1 $(( ${#DOSTRS[*]} - 1 ))` do perl -ni -e 'unless ( m@^\s*'${DOSTRS[$n]}'@) { print } else { $line= $_ ; $line=~s@(^\s*'${DOSTRS[$n]}'.*\()([^\,]*),([^\,]*),([^\,]*),(\s*[^\,\s\)]*)(.*)@\1\4,\5,\2,\3\6@ ; print $line }' $f done done And the changes to do_loop_substitute.h90 are straight-forward:
Additionally, because the majority of loop pairs have matching offset limits , only these modules are actually altered by this change: M src/ABL/ablmod.F90 M src/ICE/icedyn_adv_pra.F90 M src/ICE/icedyn_adv_umx.F90 M src/OCE/DIA/diaptr.F90 M src/OCE/DOM/dommsk.F90 M src/OCE/DYN/dynldf_iso.F90 M src/OCE/DYN/dynspg_ts.F90 M src/OCE/ISF/isftbl.F90 M src/OCE/SBC/geo2ocean.F90 M src/OCE/SBC/sbcice_cice.F90 M src/OCE/TRA/traadv_qck.F90 M src/OCE/TRA/trabbl.F90 M src/OCE/TRA/traldf_lap_blp.F90 M src/OCE/TRA/traldf_triad.F90 M src/OCE/TRA/tranpc.F90 M src/OCE/TRA/traqsr.F90 M src/OCE/TRA/trasbc.F90 M src/OCE/ZDF/zdfosm.F90 M src/OCE/do_loop_substitute.h90 M src/TOP/TRP/trcsbc.F90 M src/TOP/trcbc.F90 RecommendationMake this change. Confirm before and after SETTE results match and commit asap ... |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
#2594 | fixed | Misplaced boundary conditions on avm with AGRIF | systeam | jchanut | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description |
ContextAGRIF boundary condition on avm (with tke or gls schemes) AnalysisThe boundary condition on vertical viscosity (needed with schemes that do use vertical shear) is applied on avm_k, after avm has been updated by avm_k. Hence it does really overwrite the current value of avm as seen in outputs. However, this has no impact on the results. FixCall Agrif_avm before setting avm=avm_k so that correct boundary value is found in outputs ... |