I am trying to compile my code with intel fortran and C++ compiler,but there is something wrong with me.
ifort -o aple test_nc.o cam.o-lesmf -nofor_maintest_nc.o In function 'main'test_nc.F90:1: multiple definition of `MAIN__'cam.o:/cam.F90:5: first defined here
I check test_nc.f90, it have a main，but when I check the cam.f90 ,it only have a cam,without main...
according to your suggest ,I add-nofor_main ,but it dosn't work!
can you help me ? Thank you .