Skip to content

Commit facc1c3

Browse files
committed
final polishing with new mpi code and wrt computation
1 parent d8ec81e commit facc1c3

File tree

20 files changed

+207
-53
lines changed

20 files changed

+207
-53
lines changed

COMMIT

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
============================================================
22

3+
Thu Apr 19 16:58:14 CEST 2018
4+
5+
final polishing with new mpi code and wrt computation
6+
7+
LOG | 66 ++++++++++++++++++++++++++++++++++++++
8+
RELEASE_NOTES | 9 ++++++
9+
fem3d/MPI_todo | 1 +
10+
fem3d/Makefile | 13 ++++----
11+
fem3d/mod_shympi_node.f | 2 +-
12+
fem3d/mod_shympi_node_internal.f | 2 +-
13+
fem3d/shypre.f | 1 +
14+
fem3d/subnev.f | 18 +++++------
15+
fem3d/subver.f | 7 ++--
16+
fem3d/subwrt.f | 67 +++++++++++++++++++++++++++------------
17+
femdoc/final/shyfem.pdf | Bin 293477 -> 293480 bytes
18+
femplot/Makefile | 3 +-
19+
femplot/col.f | 12 ++++---
20+
femplot/mod_hydro_plot.f | 3 ++
21+
femplot/supbas.f | 2 ++
22+
femplot/supiso.f | 5 +++
23+
femplot/supout.f | 8 ++++-
24+
femplot/supsim.f | 9 ++++--
25+
18 files changed, 177 insertions(+), 51 deletions(-)
26+
27+
============================================================
28+
329
Wed Apr 18 18:47:01 CEST 2018
430

531
some work on WRT, cleaned up mpi

LOG

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,70 @@
11

2+
19.04.2018
3+
4+
c ./fem3d/shypre.f:
5+
c 13.04.2018 ggu accepts partition to write bas file with node partition
6+
c
7+
c ./femplot/supiso.f:
8+
c 18.04.2018 ggu use bplot to decide what element to plot
9+
c
10+
c ./femplot/supout.f:
11+
c 18.04.2018 ggu set up bkplot (node to be plotted)
12+
c
13+
c ./femplot/supbas.f:
14+
c 18.04.2018 ggu use also bkplot to decide what part of boundary to plot
15+
c
16+
c ./fem3d/basutil.f:
17+
! 13.04.2018 ggu new routine for partitioning
18+
!
19+
c ./fem3d/subshyutil.f:
20+
! 10.04.2018 ggu prepare for mpi version (collect array and write)
21+
! 11.04.2018 ggu bug fix and hydro write
22+
!
23+
c ./fem3d/shybas.f:
24+
c 04.04.2018 ggu new code for real area (m) and explicit stability
25+
c 04.04.2018 ggu new code for nodal partition check and write
26+
c 13.04.2018 ggu new routine to elab partition and write to file
27+
c
28+
c ./fem3d/subtime.f:
29+
c 13.04.2018 ggu hydro_stability includes explicit gravity wave
30+
c 13.04.2018 ggu set_timestep now is working with mpi
31+
c 16.04.2018 ggu write warning if time step is over recommended one
32+
c
33+
c ./fem3d/subn11.f:
34+
c 04.04.2018 ggu initialization for zeta revised for mpi
35+
c
36+
c ./fem3d/basutil_part.f:
37+
! 16.04.2018 ggu partitioning finished
38+
c
39+
c ./fem3d/mod_shympi_dummy.f:
40+
! 10.04.2018 ggu adjourned with new function calls
41+
!
42+
c ./fem3d/subousa.f:
43+
c 11.04.2018 ggu mpi version is ready and working
44+
c
45+
c ./fem3d/mod_shympi_node_internal.f:
46+
! 10.04.2018 ggu code to exchange arrays
47+
!
48+
c ./fem3d/subscn.f:
49+
! 10.04.2018 ggu ialfa now handles ndec < -1 gracefully
50+
!
51+
c ./fem3d/newstab.f:
52+
c 13.04.2018 ggu re-structured, included gravity wave stability
53+
c 16.04.2018 ggu use also ilin to compute stability
54+
c
55+
c ./fem3d/mod_shympi_node.f:
56+
! 04.04.2018 ggu new routine shympi_exit
57+
! 04.04.2018 ggu bug fix on scalar reduction (argument was changed)
58+
! 10.04.2018 ggu code to exchange arrays
59+
!
60+
c ./fem3d/subwrt.f:
61+
c 16.04.2018 ggu restructured, new computation of WRT (see WRTOLD)
62+
c 18.04.2018 ggu restructured, some bugs fixed
63+
c
64+
c ./fem3d/subshy.f:
65+
! 10.04.2018 ggu allow for file to be initialized but not opened
66+
67+
268
03.04.2018
369

470
c ./fem3d/subtime.f:

RELEASE_NOTES

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11

2+
19.04.2018 VERS_7_5_45
3+
4+
first working version for MPI with partition on nodes
5+
writing shy and ext files under mpi
6+
for shyplot new bkplot
7+
for shybas and shypre new code for partition
8+
stability computation also with gravity wave
9+
wrt made ready for mpi
10+
211
03.04.2018 VERS_7_5_44
312

413
time management now fully in double precision

VERSION

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
version 7_5_44 03-04-2018 VERS_7_5_44 commit_2018-04-19
2+
13
version 7_5_44 03-04-2018 VERS_7_5_44 commit_2018-04-18
24

35
version 7_5_44 03-04-2018 VERS_7_5_44 commit_2018-04-15

fem3d/MPI_todo

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ nadist
44
lagrangian
55
semi-implicit
66
fluxes
7+
area
78
tilting
89
off-line
910
box-model

fem3d/Makefile

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -842,6 +842,8 @@ last:
842842
../femlib/mod/PROCEDURE.mod: mod_shympi_dummy.o
843843
../femlib/mod/PROCEDURE.mod: mod_shympi_dummy.o
844844
../femlib/mod/PROCEDURE.mod: mod_shympi_dummy.o
845+
../femlib/mod/PROCEDURE.mod: mod_shympi_dummy.o
846+
../femlib/mod/PROCEDURE.mod: mod_shympi_node.o
845847
../femlib/mod/PROCEDURE.mod: mod_shympi_node.o
846848
../femlib/mod/PROCEDURE.mod: mod_shympi_node.o
847849
../femlib/mod/PROCEDURE.mod: mod_shympi_node.o
@@ -1003,14 +1005,14 @@ basutil_box.o: ../femlib/mod/basin.mod ../femlib/mod/basutil.mod \
10031005
../femlib/mod/evgeom.mod \
10041006
../femlib/mod/mod_depth.mod \
10051007
../femlib/mod/mod_geom.mod
1006-
basutil_custom.o: ../femlib/mod/basin.mod \
1007-
../femlib/mod/basutil.mod ../femlib/mod/evgeom.mod \
1008-
../femlib/mod/grd.mod ../femlib/mod/mod_depth.mod \
1009-
../femlib/mod/mod_geom.mod
10101008
basutil_hsigma.o: ../femlib/mod/basin.mod \
10111009
../femlib/mod/mod_depth.mod
10121010
basutil_interp.o: ../femlib/mod/basin.mod \
10131011
../femlib/mod/mod_depth.mod param.h
1012+
basutil_part.o: ../femlib/mod/basin.mod ../femlib/mod/basutil.mod \
1013+
../femlib/mod/evgeom.mod ../femlib/mod/grd.mod \
1014+
../femlib/mod/mod_depth.mod \
1015+
../femlib/mod/mod_geom.mod
10141016
basutil_resol.o: ../femlib/mod/basin.mod ../femlib/mod/basutil.mod \
10151017
../femlib/mod/mod_depth.mod
10161018
basutil_smooth.o: ../femlib/mod/basin.mod \
@@ -1262,8 +1264,7 @@ newpoi.o: ../femlib/mod/basin.mod ../femlib/mod/evgeom.mod \
12621264
newrog.o: ../femlib/mod/basin.mod param.h
12631265
newstab.o: ../femlib/mod/basin.mod ../femlib/mod/levels.mod \
12641266
../femlib/mod/mod_diff_visc_fric.mod \
1265-
../femlib/mod/mod_hydro.mod \
1266-
../femlib/mod/shympi.mod femtime.h pkonst.h
1267+
../femlib/mod/mod_hydro.mod femtime.h pkonst.h
12671268
newtra.o: ../femlib/mod/basin.mod ../femlib/mod/evgeom.mod \
12681269
../femlib/mod/levels.mod \
12691270
../femlib/mod/mod_depth.mod \

fem3d/mod_shympi_node.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ subroutine shympi_init(b_want_mpi)
326326
nkn_unique = nkn
327327
nel_unique = nel
328328

329-
write(6,*) 'calling shympi_init_internal'
329+
!write(6,*) 'calling shympi_init_internal'
330330
call shympi_init_internal(my_id,n_threads)
331331
!call check_part_basin('nodes')
332332

fem3d/mod_shympi_node_internal.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ subroutine shympi_init_internal(my_id,n_threads)
9090
bpmaster = ( my_p_id == 0 )
9191
bpmpi = ( n_p_threads > 1 )
9292

93-
write(6,*) 'MPI internally initialized: ',my_id,n_threads
93+
!write(6,*) 'MPI internally initialized: ',my_id,n_threads
9494

9595
end subroutine shympi_init_internal
9696

fem3d/shypre.f

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
c 04.10.2013 ggu in optest better error handling
3333
c 30.07.2015 ggu vp renamed to shypre
3434
c 17.11.2017 ggu implement output switches (quiet,silent,etc..)
35+
c 13.04.2018 ggu accepts partition to write bas file with node partition
3536
c
3637
c notes :
3738
c

fem3d/subnev.f

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ subroutine check_spheric_ev
427427
stop 'error stop check_spheric_ev: isphe'
428428
end if
429429

430-
if( shympi_is_master() ) then
430+
if( shympi_is_master() .and. bmpi_debug ) then
431431
write(6,*) 'isphe_mpi: ',my_id,isphe
432432
end if
433433

@@ -439,21 +439,21 @@ subroutine check_spheric_ev
439439
isphe_ev = isphe
440440
init_ev = .true.
441441

442-
if( shympi_is_master() ) then
442+
if( shympi_is_master() .and. verbose_ev ) then
443443
if( isphe == 1 ) then
444444
write(6,*) 'using lat/lon coordinates'
445445
else
446446
write(6,*) 'using cartesian coordinates'
447447
end if
448448
end if
449449

450-
if( verbose_ev ) then
451-
if( isphe == 1 ) then
452-
write(6,*) 'using lat/lon coordinates'
453-
else
454-
write(6,*) 'using cartesian coordinates'
455-
end if
456-
end if
450+
!if( verbose_ev ) then
451+
! if( isphe == 1 ) then
452+
! write(6,*) 'using lat/lon coordinates'
453+
! else
454+
! write(6,*) 'using cartesian coordinates'
455+
! end if
456+
!end if
457457

458458
end
459459

0 commit comments

Comments
 (0)