wendyxiaoqing的个人博客分享 http://blog.sciencenet.cn/u/wendyxiaoqing

博文

ASSEF的安装

已有 3674 次阅读 2013-5-20 15:40 |个人分类:软件安装|系统分类:科研笔记| ASSEF

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:

deb http://hu.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://hu.archive.ubuntu.com/ubuntu/ hardy-updates universe

 c)sudo apt-get update

 sudo apt-get installg77

   d)test it try compiling a `Hello World!’ program 

    gedit hello.f& 输入:

         program hello

      print *,"Hello World!"
   end 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

## deb-src http://hu.archive.ubuntu.com/ubuntu/ hardy universe
## deb http://hu.archive.ubuntu.com/ubuntu/ hardy-updates universe
## deb-src http://hu.archive.ubuntu.com/ubuntu/ hardy-updates universe





https://blog.sciencenet.cn/blog-749052-691772.html

上一篇:! LaTeX Error: File `picins.sty' not found.解决方法
下一篇:K改正
收藏 IP: 159.226.169.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...
扫一扫,分享此博文

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-30 21:27

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部