user001:~> /opt/shared/msc/bin/dytran jid=/mnt/storage/home/user001/TEST_MSC/cs_9
Dytran Run-script Copyright (C) 1999 - MSC.Software Corporation. ----------------------------------------------------------- JobId is /mnt/storage/home/user001/TEST_MSC/cs_9 Generic name is /MNT/STORAGE/HOME/USER001/TEST_MSC/CS_9 Environment directory is /mnt/storage/home/user001 Input file is named /mnt/storage/home/user001/TEST_MSC/cs_9.dat Neutral file is named /MNT/STORAGE/HOME/USER001/TEST_MSC/CS_9.NIF All output files will have prefix /MNT/STORAGE/HOME/USER001/TEST_MSC/CS_9 Archive files will have extension .ARC Time History files will have extension .THS Restartoutput files will have extension .RST Number of Processors used 1 Log file will be named /MNT/STORAGE/HOME/USER001/TEST_MSC/CS_9.LOG Dytran executable is /opt/shared/msc/dytran2012/dytranexe/dytran.exe /MNT/STORAGE/HOME/USER001/TEST_MSC/CS_9.CSH: No such file or directory.
Решение - запускать Dytran из той-же директории, где находится jid-файл и указывать только его имя, без пути. Для этого в скрипте для qsub должна присутствовать команда 'cd $PBS_O_WORKDIR'.
#!/bin/bash #PBS -l select=1:ncpus=1:mem=2000mb:mpiprocs=1 #PBS -l walltime=01:00:00 cd $PBS_O_WORKDIR PATH=$PATH:/opt/shared/msc/dytran2012/bin/ export PATH dytran jid=simpl_geom ncpus=1 bat=no