From 834e5f0192c525a70bcdb733812e7e51cc5caf09 Mon Sep 17 00:00:00 2001 From: caes Date: Tue, 27 Jun 2017 04:21:34 -0400 Subject: [PATCH] upload to JR --- scripts/psdlag_4bin.py | 6 ++++-- scripts/templates/thor_submit.pbs | 9 +++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 scripts/templates/thor_submit.pbs diff --git a/scripts/psdlag_4bin.py b/scripts/psdlag_4bin.py index 21e3267..68304ad 100755 --- a/scripts/psdlag_4bin.py +++ b/scripts/psdlag_4bin.py @@ -34,7 +34,10 @@ t1, l1, l1e = np.loadtxt(ref_file).T # 0.22, 0.56]) #D -fqL = [0.0049999999] + np.logspace(np.log10(0.02999999),np.log10(0.340002000),5) +fqL = [0.0049999999] + np.logspace(np.log10(0.05999999),np.log10(0.340002000),5) +fqL = np.array([0.0049999999, 0.044733049, + 0.10747115, + 0.25819945, 0.44020915]) nfq = len(fqL) - 1 fqd = 10**(np.log10( (fqL[:-1]*fqL[1:]) )/2.) @@ -45,7 +48,6 @@ fqd = 10**(np.log10( (fqL[:-1]*fqL[1:]) )/2.) P1 = clag.clag('psd10r', [t1], [l1], [l1e], dt, fqL) p1 = np.ones(nfq) p1, p1e = clag.optimize(P1, p1) - p1, p1e = clag.errors(P1, p1, p1e) diff --git a/scripts/templates/thor_submit.pbs b/scripts/templates/thor_submit.pbs new file mode 100644 index 0000000..1878de9 --- /dev/null +++ b/scripts/templates/thor_submit.pbs @@ -0,0 +1,9 @@ +#!/bin/sh -login +#PBS -l mem=64GB +#PBS -l nodes=1:ppn=1:research +#PBS -l walltime=48:00:00 +#PBS -N "%NAME%" +#PBS -j oe + +cd %ROOTDIR% +time ~/psdlag-agn/bin/psdlag '%ROOTDIR%/%ARGSFILE%' > '%ROOTDIR%/%OUTPUTFILE%'