I am trying with quite a lot of bumps to create a project in Xcode using the intel fortran compilers. My compilation produces some object files (and the mod files as well) but breaks at a certain file. If I paste the compilation command in the terminal the compilation seems fine. The only message I get from Xcode is
Command /usr/local/bin/ifort-19.0.3.199 failed with exit code 2
the compilation command is
/usr/local/bin/ifort-19.0.3.199 -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -mmacosx-version-min=10.14 -g -O0 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -parallel -assume nobuffered_io -mkl=parallel -fpp -I/Users/manfredo/Library/Developer/Xcode/DerivedData/ED2-bzpotpyhearnjhdlpmzxdtkugvki/Build/Products/Debug/include -I/opt/intel/compilers_and_libraries_2019.3.199/mac/mkl/include -I/usr/local/hdf-1-10.5/include -I/Users/manfredo/Documents/Eclipse_workspace/ED2/ED/src/include -Difdef -noD -assume cc-omp -recursive -reentrancy threaded -nopad_source -altparam -nod-lines -qopenmp -standard-semantics -novms -nof77rtl -nointconstant -assume nobscc -stand f08 -warn nostderrors -warn declarations -warn unused -warn noignore-loc -warn notruncated-source -warn noalignments -warn uncalled -warn usage -warn nointerfaces -warn noshape -init=nosnan -init=nozero -align nosequence -assume nodummy_aliases -assume protect-constants -assume nobyterecl -fno-zero-initialized-in-bss -fp-model no-except -nofltconsistency -no-fp-port -no-ftz -nofpconstant -assume nominus0 -no-complex-limited-range -fp-stack-check -assume nounderscore -nogen-interfaces -module /Users/manfredo/Library/Developer/Xcode/DerivedData/ED2-bzpotpyhearnjhdlpmzxdtkugvki/Build/Intermediates.noindex/ED2.build/Debug -traceback -check nobounds -check nooutput-conversion -check noformat -check noarg-temp-created -check nopointers -check nouninit -check stack -check noshape -ftrapuv -u -fp-stack-check -c /Users/manfredo/Documents/Eclipse_workspace/ED2/ED/src/memory/ed_state_vars.f90 -o /Users/manfredo/Library/Developer/Xcode/DerivedData/ED2-bzpotpyhearnjhdlpmzxdtkugvki/Build/Intermediates.noindex/ED2.build/Debug/ED2.build/Objects-normal/x86_64/ed_state_vars.o
The file at which the compilation stops is very large (27000 lines). Apart from that it looks pretty similar to the ~10 files for which the compilation works. Also I should specify that the error is not due to the compilation order, I set it manually.