소개

Data

HOME > RESOURCES > Data 38

Intel Fortran Compiler Version 11. 1 Installation [1]
Dongwoo Sheen   2009.11.20   12755

(This is a modification of the instruction from http://www.webmo.net/support/ifort11.html) The Intel Fortran Compiler Professional Edition for Linux is a commercial software product available for commercial or academic purchase. This compiler comes with the Intel Math Kernal Library (MKL) for optimized floating point operations. One can also purchase the Fortran compiler as part of the Intel Compiler Suite Professional Edition for Linux that contains both the Fortran and the C/C++ Professional Compilers. However, Intel also offers a free personal non-commercial unsupported version that is identical to the commerical version. Upon registering for the free unsupported version, you will be sent an email message with download information and an attached license file. Download the latest version of the compiler for your architecture (32-bit Linux = IA-32; 64-bit Linux = Intel64; both = IA-32/Interl64), for example l_cprof_p_11.1.059.tgz (488 MB). 1. Create #mkdir /opt/intel, #cd /opt/intel, 2. Obtain Intel Fortran Compiler at http://downloadcenter.intel.com/SearchResult.aspx?lang=eng&ProductFamily=Software+Products&ProductLine=Performance+Tools+for+Software+Developers&ProductProduct=Intel%C2%AE+Fortran+Compiler+for+Linux*&ProdId=907&LineId=143&FamilyId=42 3. Obtain a license through your email. 4. Extract the Intel Fortran Compiler tar file into a new directory # tar xzf l_cprof_p*.tgz 5. Install license file # mkdir -p /opt/intel/licenses # cp -p NCOM_L_CMP__?????????????.lic /opt/intel/licenses/ 6. Install the Intel Fortran Compiler # cd l_cprof_p_11.1.056 # ./install.sh Accept all defaults Ignore warnings about No compatible Java Runtime Environment (JRE) found operating system type is not supported 7. Link your current version of fortran (and perhaps C++) directory # ln -sf /opt/intel/Compiler/11.1/YOURVERSIONXXX /opt/intel/current 8. ln -sf /opt/intel/current/bin/intel64/ifc /usr/local/bin/f90 9. Workarounds # vi /etc/ld.so.conf add the following lines to this file /opt/intel/current/lib/intel64 /opt/intel/current/mkl/lib/em64t # /sbin/ldconfig * Alternatively, if library files cannot be found, define the LD_LIBRARY_PATH environmental variable to define their location, for example $ export LD_LIBRARY_PATH=/opt/intel/current/lib/intel64:/opt/intel/current/mkl/lib/em64t 10. Execute the following command once $ source /opt/intel/current/bin/ifortvars.sh intel64 11. Compile and link a program $ f90 -c hello.f $ ./a.out 12. Notes * The Intel C/C++ Compiler Professional Edition for Linux can be installed in a completely analogous fashion

Comment









List


40 2009.11.25
39 2009.11.23
38 2009.11.20
37 2009.10.27
36 2009.10.23