- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
I have an OpenMP code in which each thread reads some data from a file (a Fortran unformatted file), processes it and then repeats those steps until no more data remains in the file to be processed. The file I/O is inside an OpenMP critical region. It doesn't matter which data are processed by which thread. I'm finding that my code crashes intermittently with what looks like corrupted data being read in. Is there some reason why I can't have multiple OpenMP threads reading from the same Fortran file? Do I need to somehow syncrhonize the file over all threads after each read?
Any help greatly appreciated!!
- Etiquetas:
- Intel® Fortran Compiler
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Make sure you build your Fortran sources with -threads specified. (-threads is the default on Intel 64 architecture.)
Enlace copiado
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Make sure you build your Fortran sources with -threads specified. (-threads is the default on Intel 64 architecture.)
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Make sure you build your Fortran sources with -threads specified. (-threads is the default on Intel 64 architecture.)
Thanks - that seems to have fixed it!
- Suscribirse a un feed RSS
- Marcar tema como nuevo
- Marcar tema como leído
- Flotar este Tema para el usuario actual
- Favorito
- Suscribir
- Página de impresión sencilla