You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to build MOM6 using the fork intended to work with regional-mom6, using the exact procedure outlined in the GitHub. During the ninja build in the 'shared' folder, I get the following error:
ninja: error: 'src/FMS/affinity/fms_affinity.F90', needed by 'fms_affinity_mod.mod', missing and no known rule to make it
Which corresponds to the following line in the ninja build
However, the file src/FMS/affinity/fms_affinity.F90 does exist in src. If I remove that line, it fails on the following fc build line. Since it makes it through the first 12 lines of cc commands, I assume something is going wrong with the fc process. Happy to provide any more detail if it would be helpful, I'm curious if the clean build works from start to finish for anyone else.
The text was updated successfully, but these errors were encountered:
Sorry, this is very late to be getting back to you, but it sounds more like your srcdir is configured incorrectly, and so the build system just can't find the source files.
I'm attempting to build MOM6 using the fork intended to work with regional-mom6, using the exact procedure outlined in the GitHub. During the ninja build in the 'shared' folder, I get the following error:
ninja: error: 'src/FMS/affinity/fms_affinity.F90', needed by 'fms_affinity_mod.mod', missing and no known rule to make it
Which corresponds to the following line in the ninja build
'build fms_affinity.o fms_affinity_mod.mod : fc ${srcdir}/FMS/affinity/fms_affinity.F90 | ${srcdir}/FMS/fms/fms.F90 ${srcdir}/FMS/mpp/mpp.F90 || fms.o mpp.o'
However, the file src/FMS/affinity/fms_affinity.F90 does exist in src. If I remove that line, it fails on the following fc build line. Since it makes it through the first 12 lines of cc commands, I assume something is going wrong with the fc process. Happy to provide any more detail if it would be helpful, I'm curious if the clean build works from start to finish for anyone else.
The text was updated successfully, but these errors were encountered: