Yeah, I also ran it under gdb, it also says as follows.
If any error can be solved, please let me know how to do...
$ gfortran -o a.exe server.f
$ gdb ./a.exe
GNU gdb (GDB) (Cygwin 7.10.1-1) 7.10.1
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-cygwin".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Find the GDB manual and other documentation resources online at:
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./a.exe...done.
Starting program: /cygdrive/e/WEB-DHM/MODIS/MODIS_data/a.exe
[New Thread 5356.0x14e8]
[New Thread 5356.0x3cc]
[New Thread 5356.0x878]
[New Thread 5356.0xbdc]
EVALUATING from: 2010 1
.............To: 2010 361
Reading modis data...
record number: 1
Program received signal SIGSEGV, Segmentation fault.
0x00401f40 in MAIN__ ()