Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PETSc integration without using pragma directives and MESON build system setup #39

Merged
merged 71 commits into from
Apr 23, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
aef23e2
Adding meson build system setup to compile shyfem with main tools and…
CeliaLaurent Dec 21, 2020
334ce76
test (#36)
CeliaLaurent Mar 11, 2021
d24573a
bug fixes in box model
georgu Mar 24, 2021
c564785
diagnostic output in newbcl
georgu Mar 24, 2021
1f24054
enhancements to rstinf
georgu Mar 26, 2021
59b66e1
some more on restart
georgu Mar 27, 2021
9a86b68
more on restart
georgu Mar 27, 2021
0697254
hydro gis with header
georgu Mar 30, 2021
f06846c
more work on debug output
georgu Mar 30, 2021
ead822d
Removing mod_petsc.f and implementation in simsys_petsc.f of the dire…
CeliaLaurent Apr 2, 2021
7b9d6ca
Merge remote-tracking branch 'myfork/meson' into petsc_meson
CeliaLaurent Apr 2, 2021
ed46fb5
Merge branch 'petsc_dev' into petsc_meson
CeliaLaurent Apr 2, 2021
959d141
Removing unused MOD_PETSc from Makefile and fixing target requirement…
CeliaLaurent Apr 2, 2021
7bcb07c
Merge branch 'petsc_dev' into petsc_meson
CeliaLaurent Apr 2, 2021
6379765
Fixing type issue in fem3d/mod_shympi_node.f causing compilation erro…
CeliaLaurent Apr 2, 2021
09275cc
Merge branch 'petsc_dev' into petsc_meson
CeliaLaurent Apr 2, 2021
9245d40
1) updating meson.build doing substitution of mod_petsc.f with simsys…
CeliaLaurent Apr 2, 2021
a3dedb4
Fixing more issues in solver intercompatibility
CeliaLaurent Apr 2, 2021
fc74d0d
Merge branch 'petsc_dev' into petsc_meson
CeliaLaurent Apr 2, 2021
4ccfc27
Merge branch 'develop' into petsc_dev
CeliaLaurent Apr 2, 2021
ec86825
restart changes
georgu Apr 6, 2021
68b7f17
some mpi bug fixes
georgu Apr 9, 2021
dae43a4
more for boxes
georgu Apr 10, 2021
ba0b19c
diagnostics on T/S
georgu Apr 14, 2021
06abd39
bug fix (atime)
georgu Apr 14, 2021
96254aa
still on diagnostics
georgu Apr 14, 2021
e22e60f
ice module debugging
georgu Apr 16, 2021
e889df4
ice debugging
shyfem-cm Apr 17, 2021
7f6bbf8
write 2d shyfiles in mpi mode
georgu Apr 17, 2021
2fd02c3
some bux fixes
georgu Apr 17, 2021
9067a96
Merge branch 'develop' of https://github.com/SHYFEM-model/shyfem into…
georgu Apr 17, 2021
dc4c581
fix typo error in simsys_pard and remove debug messages from mod_shym…
CeliaLaurent Apr 19, 2021
e715184
Merge branch 'develop' into petsc
CeliaLaurent Apr 19, 2021
7aef602
Merge branch 'petsc' into petsc_dev
CeliaLaurent Apr 19, 2021
c9c9d6b
Remove undefined mod_turbulence from Makefile
CeliaLaurent Apr 19, 2021
f4849b9
Merge branch 'petsc_dev' into petsc_meson
CeliaLaurent Apr 19, 2021
9a9f6d0
Removing dependence to pragma directives in new3di.f by adding use_PE…
CeliaLaurent Apr 20, 2021
5e47506
Reintroducing branch prediction optimization
CeliaLaurent Apr 20, 2021
82d1047
Fix meson tests handling of .petscrc files
CeliaLaurent Apr 20, 2021
760bef5
replace mod_turbulence by mod_keps in meson.build
CeliaLaurent Apr 20, 2021
5dc807b
Merge branch 'petsc_dev' into petsc_meson
CeliaLaurent Apr 20, 2021
c506b58
Minor changes to adapt files to the petsc branch
CeliaLaurent Apr 20, 2021
25fc5b7
check on shy file writing
georgu Apr 20, 2021
ebbfa00
syncing for shy files introduced
georgu Apr 20, 2021
13c7602
Merge branch 'develop' of https://github.com/SHYFEM-model/shyfem into…
georgu Apr 20, 2021
866f67d
minor
georgu Apr 20, 2021
e947a1c
replacing use_AmgX pragma directive with a logical fortran variable
CeliaLaurent Apr 20, 2021
d58c521
Removing last calls to pragma directives in newnohydro.f and mod_pets…
CeliaLaurent Apr 20, 2021
42ea864
Merge branch 'petsc_dev' into petsc_meson
CeliaLaurent Apr 20, 2021
234615f
Removing use_PETSc/AngX/SPK pragma directives from meson.build and ad…
CeliaLaurent Apr 20, 2021
48dcc76
Adding dummy amgx wrapper file to use with PETSc when AmgX is not pre…
CeliaLaurent Apr 20, 2021
7536464
Merge branch 'petsc_dev' into petsc_meson
CeliaLaurent Apr 20, 2021
3f4aabb
Merge branch 'develop' into petsc
CeliaLaurent Apr 20, 2021
18dd048
Merge branch 'petsc' into petsc_meson
CeliaLaurent Apr 20, 2021
bce6434
calling compiler-specific file descriptor function for intel and gnu
CeliaLaurent Apr 21, 2021
9fbdf7b
adding revision log
CeliaLaurent Apr 21, 2021
bae9759
Merge branch 'petsc' into petsc_meson
CeliaLaurent Apr 21, 2021
c4e87d3
Resetting NORMAL compilation profile
CeliaLaurent Apr 21, 2021
07e98af
Removing -fimplicit-none flag incompatible con old fortran files
CeliaLaurent Apr 22, 2021
7cb2cdc
Adding missing test files IMPLICIT_PETSc_AMGX.000*.str
CeliaLaurent Apr 22, 2021
a78d33c
some errors fixed due to bounds check
georgu Apr 22, 2021
5c33fc9
populate_string added to utils
georgu Apr 22, 2021
efff040
check bounds resolved
georgu Apr 22, 2021
60a03c5
fixed problem with bounds check and shyparts_metis
georgu Apr 22, 2021
bab6a1c
Rules.make with new compiler options
georgu Apr 22, 2021
c947077
Merge branch 'develop' of github.com:SHYFEM-model/shyfem into develop
CeliaLaurent Apr 23, 2021
07270fa
Merge branch 'develop' into petsc
CeliaLaurent Apr 23, 2021
f72ee5f
Fixing Rules.make for PETSc
CeliaLaurent Apr 23, 2021
46bf818
Few fixes to clean version respect to actual develop branch and fix e…
CeliaLaurent Apr 23, 2021
f2508b2
Few small fixes and adding log messages
CeliaLaurent Apr 23, 2021
a11bee8
Removing unnecessary tests_meson .str files
CeliaLaurent Apr 23, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
populate_string added to utils
  • Loading branch information
georgu committed Apr 22, 2021
commit 5c33fc90666c63f1aad6ba09b0affa96b24994a5
17 changes: 17 additions & 0 deletions COMMIT
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
============================================================

Thu Apr 22 16:31:05 CEST 2021

populate_string added to utils

fem3d/Makefile | 5 +++--
fem3d/extelab1.f | 2 ++
fem3d/femelab1.f | 2 ++
fem3d/flxelab1.f | 2 ++
fem3d/lgrelab.f | 2 ++
fem3d/shyelab.f | 2 ++
fem3d/shyelab1.f | 2 ++
fem3d/substrings.f | 2 +-
fem3d/tselab1.f | 2 ++
9 files changed, 18 insertions(+), 3 deletions(-)

============================================================

Thu Apr 22 16:16:40 CEST 2021

some errors fixed due to bounds check
Expand Down
2 changes: 2 additions & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
version 7_5_70 19-05-2020 VERS_7_5_70 commit_2021-04-22

version 7_5_70 19-05-2020 VERS_7_5_70 commit_2021-04-22

version 7_5_70 19-05-2020 VERS_7_5_70 commit_2021-04-20

version 7_5_70 19-05-2020 VERS_7_5_70 commit_2021-04-20
Expand Down
5 changes: 3 additions & 2 deletions fem3d/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -535,8 +535,9 @@ EXEINFO = rstinf rst2shy tselab \
femelab femelab2 \
femintp \
femtide \
shypart shyparts
# also include femcombine
shypart shyparts \
femcombine

EXESPLIT =
EXELAP =
EXEBAS =
Expand Down
2 changes: 2 additions & 0 deletions fem3d/extelab1.f
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ subroutine extelab
call clo_get_next_file(file)
nin = ifileo(0,file,'unform','old')

call populate_strings

call ext_is_ext_file(nin,nvers)
if( nvers .le. 0 ) then
write(6,*) 'nvers: ',nvers
Expand Down
2 changes: 2 additions & 0 deletions fem3d/femelab1.f
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ subroutine allocate_vars(nvar,np,lmax,hlv,hd,ilhkv
call clo_get_next_file(infile)
if( infile .eq. ' ' ) stop

call populate_strings

np = 0
call fem_file_read_open(infile,np,iformat,iunit)
if( iunit .le. 0 ) stop
Expand Down
2 changes: 2 additions & 0 deletions fem3d/flxelab1.f
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ subroutine flxelab
call clo_get_next_file(file)
nin = ifileo(0,file,'unform','old')

call populate_strings

call flx_is_flx_file(nin,nvers)
if( nvers .le. 0 ) then
write(6,*) 'nvers: ',nvers
Expand Down
2 changes: 2 additions & 0 deletions fem3d/lgrelab.f
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ program lgrelab
write(6,*) 'mtype,nvers: ',mtype,nvers
if( mtype .ne. 367265 ) stop 'error stop: mtype'

call populate_strings

allocate(ielems(0:3,nel))

do i=0,3
Expand Down
2 changes: 2 additions & 0 deletions fem3d/shyelab.f
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ program shyelab
call clo_get_last_file(file)
call check_file_type(file,type)

call populate_strings

if( type == 'NONE' ) then
call elabutil_init('NONE','shyelab')
else if( type == 'NOTEXIST' ) then
Expand Down
2 changes: 2 additions & 0 deletions fem3d/shyelab1.f
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ subroutine shyelab1

!call shympi_init(.false.)

call populate_strings

!--------------------------------------------------------------
! open input files
!--------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion fem3d/substrings.f
Original file line number Diff line number Diff line change
Expand Up @@ -1082,7 +1082,7 @@ subroutine list_strings
!****************************************************************
!****************************************************************

recursive subroutine populate_strings
subroutine populate_strings

! populates string information
!
Expand Down
2 changes: 2 additions & 0 deletions fem3d/tselab1.f
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ subroutine tselab
call clo_get_next_file(infile)
if( infile .eq. ' ' ) stop

call populate_strings

if( .not. check_ts_file(infile) ) then
stop 'error stop tselab: not a valid time series file'
end if
Expand Down