i have a .dat file which contains 8 parameters data in ASCII format. how to read and display those 8 parameters from that .dat file.
program array
real, dimension(:), allocatable :: x
integer :: n
open (unit=99, file='492.dat', status='old', action='read')
read(99, *), n
allocate(x(n))
read(99,*) x
write(*,*) x
end
The program was compiled properly but at run time it is showing an error like:
traceback: not available, compile with -ftrace= frame or -ftrace=full
--
with best regards,
V V L Padma Alekhya,Junior Research fellow,
National Remote sensing Centre,
Indian Space Research Organisation
Department of space,Govt. of India
Balanagar,Hyderabad.