- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
If I compile the following code with the /nofpscomp option I can run 2 instances of the program without getting a runtime error. The default share identiefier should be 'denywr' according to the documentation.
program denywr
open(unit=10,file='test.txt')
write(10,*)'Test'
read(5,*)
close(10)
end
If I compile with /fpscomp:none I do get the runtime error for the 2nd instance of the program.
forrtl: severe (47): write to READONLY file, unit 10, file C:TEMPifort est.txt
Is /nofpscomp not working?
G. Veldkamp
program denywr
open(unit=10,file='test.txt')
write(10,*)'Test'
read(5,*)
close(10)
end
If I compile with /fpscomp:none I do get the runtime error for the 2nd instance of the program.
forrtl: severe (47): write to READONLY file, unit 10, file C:TEMPifort est.txt
Is /nofpscomp not working?
G. Veldkamp
- Marcas:
- Intel® Fortran Compiler
Link copiado
0 Respostas

Responder
Opções do tópico
- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora