zoukankan      html  css  js  c++  java
  • 作业lab1-1:lammps教程总结

    一、总教程:

    https://www.weibo.com/ttarticle/p/show?id=2313501000014189253469889617

    (1)lammps很大,服务器网很慢。。。大概要40min才能下下来

    (2)校园网有时候能上别的网站但连不上服务器(显示unreachable),重连一下校园网就好了。

     (3)范例结果(还没有自己调参数):

    二、待学习:

    (1)configure的一套;

    (2)编辑.bashrc,source .bashrc;

    (3)tar解压命令

    (4)安装各步都干了什么

    比如最后跑例子的命令:【输入命令 mpirun -np 4 lmp_mpi < in.crack】:用法来源于lammps的官网:https://lammps.sandia.gov/doc/Run_basics.html

      

    跟着教程做遇到的问题

    (1)做make的时候,configure之后make报错:

    make: *** No targets specified and no makefile found. Stop.

    解决:应该是configure的prefix错了,要指定安装路径的绝对路径,可以用pwd看。之前我绝对路径写错了但是命令没有报错。正确的绝对路径打进去后会出现一堆check信息。

    (2)tar lammps的报错:

    [lxy@gpu8 lab1]$ tar -zxvf lammps-stable.tar.gz

    gzip: stdin: unexpected end of file
    lammps-22Aug18/
    lammps-22Aug18/bench/
    lammps-22Aug18/bench/log.6Oct16.rhodo.fixed.icc.4
    lammps-22Aug18/bench/in.rhodo.scaled
    lammps-22Aug18/bench/in.lj
    lammps-22Aug18/bench/log.6Oct16.chain.scaled.icc.4
    lammps-22Aug18/bench/in.chute
    lammps-22Aug18/bench/log.6Oct16.chain.fixed.icc.1
    lammps-22Aug18/bench/Cu_u3.eam
    tar: Unexpected EOF in archive
    tar: Unexpected EOF in archive
    tar: Error is not recoverable: exiting now

    解决:网上说tar的问题,再下一遍lammps。

     linux中断下载不会删除已经下载了的文件,需要手删。

    二、其他:

    (1)查看发行版

    https://www.cnblogs.com/wojiatingting/p/6879084.html

     (2)按照官网的指导:要从EPEL库里面获得,但好像也不用?

    安装EPEL库

    也可以使用wget下载到本地然后用rpm安:https://www.cnblogs.com/lxz88/p/6278268.html

    (2)无root安装rpm:

    https://blog.csdn.net/feixiaohuijava/article/details/79152854 

  • 相关阅读:
    bzoj 2152: 聪聪可可
    bzoj 2143: 飞飞侠
    bzoj 2132: 圈地计划
    bzoj 2127: happiness
    bzoj 2124: 等差子序列
    bzoj 2120: 数颜色
    对MySQL数据类型的认识
    MySQL详解--锁,事务(转)
    mysql 5.7快速部署
    elasticsearch报错[WARN ][bootstrap ] Unable to lock JVM Memory: error=12,reason=Cannot allocate memory,解决
  • 原文地址:https://www.cnblogs.com/iwanna/p/10022232.html
Copyright © 2011-2022 走看看