Intel(R) Fortran Composer XE 2013 SP1 Update 1 in LinuxMint 16

Intel(R) Fortran Composer XE 2013 SP1 Update 1 in LinuxMint 16

Dear community,

I just installed the Intel(R) Fortran Composer XE 2013 SP1 Update 1 in LinuxMint 16 64-bit (derived from Ubuntu 13.10). When installing I was told that this OS was not recognized as valid by the installer, but I decided to continue anyway (Ubuntu 13.04 was officialy supported).

Thanks to the guidelines provided in:

http://software.intel.com/en-us/articles/using-intel-compilers-for-linux...

the installation finished without any problem.

 

However, when I tried to compile my first code with:

/opt/intel/bin/ifort modparm.f

I got the following unexpected message:

/opt/intel/composer_xe_2013_sp1.1.106/compiler/lib/intel64/for_main.o: In function `main':
/export/users/nbtester/efi2linux_nightly/branch-14_0/20131009_000000/libdev/frtl/src/libfor/for_main.c:(.text+0x42): undefined reference to `MAIN__'

Does it mean that the compiler is not correctly installed ?. If so, how can I solve that ?

 

Thanks in advance for any help,

Mauricio

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

No - it means that the source you compiled does not contain a main program. Since you did not include -c, it tried to link the object into an executable and no main program was provided. If all you want to do is compile and not link, add -c. Please also make sure that you used the "source" command (in some shells, just "." will do), on the provided compilervars.sh (or .csh) script to properly establish the environment. You would then just use "ifort" and not a full path.

Steve - Intel Developer Support

Leave a Comment

Please sign in to add a comment. Not a member? Join today