- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there,
I am using the latest Intel fortran composer on Mac OS X (10.9.2) to compile my code, with command
ifort -O1 -ip *.f90
The binary generated, a.out, works fine on my Mac. However, when my colleague tested it on him Mac with the same OS, he got an error message:
./colony2s-mac-i.out: line 1: syntax error near unexpected token `<'
./colony2s-mac-i.out: line 1: `<!DOCTYPE html><html lang="en" xmlns:fb="http://ogp.me/ns/fb#" xml:lang="en" class="media-desktop" xmlns="http://www.w3.org/1999/xhtml"><head><script type="text/javascript">'
Can anybody tell me what is the problem, and how to solve it? Do I need to distribute some library files together with the binary?
Thanks a lot!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did the executable file get corrupted while being moved to your colleague's machine? What are HTML tags doing in an a.out file?
Compare the file sizes and see if their checksums (e.g., md5sum) match.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You are right! I checked the files, and their checksimus are indeed different (how happens?!). I then zipped the file and put it in my dropbox for my colleague to download. he just told me that everything worked fine!
Problem solved, and thank you so much!

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page