torque

PBS jobs stay queued ('Q' state) but run with qrun

可紊 提交于 2021-02-10 20:01:35
问题 on my full local torque installation (torque-6.1.1), all my submitted jobs are stuck in 'Q' state, and I have to force their executions using qrun. >qstat -f 141 Job Id: 141.localhost Job_Name = script.pbs Job_Owner = michael@localhost job_state = Q queue = batch server = localhost Checkpoint = u ctime = Wed Aug 23 16:45:25 2017 Error_Path = localhost:/var/spool/torque/script.pbs.e141 Hold_Types = n Join_Path = n Keep_Files = n Mail_Points = bae mtime = Wed Aug 23 16:45:25 2017 Output_Path =

Does qsub pass command line arguments to my script?

有些话、适合烂在心里 提交于 2021-01-20 19:11:19
问题 When I submit a job using qsub script.sh is $@ setted to some value inside script.sh ? That is, are there any command line arguments passed to script.sh ? 回答1: You can pass arguments to the job script using the -F option of qsub: qsub script.sh -F "args to script" or inside script.sh: #PBS -F arguments This is documented here. 回答2: On my platform the -F is not available. As a substitute -v helped: qsub -v "var=value" script.csh And then use the variable var in your script. See also the

Does qsub pass command line arguments to my script?

。_饼干妹妹 提交于 2021-01-20 19:10:18
问题 When I submit a job using qsub script.sh is $@ setted to some value inside script.sh ? That is, are there any command line arguments passed to script.sh ? 回答1: You can pass arguments to the job script using the -F option of qsub: qsub script.sh -F "args to script" or inside script.sh: #PBS -F arguments This is documented here. 回答2: On my platform the -F is not available. As a substitute -v helped: qsub -v "var=value" script.csh And then use the variable var in your script. See also the

Issue importing PyPlot when submitting Julia file to cluster via Torque

跟風遠走 提交于 2021-01-05 20:31:46
问题 I am running some Julia code on my school's cluster. The .bps file which calls test_julia.jl is given below: 1 #!/bin/tcsh 2 3 #PBS -l walltime=24:00:00 4 #PBS -l nodes=1:ppn=1 5 #PBS -N test_julia 6 ##PBS -q normal 7 #PBS -q normal 8 #PBS -j oe 9 #PBS -o ./log/julia.${PBS_JOBID}.out 10 ##PBS -e ./log/julia.${PBS_JOBID}.err 11 ##PBS -m abe -M myemail@school.edu 12 #PBS -t 1-38 13 14 15 cd $PBS_O_WORKDIR 16 17 module load julia 18 19 julia /path/to/file/test_julia.jl 10 20 30 20 where 10, 20,

V-rep学习笔记:转动关节2

自闭症网瘾萝莉.ら 提交于 2020-10-27 14:06:00
  Torque or force mode : in this mode, the joint is simulated by the dynamics module, if and only if it is dynamically enabled. When dynamically enabled, a joint can be free or controlled in Force/torque, in velocity or in position.   The differentiation comes from the fact that a joint that operates in force/torque mode will be handled by the physics engine . And the physics engine will perform by default 10 times more calculation steps than the simulation loop: the simulation loop runs at 20Hz (in simulation time), while the physics engine runs at 200Hz (also in simulation time). That

Matlab的mat格式数据转化至python数据格式

天涯浪子 提交于 2020-04-27 17:06:11
因工作原因,一些获取的行业数据以已知的结构体存储在.mat文件中, 现需要将其存储在数据库中并且能够灵活调用至python dataframe里进行操作 原数据的一个例子如下 目标如上: 然后是转化代码: import scipy.io data = scipy.io.loadmat(r ' C:\Users\wenzhe.tian\Desktop\PTSimA\Doing\MC.mat ' ) import pandas as pd data.pop( ' __header__ ' ) data.pop( ' __version__ ' ) data.pop( ' __globals__ ' ) vehicle_name = data.keys() vehicle_name = list(vehicle_name) for i in vehicle_name: df = pd.DataFrame(data[i][0]) try : df = df.astype(float) except : for j in list(df): try : df[j] = df[j].astype(float) except : continue # df[j]=df[j].astype(str) if i== vehicle_name[0]: df1 = df; else : df1 =pd

Modify attributes (including queue) of a pbs jobs

我与影子孤独终老i 提交于 2020-02-25 07:42:42
问题 I want to change the attributes (walltime and queue) of several (idle) jobs scheduled on a cluster. When I do (where 1234 is the job id): qalter -l walltime=24:00:00 -q newQueue 1234 I get the following error : qalter: illegally formed job identifier: newQueue What can I do? 回答1: You need to do this in two steps: qalter to change the walltime qalter -l walltime=24:00:00 1234 qmove to move the job to newQueue qmove newQueue 1234 This order might be important, if newQueue is restricted for a

Modify attributes (including queue) of a pbs jobs

隐身守侯 提交于 2020-02-25 07:42:11
问题 I want to change the attributes (walltime and queue) of several (idle) jobs scheduled on a cluster. When I do (where 1234 is the job id): qalter -l walltime=24:00:00 -q newQueue 1234 I get the following error : qalter: illegally formed job identifier: newQueue What can I do? 回答1: You need to do this in two steps: qalter to change the walltime qalter -l walltime=24:00:00 1234 qmove to move the job to newQueue qmove newQueue 1234 This order might be important, if newQueue is restricted for a

pbs job no output when busy

妖精的绣舞 提交于 2020-01-07 05:30:54
问题 I am experiencing a problem with PBS where, of all the jobs I submit, there tends to be a fraction that do not produce any output as they should. I have to resubmit them several times until they have all produced the output. I have also noticed that this is especially bad when other users submit large numbers of jobs. In this case, ALL of my jobs fail to produce the expected output files. I'm only user of PBS so don't understand what is going on. If anyone can give some suggestions that'd be