- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
I am going to move this thread over to the Linux forum.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry for misplacing this message. It works now. Thank you very much!
Mohsen
![](/skins/images/7B0AB6865064EAE32B30EC9A4E94B48A/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page