3 use mpif, only : mpi_comm_world
5 use input, only : session, path, series, ifneknek
9 integer :: mpi_is_initialized
10 integer :: ierr, intracomm
14 if ( mpi_is_initialized == 0 ) call
mpi_init(ierr)
19 CALL
blank(session,132)
21 CALL
blank(series,132)
25 OPEN (unit=8,file=
'SESSION.NAME',status=
'OLD',err=24)
28 READ(8,10, iostat=ierr) series
29 if (ierr < 0) call
chcopy(series, session, 132)
35 write(6,*)
'No file SESSION.NAME; using defaults of '
36 write(6,*)
'PATH=. and SESSION=NEK.'
42 call
err_chk(ierr,
' Cannot open SESSION.NAME!$')
44 call
bcast(session,132*csize)
45 call
bcast(path,132*csize)
46 call
bcast(series,132*csize)
63 integer :: nekcommtrue, nptrue
71 integer :: nekcommtrue, nptrue
subroutine bcast(buf, len)
subroutine mpi_comm_dup(comm, comm_out, ierror)
subroutine mpi_init(ierror)
subroutine setintercomm(nekcommtrue, nptrue)
Dummy for singlmesh.
subroutine happy_check(iflag)
Dummy for singlmesh.
subroutine get_session_info(intracomm)
subroutine unsetintercomm(nekcommtrue, nptrue)
Dummy for singlmesh.
subroutine uglmin(a, n)
Dummy for singlmesh.
subroutine blank(A, N)
blank a string
subroutine iniproc(intracomm)
subroutine chcopy(a, b, n)
subroutine err_chk(ierr, istring)
subroutine userchk_set_xfer
Dummy for singlmesh.
subroutine mpi_initialized(mpi_is_initialized, ierr)