我正在尝试在群集上运行AMBER16,但是当通过调度程序使用“qsub”命令提交作业时它无法正常工作。但是,在前端节点上本地运行时,该作业可以正常工作。我在.bashrc文件中正确设置了所有PATHS。以下是我的代码:
#!/bin/bash
#PBS -N testAmber
#PBS -l nodes=1:ppn=12
#PBS -l walltime=05:00:00
cd working_directory
export AMBERHOME=/state/partition1/apps/amber16
source $AMBERHOME/amber.sh
mpirun -np 12 $AMBERHOME/bin/sander.MPI -O -i ...etc...
提交时,我收到以下错误消息:
.../.bashrc: line 46: /state/partition1/apps/amber16/amber.sh: No such file or directory
/var/spool/torque/mom_priv/jobs/...: line 16: /state/partition1/apps/amber16/amber.sh: No such file or directory
mpirun was unable to launch the specified application as it could not access
or execute an executable:
Executable: /state/partition1/apps/amber16/bin/sander.MPI
Node: compute-0-8.local
while attempting to start process rank 0.
我一直试图找到解决方案几个小时,但我被卡住了。请帮忙:(