Hi,

I tried to compile the new version 18.2 to update my old 17 one, and I encountered two errors (I use latest Intel fortran compiler from Parallel Studio):

- In SRC_mixer: for main.c: undefined reference to 'MAIN__'

and then multiple 'undefined reference'

- In SRC_nmr: the same errors.


Intel indicates that:

"Resolution

If you are compiling sources separately to be linked later, add the -c option to the ifort command to tell the ifort driver not to invoke the linker.

If you are building a mixed-language application whose main program is not written in Fortran, use the

    -nofor-main "


(https://software.intel.com/en-us/articles/error-undefined-reference-to-main)


This problem did not happen during the compilation of the older versions. Should one now use these options ?


Thanks
_______________________________________________
Wien mailing list
Wien@zeus.theochem.tuwien.ac.at
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
SEARCH the MAILING-LIST at:  
http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html

Reply via email to