在运行初始阶段就报如下错误(不止计算单点能,主要修改nprocs就是报错,是默认的maxcore和nprocs能正常运行orca):
ORCA finished by error termination in Startup
Calling Command: mpirun -np 6 /proj/hogrp_chemuu/software/orca_6_0_0_shared_openmpi416/orca_startup_mpi selected_1.int.tmp selected_1
[file orca_tools/qcmsg.cpp, line 394]:
.... aborting the run
请教别人后,说是修改nprocs需要调用mpi,但一直解决不好。
投orca的部分脚本如下:
# Definition of file name
filename=$(echo $1 | cut -d . -f 1)
echo "#!/bin/bash" >> jobfile
echo "#SBATCH -p tetralith" >> jobfile
echo "#SBATCH -N 1" >> jobfile
#echo "#SBATCH -c 16" >> jobfile
echo "#SBATCH -t $job_time:00:00" >> jobfile
echo "#SBATCH -A naiss2024-5-422" >> jobfile #Project number
echo "#SBATCH -J $filename" >> jobfile # Specify a name for the job -> in squeue this is the name that will show up
echo >> jobfile #empty line