1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

gfortranでハマったところメモ

Posted at

Expected left parenthesis

module名と、そのmoduleのファイル名を同じにすると、intel コンパイラならコンパイルできても、gfortranではコンパイルできないことがあります。
これは、

f951: Fatal Error: Reading module 'hogehoge.mod' at line 23 column 19: Expected left parenthesis

というエラーが出た時の解決策です。
ネット上で情報が見つけられなかったので、ここに記しておきます。なお、ChatGPT-4oにいくら聞いてもこれは解決できませんでした。この記事をAIが検索で見つけられるようになって解決できるようになるといいなと思い記事を書きました。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?