- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi,
I am using the following open specifiers under Windows and Linux when opening a file:
#if defined(_OS_WIN32_) open(10, file='errors', status='unknown', access='append', share='denynone', action='write', buffered='no', defaultfile='', err=100)#else open(10, file='errors', status='unknown', access='append', share='denynone', action='write', buffered='no')#endif
Under Windows it works fine but under Linux I am getting error 30 during open. Any clue why the Linux behaviour is different?
Thanks,
Rak
コピーされたリンク
4 返答(返信)
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
I forgot to mention that replacing action='write' by action='readwrite' solves the problem. Is there a conflict between the specifiers under Linux which is not present under Windows?
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi Rak,
This is a bug in the compiler. I have escalated it to the developers. The issue number is DPD200237063. I will post any updates to this issue in the thread.
Regards,
Annalee
Intel Developer Support
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hello Rak,
Denynone gets a read lock which is incompatible with write mode. We are planning to change the compiler in the next major release so it will not request a lock for this combination of options. This will allow the program to run as expected.
Regards,
Annalee
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hello Rak,
This is issue has been fixed in Intel® Fortran Composer XE for Linux* 2013 Update 3 which is now available at the Intel® Registration Center.
Annalee
