|||
1, 我已经装好了LAPACK。define the environment variable LRTPATH pointing to the folder where the files will be installed:
gedit ~/.bashrc
在export那加一行:export LRTPATH=/media/Expansion/template/ASSEF/lrt_v2/
保存退出
2, 安装g77。我没试直接装行不行。只是按照网页这样装:
a)sudogedit /etc/apt/sources.list
b)Then to the bottom of that file add:
c)sudo apt-get update
d)test it try compiling a `Hello World!’ program
gedit hello.f& 输入:
program hello
e)g77 -o hello hello.f
f)./hello
g)如果报缺失文件则,
sudo cp /usr/lib/gcc/x86_64-linux-gnu/4.6.3/libgcc_s.so /lib/libgcc_s.so.1
h)注释掉那四行sudo gedit /etc/apt/sources.list
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-4-30 21:27
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社