Commit c1742a2
committed
Fix parallel build race condition in Spack package
Fortran modules must be compiled sequentially to ensure
m_thermochem.mod is generated before m_derived_types.fpp
attempts to use it.
This fixes the build error:
Fatal Error: Cannot open module file 'm_thermochem.mod'
for reading at (1): No such file or directory
Setting parallel = False forces make -j1 to avoid race conditions.1 parent 3167753 commit c1742a2
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
73 | 76 | | |
74 | 77 | | |
75 | 78 | | |
| |||
0 commit comments