-M nor -J work as intended
Noel Torres
envite@rolamasao.org
Fri Mar 9 00:57:00 GMT 2007
gfortran seems to work ok with modules in the same directory, but if
fails to get modules localted in a subdirectory. I tried with both -M
and -J and both with space and without it.
version: GNU Fortran 95 (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
failure:
$ ls mods
error.mod
$ gfortran -M mods -c newton_rapshon_test.F95
In file newton_rapshon_test.F95:3
use error
1
Fatal Error: Can't open module file 'error.mod' for reading at (1): No
existe el fichero o el directorio
$ gfortran -Mmods -c newton_rapshon_test.F95
gfortran: unrecognized option '-Mmods'
In file newton_rapshon_test.F95:3
use error
1
Fatal Error: Can't open module file 'error.mod' for reading at (1): No
existe el fichero o el directorio
$ gfortran -Jmods -c newton_rapshon_test.F95
In file newton_rapshon_test.F95:3
use error
1
Fatal Error: Can't open module file 'error.mod' for reading at (1): No
existe el fichero o el directorio
$ gfortran -J mods -c newton_rapshon_test.F95
f951: error: missing argument to "-J"
Regards
Noel Torres
More information about the Fortran
mailing list