Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Intel Fortran を使用して Fortran でファイルサイズを取得する方法はありますか?
私はstatgfortranでうまく機能するものを使用していましたが、ifortでは利用できません。
stat
INQUIRE(FILE=filename, SIZE=file_size)
filenameは文字スカラー、file_sizeファイルのストレージ単位 (ifort では「バイト単位」) で定義されるファイルのサイズで定義される整数スカラー、またはサイズを決定できない場合は -1 です。
filename
file_size