| 3 | 1/1 | 返回列表 |
| 查看: 2111 | 回復(fù): 2 | ||
moirakaola銀蟲 (小有名氣)
|
[求助]
運(yùn)行l(wèi)ammps錯(cuò)誤——ERROR: Illegal units command
|
|
大家好!如題,在運(yùn)行l(wèi)ammps時(shí),報(bào)錯(cuò): 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 自己在網(wǎng)上查,但是不知道如何改???還請高手指教,謝謝! 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 |
木蟲 (正式寫手)
銀蟲 (小有名氣)
| 3 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 材料專碩290求調(diào)劑 +5 | 杰尼龜aaa 2026-03-04 | 5/250 |
|
|---|---|---|---|---|
|
[考研] 材料085601一志愿哈工大317 +4 | 壓迫感行 2026-03-04 | 4/200 |
|
|
[考研] 320材料一志愿西工大專碩英二數(shù)二 有兩年光伏工作經(jīng)驗(yàn) +5 | 錘某人 2026-03-04 | 8/400 |
|
|
[考研] 一志愿武漢理工大學(xué)-085602-總分296分-求調(diào)劑 +7 | 紫川葡柚 2026-03-04 | 7/350 |
|
|
[考研] 成績276,專業(yè)代碼0856求調(diào)劑 +10 | 小陳朵 2026-03-03 | 10/500 |
|
|
[考研] 282求調(diào)劑 +5 | 2103240126 2026-03-02 | 8/400 |
|
|
[考研] 085601 材料工程 320 +6 | 和樂瑤 2026-03-03 | 6/300 |
|
|
[考研] 325求調(diào)劑 +5 | 學(xué)家科 2026-03-04 | 5/250 |
|
|
[考研]
|
旅行中的紫葡萄 2026-03-03 | 4/200 |
|
|
[考研] 0856材料工程,初試313調(diào)劑 +7 | 賣個(gè)關(guān)子吧 2026-03-03 | 7/350 |
|
|
[考研] 理學(xué),工學(xué),農(nóng)學(xué)調(diào)劑,少走彎路,這里歡迎您! +8 | likeihood 2026-03-02 | 11/550 |
|
|
[考研] 298求調(diào)劑 +3 | 人間唯你是清歡 2026-03-03 | 4/200 |
|
|
[考研] 291求調(diào)劑 +3 | MuoLuo1312 2026-03-02 | 6/300 |
|
|
[考研] 化工京區(qū)271求調(diào)劑 +7 | 11ing 2026-03-02 | 7/350 |
|
|
[考研] 0854復(fù)試調(diào)劑 276 +5 | wmm9 2026-03-01 | 7/350 |
|
|
[考研]
|
好好好1233 2026-02-28 | 16/800 |
|
|
[考研] 298求調(diào)劑 +10 | 人間唯你是清歡 2026-02-28 | 14/700 |
|
|
[考研] 求調(diào)劑 +11 | yunziaaaaa 2026-03-01 | 13/650 |
|
|
[考研] 材料085601調(diào)劑 +5 | 多多子. 2026-03-02 | 5/250 |
|
|
[考博] 誠招農(nóng)業(yè)博士 +3 | 心欣向榮 2026-02-28 | 3/150 |
|