计算化学公社

标题: ICSS文章中使用高斯的部分由win10提交到Linux服务器时候不知道该怎么写运行脚本 [打印本页]

作者
Author:
frankmlin    时间: 2022-3-9 16:15
标题: ICSS文章中使用高斯的部分由win10提交到Linux服务器时候不知道该怎么写运行脚本
求助!我们这边的高斯是在服务器中的Linux系统中的,需要通过win10的LICO系统提交任务,但提交任务时需要编写运行脚本,我不知道该怎么结合icss文中提到的example文件夹中Linux系统的批处理文件使multiwfn中输出的17个gjf文件进行计算并且输出out文件,我试着按照直觉写了一下,但是输出的out文件一看文件大小就不对劲,打开之后还有error字样我写的运行脚本如下

source /share/apps/env/gaussian16/g16_env.sh
icc=0
nfile=`ls ./*.gjf|wc -l`
for inf in *.gjf
do
((icc++))
echo Running ${inf} ... \($icc of $nfile\)
time g16 < ${inf} > ${inf//gjf/out}
echo ${inf} has finished
echo
done


在第一个和第二个out文件中出现了如下字符
Warning:  center 343 has no basis functions!
还有这样的
Warning:  center8000 has no basis functions!
   612 basis functions,  1072 primitive gaussians,   644 cartesian basis functions
   114 alpha electrons      114 beta electrons
       nuclear repulsion energy      3235.9892012914 Hartrees.
NAtoms= 8000 NActive= 8000 NUniq= 8000 SFac= 1.00D+00 NAtFMM=   60 NAOKFM=T Big=T
Integral buffers will be    131072 words long.
Raffenetti 2 integral format.
Two-electron integral symmetry is turned off.
One-electron integrals computed using PRISM.
PrsmSu:  requested number of processors reduced to:  25 ShMem   1 Linda.
NBasis=   612 RedAO= T EigKep=  1.44D-04  NBF=   612
NBsUse=   612 1.00D-06 EigRej= -1.00D+00 NBFU=   612
Out-of-memory error in routine Quad0-Map (IEnd=     133745149 MxCore=     104857600)
Use %mem=128MW to provide the minimum amount of memory required to complete this step.
Error termination via Lnk1e in /share/apps/g16/l302.exe at Wed Mar  9 15:22:10 2022.
Job cpu time:       0 days  0 hours  4 minutes 49.5 seconds.
Elapsed time:       0 days  0 hours  0 minutes  7.5 seconds.
File lengths (MBytes):  RWF=     50 Int=      0 D2E=      0 Chk=      2 Scr=      2


作者
Author:
snljty    时间: 2022-3-9 16:48
Use %mem=128MW to provide the minimum amount of memory required to complete this step.
报错信息写的很详细。
作者
Author:
frankmlin    时间: 2022-3-9 16:57
snljty 发表于 2022-3-9 16:48
Use %mem=128MW to provide the minimum amount of memory required to complete this step.
报错信息写的 ...

实话实说,我完全没学过编程,我一直把软件当成黑匣子用,这句话我翻译了一下,使用%mem=128MW提供完成此步骤所需的最小内存量,请问这是啥意思呢?问题出在哪呢?
作者
Author:
冰释之川    时间: 2022-3-9 16:59
frankmlin 发表于 2022-3-9 16:57
实话实说,我完全没学过编程,我一直把软件当成黑匣子用,这句话我翻译了一下,使用%mem=128MW提供完成此 ...

在输入文件中用%mem=xxxGB来设定所要使用的内存;比如%mem=64GB 代表把64GB内存分配给这个任务
作者
Author:
frankmlin    时间: 2022-3-9 17:09
冰释之川 发表于 2022-3-9 16:59
在输入文件中用%mem=xxxGB来设定所要使用的内存;比如%mem=64GB 代表把64GB内存分配给这个任务

请问要加在第几行呢?一般可以设定多少运存呢?我这边在系统中提交任务时候只能选择用几个节点多少个核来计算,所以我这边输入文件中有%nprocshared=40,这个不能设定运存吗?
作者
Author:
sobereva    时间: 2022-3-9 22:19
把下文仔细看了,搞明白Gaussian的Default.Route是干嘛的、在哪里设默认的内存使用量
Gaussian的安装方法及运行时的相关问题
http://sobereva.com/439http://bbs.keinsci.com/thread-10814-1-1.html




欢迎光临 计算化学公社 (http://bbs.keinsci.com/) Powered by Discuz! X3.3