Quantcast
Channel: Intel® Fortran Compiler
Viewing all articles
Browse latest Browse all 3270

undefined reference to `MAIN__'

$
0
0

Hi! My system: Debian 7.4 x86_64 / Intel Fortran Composer XE for Linux 2013 SP1 Update 2 / ifort version 14.0.2

After installation Intel Fortran Composer I used:  source /opt/intel/bin/compilervars.sh intel64

I'm trying to compile my *.f files with this command:

ifort -nofor-main -O2 -r8 -extend-source 80 -warn general *.f -o myprog

but this error occurs:

/opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64/libifcore.a(for_main.o): In function `main':

for_main.c:(.text+0x54): undefined reference to `MAIN__'

What's wrong here? Thanks in advance! Alex.

 


Viewing all articles
Browse latest Browse all 3270

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>