1.first
sudo apt-get install rpm build-essential
sudo apt-get install libstdc++6
sudo apt-get install ia32-libs
2.download intel@Fortran Compiler from
https://registrationcenter.intel.com/RegCenter/AutoGen.aspx?ProductID=1523&AccountID=&EmailID=&ProgramID=&RequestDt=&rm=NCOM&lang=
3.
tar xvzf l_fcompxe_intel64_2011.1.107.tar
cd l_fcompxe_intel64_2011.1.107
sudo ./install.sh
4. cd /opt/intel/composerxe-2011.1.107
5. nano .bashrc
the nano editor will open ".bashrc" file, and
add the following lines at the end of the file:
PATH="/opt/intel/composerxe-2011.1.107:$PATH"
export PATH
LD_LIBRARY_PATH="/opt/intel/composerxe-2011.1.107:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH
6. now you can use
ifort test.f90
to get a.out
留言列表