- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi I recently upgrade ubuntu (from ubuntu Dapper to ubuntu Edgy).
Surprisingly Intel fortran 9 which work well give know the following error when compiling:
export: 27: Illegal option -n
What can I do to solve this problem.
Thanks for helping me
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I suspect it is the ifort script being choked on. There is an export at line 27. Please paste the shell debug output of your invocation:
$ bash -x $(which ifort)
It might also be useful to know Edgy's bash version, since I don't have it (yet).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The problem is that edgy uses dash rather than bash. You can change the first line of the ifort and ifc scripts from
#!/bin/sh
to#!/bin/bash
and all should work.
Jeremy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks to all of you,
After modification of ifort and ifc intel fortran work well now
After modification of ifort and ifc intel fortran work well now

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