Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Fortcom error

edmund_ryanshef_ac_u
1,124 Views
Hi,

I'm new to Fortran. I've just tried compiling some code, but get the following error message:

Description File
1 Severe: No such file or directory fortcom
2 Compilation Aborted (code 1) DALEC_EnKF.f90

(DALEC_EnKF is my project file consisting of 5 source code files). Does anyone know what 'fortcom' means? and how I can fix this? - I'm really stuck.
Cheers,
Ed
0 Kudos
4 Replies
Les_Neilson
Valued Contributor II
1,124 Views
Hi,

I'm new to Fortran. I've just tried compiling some code, but get the following error message:

Description File
1 Severe: No such file or directory fortcom
2 Compilation Aborted (code 1) DALEC_EnKF.f90

(DALEC_EnKF is my project file consisting of 5 source code files). Does anyone know what 'fortcom' means? and how I can fix this? - I'm really stuck.
Cheers,
Ed

"fortcom" is the Fortran Compiler
The first error message saysit cannot find it. You need to ensure that your PATH contains the full path to where you installed the compiler.
I assume you running it from the command line and not from Visual Studio ?

Les
0 Kudos
edmund_ryanshef_ac_u
1,124 Views
Quoting - Les Neilson

"fortcom" is the Fortran Compiler
The first error message saysit cannot find it. You need to ensure that your PATH contains the full path to where you installed the compiler.
I assume you running it from the command line and not from Visual Studio ?

Les

Thanks,
That helps. Sorry I should have said, I am using visual studio in windows to run the compiler.
I'll try and correct the path.
Ed
0 Kudos
Les_Neilson
Valued Contributor II
1,124 Views

Thanks,
That helps. Sorry I should have said, I am using visual studio in windows to run the compiler.
I'll try and correct the path.
Ed

If you are compiling from within Visual Studio and getting the error message then that would imply the installation of the compiler was incorrect, as the integration with VS automatically sets the appropriate paths.
(note: The order of installation is VS then the Fortran compiler.)
You may need to re-run the "integration" part of the compiler install.

What version of VS and what version of the Intel compiler are you using?

Les
0 Kudos
edmund_ryanshef_ac_u
1,124 Views
Quoting - Les Neilson

If you are compiling from within Visual Studio and getting the error message then that would imply the installation of the compiler was incorrect, as the integration with VS automatically sets the appropriate paths.
(note: The order of installation is VS then the Fortran compiler.)
You may need to re-run the "integration" part of the compiler install.

What version of VS and what version of the Intel compiler are you using?

Les

It's all working now. You were right - it wasn't installed correctly. Many thanks for all your help Les.
Ed
0 Kudos
Reply