← Back to team overview

yade-users team mailing list archive

[Question #252053]: Yade in PBS

 

New question #252053 on Yade:
https://answers.launchpad.net/yade/+question/252053

Yade of version 1.0 is installed successfully on our cluster by compiling it from the source.
It could able to run interactively when it is submitted, 
Yade is getting the exit signal strangely when we were trying to assign the Yade job through PBS, The following log shows that the Yade is executing the part of our code but not fully.

>>From error file KM-MKR.e47892
[user99@login1 test]$ cat KM-MKR.e47892
Welcome to Yade Unknown
TCP python prompt on localhost:9000, auth cookie `eksyau'
Running script tBed30.py

>>From out file
Warning: no access to tty (Bad file descriptor).
Thus no job control in this shell.
XMLRPC info provider on http://localhost:21000
5.18508611496e-08
[[ ^L clears screen, ^U kills line. F8 plot. ]]
Yade [1]: 
Do you really want to exit ([y]/n)?

I could see that my output files are created and left empty.
The same program could able to run the job interactively on the particular node.
We have tried all the other methods to hold the yade  not to be killing itself but somehow yade is processing the kill signal.
PBS SCRIPTS

[user99@login1 test]$ cat yade_pbsrun.sh
#! /bin/tcsh
#PBS -l walltime=48:00:00
#PBS -N KM-MKR
#PBS -q workq
#PBS -l select=1:ncpus=16
##PBS -l place=scatter:excl
#PBS -V

# Go to the directory from which you submitted the job
#cd $PBS_O_WORKDIR
cd /scratch/user99/test
/home/user99/build_7/YADE/bin/yade-Unknown tBed30.py

#./run_sin.sh && echo 1 > logfile &
#while [ ! -s $logfile ]; do sleep 1; done
#PID=$! #catch the last PID
#wait $PID
#/home/user99/build_7/YADE/bin/yade-Unknown tBed30.py

Looking forward your suggestions.
Thanks.
 

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.