Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29280 Discussions

Compiler driver / backend version mismatch

francesc_verdaguer
1,241 Views
Dear all,

I have de following error:

Intel Fortran Compiler for 32-bit applications, Version 9.0 Build 20050430Z Package ID: l_fc_p_9.0.021
Copyright (C) 1985-2005 Intel Corporation. All rights reserved.
Compiler driver / backend version mismatch: unset != 900
Be sure compiler driver and backend programs are in the same directory.
end

But I just have one fortran compiler. I have the Intel C Compiler too and I don't know which could be the problem.

Thanks you very much

Francesc
0 Kudos
7 Replies
Lorri_M_Intel
Employee
1,241 Views

Would you please do the following?

Issue the command

ifort -# yourfile.f

and post the output.

Also, look at the script /opt/intel_fc_9.0/bin/ifort

You will see that it sets up various environment variables. Does it reference any /opt/intel* directory other than /opt/intel_fc_9.0 ?

- Lorri

0 Kudos
francesc_verdaguer
1,241 Views
Dear Lorry,

First of all, thank you very much for giving me your time.

I am continuing with the error, so I attach 3 files to help you to understand what I am doing wrong.

The first one is the file that I am triing to compile, to install the program of air modelling CMAQ.

The second one is the /opt/intel/fc/9.0/bin/ifort

And the last one, is the copy of the terminal's output.

I hope you will find the error.

Thank you.

Francesc
0 Kudos
Lorri_M_Intel
Employee
1,241 Views
Hi Francesc,
Thank y
0 Kudos
Lorri_M_Intel
Employee
1,241 Views
Hi Francesc,
Thank you f
0 Kudos
Lorri_M_Intel
Employee
1,241 Views
Hi Francesc,
Thank you for sending the script and output; I see EXACTLY what is wrong.
In your build script - change this:
set FC = /opt/intel/fc/9.0/bin/fortcom
to this:
set FC = /opt/intel/fc/9.0/bin/ifort
You were invoking the "raw" compiler executable, without going through the driver first. All interactions from the user should go through "ifort" not "fortcom".
Also, please change -Mfixed and -Mextend to simply -fixed and -extend.
Okay?
Let us know how that works for you --
0 Kudos
francesc_verdaguer
1,241 Views
Hi Lorry,

Thank you for all, finally I've could compile the file.

But you say:
Also, please change -Mfixed and -Mextend to simply -fixed and -extend.

And I had the problem that the ifort doesn't have the fuction -extend, I put -fixed -extend_source, because I understand (looking information in internet) that its work is the same as -Mextend.

Again, thank you for your help.

Francesc
0 Kudos
Lorri_M_Intel
Employee
1,241 Views

RE: -extend

Oh, right, of course. Sorry, my mistake. You were correct, the switch is -extend_source

I'm glad to hear your program is building now!

- Lorri

0 Kudos
Reply