SPEED
READ_DIME_FILEPG.f90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine read_dime_filepg (filec, num_nodes)
 Reads dimension of monitor files.
 

Function/Subroutine Documentation

◆ read_dime_filepg()

subroutine read_dime_filepg ( character*70  filec,
integer*4  num_nodes 
)

Reads dimension of monitor files.

Author
Ilario Mazzieri
Date
September, 2013
Version
1.0
Parameters
[in]filecfile name
[out]num_nodesnumber of nodes

Definition at line 26 of file READ_DIME_FILEPG.f90.

27
28 implicit none
29
30 integer*4 :: num_nodes
31 integer*4 :: ileft,iright
32 integer*4 :: status
33
34 character*70 :: filec
35 character*100000 :: input_line
36
37 open(20,file=filec)
38 read(20,'(A)',iostat = status) input_line
39 ileft = 1
40 iright = len(input_line)
41 read(input_line(ileft:iright),*)num_nodes
42 close(20)
43
44
45 return
46

Referenced by find_monitor_position(), and read_system_position().

Here is the caller graph for this function: