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

Intel Fortran Compilers on Linux - Red Hat Enterprise

mmancini
Beginner
1,119 Views
Greetings. I'm having trouble accessing the Intel Fortran Compiler that I just installed on a machine running Linux Red Hat Enterprise. I installed the packages according to the INSTALL.txt, and then ran /opt/intel/fc/9.0/bin/ifortvars.sh to set the enviroment variables. When I log on as a standard user, it says it doesn't see the command I am using to run the compiler.

I used a Serial number when activating the installation, and I'm not sure if I need to download any FlemLM license manager or whatnot.

Any help is appreciated.

Thanks.
0 Kudos
3 Replies
TimP
Honored Contributor III
1,119 Views
If the ifortvars script works, you should see the compiler /bin directory in the PATH environment variable, and the /lib/directory in LD_IBRARY_PATH. That should be sufficient for the ifort command to be recognized. If the installation completed normally, the license should have been copied to a place where the compiler looks for it. License problems would not prevent the ifort command from being found, they would generate an explicit error message. You would need flexlm only for a floating license.
0 Kudos
mmancini
Beginner
1,119 Views
Okay, I checked the env and for the PATH I get this:
PATH=/opt/intel/fc/9.0/bin:/usr/pgi/linux86/5.2/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin

And for the Library I get this:
LD_LIBRARY_PATH=/opt/intel/fc/9.0/lib


My questions is following:
I used to have PGI Group Compilers installed and I'm not sure if I need to remove that from the PATH or not (as you can see it's listed in the PATH above, also). I have this question, because when I run the command "ifort" as root, it says it needs me to specify files (which means it knows the command, but the command is incomplete). However, when I run the command as a common user without root access, it says command not found. I also ran /opt/intel/fc/9.0/bin/ifortvars.sh as that specific user, but to no avail.

Thanks for all the help!
0 Kudos
Steven_L_Intel1
Employee
1,119 Views
Did you use the "source" command as specified in the documentation?
0 Kudos
Reply