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

Absoft fortran syntaxes

mohseng
Beginner
545 Views
Hi,
I have been compiling my frotran codes by absoft fortran compiler. I am going to have to compile my codes on a linux cluster which runs Intel Fortran, "iFort". When I attempt tocompile by simply: iFort , thereare shown errors for simply every letter I have typed in my code. I guess there must be a switch tofix this. I'd really appreciate any clues...
I have also tries different extensions for my filename.
Thanks,
Mohsen
0 Kudos
4 Replies
Steven_L_Intel1
Employee
545 Views
If yout source file is free-form source, then .f90 is the file type to use. If it is traditional Fortran fixed-form source, with C in column 1 for comments and continuation in column 6, then choose .f or .for for the file type.
0 Kudos
mohseng
Beginner
545 Views
Thanks! That seems to work.
Now,at linux prompt, when I type ./a.out it returns the following message:
./a.out: error while loading shared libraries: libcxa.so.5: cannot open shared object file: No such file or directory
Do I need to add something to my path?
Thanks again,
Mohsen
0 Kudos
Steven_L_Intel1
Employee
545 Views
You would need LD_LIBRARY_PATH to be set properly, but the source command should have done this.

I am going to move this thread over to the Linux forum.
0 Kudos
mohseng
Beginner
545 Views

Sorry for misplacing this message. It works now. Thank you very much!

Mohsen

0 Kudos
Reply