我正在尝试从csv文件(此f95文件的同一文件夹中的input.csv)读取输入,该输入在某些列中具有一些编号。我执行程序时出现错误
program received signal SIGSEGV: segmentation fault - invalid memory reference. backtrace =#0 ffffffff
代码在下面;它在第一个打印语句之后终止。
program section
implicit none
integer::no_num,count_le,count_cve,count_cvx,count_ce
integer::i,j
double precision,allocatable,dimension(:)::x1,y1,x2,y2
double precision,allocatable,dimension(:)::xc,yc,rc,sa,ea
character (2),allocatable,dimension(:):: asc,asl,sd
character(100)::rand_char ! random characters/txt
print*,"program"
open(unit=100,file='input.csv')
print*,"check"
close(100)
end program