29 write(str,
'("Elk code version ",I0,".",I0,".",I0," started")')
version
43 write(*,
'("Number of MPI processes : ",I6)')
np_mpi
44 write(*,
'("Number of OpenMP threads per MPI process : ",I4)')
maxthd
45 write(*,
'("Total number of threads (MPI x OpenMP) : ",I6)')
np_mpi*
maxthd
46 write(*,
'("Maximum OpenMP nesting level : ",I4)')
maxlvl
47 write(*,
'("Number of OpenMP threads at first nesting level : ",I4)')
maxthd1
48 write(*,
'("Number of MKL threads : ",I4)')
maxthdmkl
50 inquire(
file=
'RUNNING',exist=exist)
53 write(*,
'("Info(elk): several copies of Elk may be running in this path")')
54 write(*,
'("(this could be intentional, or result from a previous crash,")')
55 write(*,
'(" or arise from an incorrect MPI compilation)")')
57 open(50,
file=
'RUNNING')
63 write(*,
'("Batch mode enabled")')
79 write(*,
'("RAM disk enabled")')
82 write(*,
'("Info(elk): some direct access files are not written to disk")')
92 write(str,
'("Current task : ",I0)')
task
99 if (all(
task /= [0,1,2,3,5,15,16,28,29,61,62,63,110,120,121,125,135,136, &
100 162,170,180,185,200,201,202,205,208,209,240,241,270,271,300,320,330,331, &
101 350,351,352,371,372,373,380,390,420,421,440,460,461,462,463,471,478,600, &
102 601,610,620,640,680,700,701,720,725]))
then
103 write(*,
'("Info(elk): MPI process ",I6," idle for task ",I6)')
lp_mpi,
task
140 case(71,72,73,81,82,83,141,142,143,151,152,153)
144 case(100,101,103,104)
246 case(460,461,462,463)
282 write(*,
'("Error(elk): task not defined : ",I8)')
task
296 write(*,
'("Restarting Elk")')
subroutine dielectric_bse
subroutine dielectric_tdrt
subroutine delfile(fname)
integer, dimension(3), parameter version
integer, dimension(maxtasks) tasks
type(file_t), dimension(:), allocatable, private file
subroutine writevars(vname, n1, n2, n3, n4, n5, n6, nv, iv, iva, rv, rva, zv, zva, sv, sva)
subroutine writebox(fnum, str)