这个循环我在shell下运行倒是没问题,确实不太了解shell和脚本里面的运行原理,请问您知道正确该怎么写吗?作者Author: bluewhale 时间: 2023-1-6 20:52
The SLURM "--array" option allows many copies of the same script to be queued all at once.
You can use the $SLURM_ARRAY_TASK_ID to differenciate between the different jobs in the array.作者Author: sun35mr 时间: 2023-1-6 21:20
解决了,$PBS_O_WORKDIR是TORQUE的命令,换成slurm的$SLURM_SUBMIT_DIR就可以了
下面是完整的脚本