- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Installing FC for Linux finished successfully.
Using ./ifortvars.sh in my bash does work (no error message), but NO environment variables have been set.
Therefore command ifort does not work.
I set PATH, LD_LIBRARY_PATH, .bashrc and the symblic link /usr/bin/ifort by hand now.
For installing MPICH: FC=ifort and F90=ifort
But MPICH can't find the Compiler.
Which environment variables are missing ?
Using ./ifortvars.sh in my bash does work (no error message), but NO environment variables have been set.
Therefore command ifort does not work.
I set PATH, LD_LIBRARY_PATH, .bashrc and the symblic link /usr/bin/ifort by hand now.
For installing MPICH: FC=ifort and F90=ifort
But MPICH can't find the Compiler.
Which environment variables are missing ?
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can't compile in the ifort installation directory, nor install ifort in your bash login directory, so ./ifortvars.sh doesn't make sense. Besides, the script has to be 'source'd. In a default installation, it would be something like 'source /opt/intel/Compiler/11.1/059/bin/ifortvars.sh intel64' (supposing you installed the 64-bit compiler). If you bypass the script and set only some of the environment variables, it's not up to us to guess what you skipped, without even a quotation of the specific problem you met.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can't compile in the ifort installation directory, nor install ifort in your bash login directory, so ./ifortvars.sh doesn't make sense. Besides, the script has to be 'source'd. In a default installation, it would be something like 'source /opt/intel/Compiler/11.1/059/bin/ifortvars.sh intel64' (supposing you installed the 64-bit compiler). If you bypass the script and set only some of the environment variables, it's not up to us to guess what you skipped, without even a quotation of the specific problem you met.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - tim18
You can't compile in the ifort installation directory, nor install ifort in your bash login directory, so ./ifortvars.sh doesn't make sense. Besides, the script has to be 'source'd. In a default installation, it would be something like 'source /opt/intel/Compiler/11.1/059/bin/ifortvars.sh intel64' (supposing you installed the 64-bit compiler). If you bypass the script and set only some of the environment variables, it's not up to us to guess what you skipped, without even a quotation of the specific problem you met.
Thanx for your answer. I source'd the script, which solved my problem.

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