I have a user trying to compile my code using ifort on a mac. He has sent me the entire output of the build, and everything up to the linking stage looks fine. The code has a library of 50 module files, and the linker complains about undefined symbols from about 15 of those files. For each of those 15 module files, the linker complains about every variable in it. I see no pattern, rhyme, or reason to the particular 15 files that were spurned compared to the 35 that seem to be fine.
I've had the user grep for one of the missing variables in the library using nm, and it has an entry with the same name mangling as the undefined symbol complaint.
I've successfully compiled on other macs using this same makefile and g95 and gfortran, but I do not have ifort for macintosh.
I'm shooting in the dark here. Can anyone improve my aim?