[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gfortran Permission denied



michael wrote:

> I've just installed, without error, gfortran on my AMD64
> 
> mkb@amd64:~/work/Fortran$ dpkg -l|grep gfortran
> ii  gfortran                          4.1.1-15
> The GNU Fortran 95 compiler
> ii  gfortran-4.1                      4.1.1-21
> The GNU Fortran 95 compiler
> ii  libgfortran1                      4.1.1-21
> Runtime library for GNU Fortran applications
> ii  libgfortran1-dev                  4.1.1-21
> GNU Fortran library development

Use gfortran 4.3 (the latest version). It is much better than 4.1. But that
is not the cause of your problem.

> mkb@amd64:~/work/Fortran$ ./simple.out
> -bash: ./simple.out: Permission denied
> mkb@amd64:~/work/Fortran$ ls -lt ./simple.out
> -rwxr-xr-x 1 mkb mkb 10039 May  7 23:41 ./simple.out*

Are you able to run any other executable (say from a C program) or any other
script (say a bash script) from that directory?

> but it's totally unclear to me what the problem is....
> 
> All ideas welcomed, M

This is not a gfortran problem per se. The problem is somewhere else.

raju
-- 
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/


Reply to: