| 查看: 2167 | 回复: 2 | ||
[求助]
运行lammps错误——ERROR: Illegal units command
|
|
大家好!如题,在运行lammps时,报错: LAMMPS (9 Dec 2014) WARNING: OMP_NUM_THREADS environment is not set. (../comm.cpp:89) using 1 OpenMP thread(s) per MPI task ERROR: Illegal units command (../input.cpp:1682) yhrun: error: cn10249: tasks 0-23: Exited with exit code 1 自己在网上查,但是不知道如何改???还请高手指教,谢谢! you get the illegal units command, because your text file is actually not proper 7-bit ASCII text. several characters that show up as blank characters are not (in fortran notation) char(32) but rather char(160). this confuses the input file parser. it has nothing to do with the choice of units. 下面是我的in文件 ############################################################# ## JOB DESCRIPTION ## ############################################################# # Minimization and Equilibration of structure # need to edit file names "data.222quartz" ############################################################# ## Initialization ## ############################################################# units real ;#lj or real or metal or si or cgs or electron or micro or nano boundary p p p atom_style full ;#before read_data ############################################################# ## Atom definition ## ############################################################# ##lattice construction & pair style read_data data.222quartz ## Potencial #pair_style lj ############################################################# ## Seting ## ############################################################# neighbor 2.0 bin ;#for lj unit neigh_modify delay 10 fix 1 all nvt temp 298.0 298.0 100.0 thermo 10 timestep 1 ;#fs ##Output options dump 222quartz all atom 10 dump.atom #dump 2 all image 10 image.*.jpg element element & # axes yes 0.8 0.02 view 60 -30 #dump_modify 2 pad 3 element Si C ############################################################# ## Run a simulation ## ############################################################# ##Energy minimization minimize 1.0e-4 1.0e-6 100 1000 ;#etol ftol maxiter maxeval min_style cg ;#cg or hftn or sd or quickmin or fire #min_modify ;#This command sets parameters that affect the energy minimization algorithms selected by the min_style command. ##Molecular dynamics simulation run 100 |
» 猜你喜欢
云南大学材料与能源学院解琳课题组钙钛矿博士招生
已经有7人回复
西安交大新媒学院副院长用撤稿论文结题
已经有5人回复
论文撤稿了
已经有5人回复
某211大学教师把个人教师官方主页改成:我跑了我跑了我跑了!官宣跑路!
已经有5人回复
26/27申博自荐
已经有9人回复
售SCI一区T0P文章,我:8.O.5.5.1.O.5.4,科目齐全,可+急
已经有3人回复
售SCI一区T0P文章,我:8.O.5.5.1.O.5.4,科目齐全,可+急
已经有7人回复
河北省自然科学基金
已经有7人回复
揭秘青基评审内幕:几个A才能顺利中标
已经有4人回复
青B发送上会通知了吗
已经有7人回复
Nater1ver
木虫 (正式写手)
- 应助: 1 (幼儿园)
- 金币: 3481.2
- 红花: 14
- 帖子: 768
- 在线: 47.9小时
- 虫号: 1526557
- 注册: 2011-12-06
- 专业: 遥感机理与方法
2楼2019-10-12 19:09:38
3楼2019-10-14 10:41:52












回复此楼
10