| 5 | 1/1 | 返回列表 |
| 查看: 2114 | 回復: 2 | ||
| 當前只顯示滿足指定條件的回帖,點擊這里查看本話題的所有回帖 | ||
moirakaola銀蟲 (小有名氣)
|
[求助]
運行l(wèi)ammps錯誤——ERROR: Illegal units command
|
|
|
大家好!如題,在運行l(wèi)ammps時,報錯: 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 |
銀蟲 (小有名氣)
木蟲 (正式寫手)
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考博] 求材料讀博院校 +8 | yanglei131 2026-03-08 | 8/400 |
|
|---|---|---|---|---|
|
[考博] 申博 +5 | 添菜了哈 2026-03-04 | 8/400 |
|
|
[考研] 085701環(huán)境工程專碩求調劑 +5 | 幼稚園大班打手 2026-03-08 | 5/250 |
|
|
[考研] 0856材料與化工290求調劑 +7 | Nebulala 2026-03-08 | 8/400 |
|
|
[考博] 26申博自薦 +9 | 烷基八氮- 2026-03-06 | 11/550 |
|
|
[考博] 26年博士申請 +4 | 科研狗111 2026-03-07 | 4/200 |
|
|
[考研] 材料工程307,求調劑 +4 | 我要燃燒你的夢 2026-03-08 | 4/200 |
|
|
[考研] 一志愿中科大能動297求調劑,本科川大 +4 | 邵11 2026-03-03 | 4/200 |
|
|
[考研] 調劑 +3 | 13853210211 2026-03-08 | 3/150 |
|
|
[考研] 0701-322 求調劑 +3 | jiliuxian 2026-03-06 | 8/400 |
|
|
[考研] 347求調劑 +4 | 浮云滿足 2026-03-07 | 4/200 |
|
|
[考研] 0703化學求調劑學校 +3 | 一志愿京區(qū)211 2026-03-04 | 3/150 |
|
|
[考研] 材料專碩調劑 +5 | 慕辰123 2026-03-05 | 8/400 |
|
|
[考博] 2026年博士名額撿漏 +4 | 科研ya 2026-03-04 | 7/350 |
|
|
[考研] 085602高分子方向求調劑 +7 | tlgudy 2026-03-04 | 7/350 |
|
|
[考研] 268求調劑 +4 | 劉合華 2026-03-05 | 4/200 |
|
|
[考研] 301求調劑 +4 | 李LJR 2026-03-04 | 4/200 |
|
|
[考研] 0703化學 一志愿東北大學 279分求調劑 +4 | 聶樂平 2026-03-03 | 4/200 |
|
|
[考研] 0703化學求調劑 +3 | 將未有期 2026-03-04 | 3/150 |
|
|
[考研] 能動297求調劑,本科川大 +4 | 邵11 2026-03-04 | 4/200 |
|