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

I got some error to execute ifort

jerry_j_
Beginner
934 Views

 

Hi

 

 

 

i am in very beginning of fortran language and

 

i got some error to execute ifort in terminal

first, i typed  

" source /opt/intel/composer_xe_2015/bin/compilervars.sh intel64"

and it was working.

but in next step,

i execute 'compile_variable_labor_equilibrium' file. and its code is like this 

ifort -o variable_labor_equilibrium ../Tools/OptimizationMod.f90 /Tools/csint.f /Model/Globals.f90 /Model/InitializationModule.f90 /Model/ValueModule.f90  /Model/Main.f90

 

rm *.mod

 

./variable_labor_equilibrium

 

and the result was printed like this

ifort: error #10236: File not found:  '../Tools/OptimizationMod.f90't; 

ifort: error #10236: File not found:  '/Tools/csint.f'

ifort: error #10236: File not found:  '/Model/Globals.f90'

ifort: error #10236: File not found:  '/Model/InitializationModule.f90'

ifort: error #10236: File not found:  '/Model/ValueModule.f90'

ifort: error #10236: File not found:  '/Model/Main.f90'

ifort: command line error: no files specified; for help type "ifort -help"

rm: *.mod: No such file or directory

/Users/~~/Desktop/Advanced Macro/~~/compile_variable_labor_equilibrium: line 5: ./variable_labor_equilibrium: No such file or directory

logout

 

 

i think i have to set a path of f90 files. but i don't know how to do it

help me!

P.S this is my folder structure

스크린샷 2014-10-08 오후 3.32.00.png

0 Kudos
6 Replies
Kevin_D_Intel
Employee
934 Views

The ifort errors indicate problems with the paths to the Fortran source files specified on the ifort command line that is in the compile_variable_labor_equilibrium script.

Suggesting a correction requires knowing what the expected working directory should be when you run the compile_variable_labor_equilibrium script.

What do the folders variable_labor_equilibrium and Variable_Labor_Steady_St..ilibrium contain?

I’m not sure this is correct, but the app may expect the working directory to be the variable_labor_equilibrium folder. If so then try changing the ifort command line in the compile_variable_labor_equilibrium script to be:

ifort -o variable_labor_equilibrium ../Tools/OptimizationMod.f90 ../Tools/csint.f ../Model/Globals.f90 ../Model/InitializationModule.f90 ../Model/ValueModule.f90  ../Model/Main.f90

So then to run the script you would do this:

cd variable_labor_equilibrium
../compile_variable_labor_equilibrium

If you can create a tar file with the contents of your folder structure and attach that to the forum it would be easier to help sort this out for you. If you have concerns about sharing your source in this public forum, then post the tar file in a private reply to me.

0 Kudos
jerry_j_
Beginner
934 Views

 

as you told me i modified and run it again but it doesn't work.

 

actually, my prof. give these code to me, and he use windows and visual studio.

so, i think that the root of these problem is fortran files.

anyway, new error message is like these

---------------------

../Model/Main.f90(62): remark #8291: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+7'.

            write(*, '(2(A,D10.5),/)') "errW = ", errW, "   errK = ", errK

----------------------------------------^

Undefined symbols for architecture x86_64:

  "_steadystate_", referenced from:

      _MAIN__ in ifortVoPS5K.o

ld: symbol(s) not found for architecture x86_64

-bash: ./variable_labor_equilibrium: No such file or directory

----------------

 

 

0 Kudos
Kevin_D_Intel
Employee
934 Views

No it didn't work; however, the build made it much further than on the first try. It a least appears that all the Fortran source files were found and compiled successfully!

Setting aside the compiler's remark #8391 for the moment, the next failure you showed suggests that maybe another source file containing the subprogram named steadystate was not compiled.

Do you know whether any other Fortran source file or other non-Fortran source file within what you were given contains that routine?

Are you building this on a Linux or Windows system?

 

0 Kudos
jerry_j_
Beginner
934 Views

i am sorry but.. can you check my files if i send all these files to your email?

there are no virus! i can guarantee,

please make it working..

can you do it for me?

0 Kudos
Kevin_D_Intel
Employee
934 Views

Ok, I'll see if I can help get it working. Instead of email, try this: Click on the "Send Author A Message" that appears just above and to the right of where you are reading this reply, and then send me a private reply and attach the files there.

0 Kudos
jerry_j_
Beginner
934 Views

i send a message to you!

 

thx very very much!!

 

0 Kudos
Reply