I tried to compile following using gfortran 4.8.1-1 include 'bb/test2.f' a(1)=1.0 a(2)=2.0 b=a(1)+a(2) write(6,*) b stop end
When bb/test2.f is a real file, no compile error is generated. When aa/test2.f is a real file and bb/test2.f is a symbolic link of /aa/test2.f, Error 'Can't open included file '/bb/test2.f' is displayed. ln -s aa bb was a command to creat symbolic link. The contents of test2.f is dimension a(2) Sincerely yours.
