Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Méso-NH code
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RODIER Quentin
Méso-NH code
Commits
ab9f6bc0
Commit
ab9f6bc0
authored
6 years ago
by
WAUTELET Philippe
Browse files
Options
Downloads
Patches
Plain Diff
Philippe 22/01/2019: use sleep_c subroutine instead of non-standard call system
parent
78d2af66
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/LIB/SURCOUCHE/src/mode_mppdb.f90
+6
-3
6 additions, 3 deletions
src/LIB/SURCOUCHE/src/mode_mppdb.f90
with
6 additions
and
3 deletions
src/LIB/SURCOUCHE/src/mode_mppdb.f90
+
6
−
3
View file @
ab9f6bc0
...
@@ -13,11 +13,15 @@ MODULE MODE_MPPDB
...
@@ -13,11 +13,15 @@ MODULE MODE_MPPDB
! Philippe Wautelet: 05/2016-04/2018: new data structures and calls for I/O
! Philippe Wautelet: 05/2016-04/2018: new data structures and calls for I/O
! Philippe Wautelet: 10/01/2019: use NEWUNIT argument of OPEN
! Philippe Wautelet: 10/01/2019: use NEWUNIT argument of OPEN
! Philippe Wautelet: 22/01/2019: use standard FLUSH statement instead of non standard intrinsics
! Philippe Wautelet: 22/01/2019: use standard FLUSH statement instead of non standard intrinsics
! Philippe Wautelet: 22/01/2019: use sleep_c subroutine instead of non-standard call system
!
!
use
ISO_FORTRAN_ENV
,
only
:
OUTPUT_UNIT
use
ISO_FORTRAN_ENV
,
only
:
OUTPUT_UNIT
use
modi_tools_c
IMPLICIT
NONE
IMPLICIT
NONE
INTEGER
,
PARAMETER
::
NSLEEP
=
30
!Sleep duration to wait for (in seconds)
INTEGER
,
PARAMETER
::
chlg
=
256
INTEGER
,
PARAMETER
::
chlg
=
256
CHARACTER
(
LEN
=
chlg
),
PARAMETER
::
MPPDB_CONF
=
"mppdb.nam"
CHARACTER
(
LEN
=
chlg
),
PARAMETER
::
MPPDB_CONF
=
"mppdb.nam"
...
@@ -28,7 +32,6 @@ MODULE MODE_MPPDB
...
@@ -28,7 +32,6 @@ MODULE MODE_MPPDB
CHARACTER
(
LEN
=
chlg
)
::
MPPDB_HOST
=
"localhost"
CHARACTER
(
LEN
=
chlg
)
::
MPPDB_HOST
=
"localhost"
CHARACTER
(
LEN
=
chlg
)
::
MPPDB_WDIR
=
"."
CHARACTER
(
LEN
=
chlg
)
::
MPPDB_WDIR
=
"."
INTEGER
::
MPPDB_NBSON
=
1
INTEGER
::
MPPDB_NBSON
=
1
CHARACTER
(
LEN
=
chlg
)
::
MPPDB_COMMAND
=
" sleep "
//
" 30 "
INTEGER
::
MPPDB_INTER_COMM
,
MPPDB_INTRA_COMM
INTEGER
::
MPPDB_INTER_COMM
,
MPPDB_INTRA_COMM
INTEGER
::
MPPDB_IRANK_WORLD
,
MPPDB_IRANK_INTRA
INTEGER
::
MPPDB_IRANK_WORLD
,
MPPDB_IRANK_INTRA
...
@@ -192,7 +195,7 @@ CONTAINS
...
@@ -192,7 +195,7 @@ CONTAINS
!
!
CALL
MPI_BARRIER
(
MPPDB_INTRA_COMM
,
ierr
)
CALL
MPI_BARRIER
(
MPPDB_INTRA_COMM
,
ierr
)
! WAIT FOR TOTALVIEW IF NEEDED
! WAIT FOR TOTALVIEW IF NEEDED
call
s
ystem
(
MPPDB_COMMAND
)
call
s
leep_c
(
NSLEEP
)
!
!
ELSE
! (MPPDB_INTER_COMM <> MPI_COMM_NULL)
ELSE
! (MPPDB_INTER_COMM <> MPI_COMM_NULL)
!-------------------------------------------------------------------------!
!-------------------------------------------------------------------------!
...
@@ -220,7 +223,7 @@ CONTAINS
...
@@ -220,7 +223,7 @@ CONTAINS
CALL
MPI_BARRIER
(
MPPDB_INTRA_COMM
,
ierr
)
CALL
MPI_BARRIER
(
MPPDB_INTRA_COMM
,
ierr
)
!
!
! WAIT FOR TOTALVIEW IF NEEDED
! WAIT FOR TOTALVIEW IF NEEDED
call
s
ystem
(
MPPDB_COMMAND
)
call
s
leep_c
(
NSLEEP
)
!
!
MPPDB_DEBUG
=
.TRUE.
MPPDB_DEBUG
=
.TRUE.
IF
(
MPPDB_DEBUG
)
write
(
200
,
*
)
"MPPDB_INIT :: FIRST SON mppdb_irank_intra="
,
mppdb_irank_intra
&
IF
(
MPPDB_DEBUG
)
write
(
200
,
*
)
"MPPDB_INIT :: FIRST SON mppdb_irank_intra="
,
mppdb_irank_intra
&
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment