gfortran compilation error: Size of 'put' argument of 'random_seed' intrinsic at (1) too small [duplicate]
问题 This question already has an answer here : What's wrong with my random number generator in Fortran 95 please? (1 answer) Closed 5 years ago . I am trying to compile the following code with gfortran program perm_field implicit double precision(a-h,o-z) parameter (pi=3.14159) allocatable :: perm(:),alog_perm_all(:),u(:),xi(:),& perm_zone(:),alog_perm(:) integer :: seed(2) external dgemm open(unit=1,file='input.dat') open(unit=3,file='random_log_perm.dat',access='append') open(unit=31,file=