HPC命令行工具对接多瑙调度器FAQ
现象描述一
转换脚本时,终端出现交互信息:“The application path in the script does not match that in the task_file.txt. Please enter the application path again。”
可能原因
本工具通过task_file中application参数值来匹配原始脚本中需要改造的mpirun命令,当原始脚本中应用路径与task_file中的application参数值不一致时,会出现交互信息,提示用户为未匹配到对应命令,并重新输入应用路径。
处理步骤
- 在交互处输入同原始脚本一致的应用路径。
- 修改task_file中application参数值,使其同原始脚本中路径一致。
现象描述二
当转换脚本时,终端出现交互信息:“The mpirun format does not meet the requirements. Modify the mpirun command in the following format:mpirun|path/mpirun mpirun_param application application_param”
可能原因
工具对原始脚本中的mpirun命令有一定限制,必须是以mpirun绝对路径或相对路径开始。
处理步骤
需用户手动改造原始脚本中的命令,改造示例:mpirun|path/mpirun mpirun_param application application_param
图1 改造前

图2 改造后

父主题: FAQ