1 | | From what I can tell the clang error messages have something to do with Mac architecture and/or compiler options, but whatever is going on has stymied all my attempts to diagnose or fix it. I will try to continue following the manual approach that you outline, however I am not too optimistic of making it all the way through considering the difficulty of the problem and the level of my competence on these topics. |
| 1 | From what I can tell the clang error messages have something to do with Mac architecture and/or compiler options, but whatever is going on has stymied all my attempts to diagnose or fix it. |
| 2 | |
| 3 | In the manual approach, |
| 4 | |
| 5 | {{{ |
| 6 | gfortran -o FLEXPART.out *.o |
| 7 | }}} |
| 8 | |
| 9 | results in |
| 10 | |
| 11 | {{{ |
| 12 | Undefined symbols for architecture x86_64: |
| 13 | "___class_gribfile_MOD_gribfile_centre", referenced from: |
| 14 | _detectformat_ in detectformat.o |
| 15 | {long list of similar statements} |
| 16 | "_pbopen_", referenced from: |
| 17 | _readwind_ in readwind_emos.o |
| 18 | ld: symbol(s) not found for architecture x86_64 |
| 19 | collect2: error: ld returned 1 exit status |
| 20 | }}} |
| 21 | |
| 22 | |
| 23 | Unfortunately, I am not too optimistic of making it all the way through even with the manual approach, considering the apparent difficulty of the problem and the level of my competence on these topics. There are probably a few simple fixes out there for all these issues, but it would take me a very long time to figure out what they are. |