X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=django_simple%2Ftodo%2Fjobfiles.py;h=2b16ba375de196a5ca2187ec615e591640867ece;hb=40a0294067658c1cd37eaa2684ab98ed10cdb025;hp=3fc077f20169fb166c081ad67bef079205962856;hpb=e0e7c8852118f1e9fc1b66a5a45c86e21abef7b2;p=django_unres.git diff --git a/django_simple/todo/jobfiles.py b/django_simple/todo/jobfiles.py index 3fc077f..2b16ba3 100644 --- a/django_simple/todo/jobfiles.py +++ b/django_simple/todo/jobfiles.py @@ -226,9 +226,9 @@ CUTOFF=7.00000 WCORR4=0.00000 ret_code = subprocess.Popen(' /opt/torque/bin/qsub pbs.csh', shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) os.chdir('..') else: +# instance.type == 'remd' tmp1=json.loads(instance.remd_multi_m) nreplicas=sum(map(int, tmp1)) - # hardcoded for 4 core nodes with FGPROC=2 nodes=int(nreplicas*2/4) reszta = nreplicas*2-nodes*4