Hey Marco,
The version I am using is:
$CondorVersion: 9.0.11 Mar 12 2022 BuildID: 578027 PackageID: 9.0.11-1 $
$CondorPlatform: x86_64_CentOS7 $
To avoid using inline submit, would it be possible to give numerical arguments to my jobs in the .dag file?
For example:
example.dag:
JOB EX1 EX1.subÂN=20 x=1.0 mg=0.05 D=10 l_0=0.5 lambda=100.0 acc=1e-08 ms=100 mem=1
andÂ
EX1.sub:
environment = "JULIA_DEPOT_PATH='/lustre/fs23/group/nic/tangelides/.julia:$JULIA_DEPOT_PATH'"
executable = /lustre/fs23/group/nic/tangelides/julia-1.7.2/bin/julia
arguments = /afs/
ifh.de/user/a/angeltak/Schwinger-Wilson-MPS/run_Schwinger_Wilson_dag.jl $(N) $(x) $(mg) $(D) $(l_0) $(lambda) $(acc) $(ms)
transfer_input_files = /afs/
ifh.de/user/a/angeltak/Schwinger-Wilson-MPS/run_Schwinger_Wilson_dag.jlrequest_memory = $(mem)G
max_retries = 5
should_transfer_files = IF_NEEDED
output = /afs/
ifh.de/user/a/angeltak/logs/N_$(N)_x_$(x)_D_$(D)_mg_$(mg)_l0_$(l_0)_$(Cluster)_$(Process).outoutput = /afs/
ifh.de/user/a/angeltak/logs/N_$(N)_x_$(x)_D_$(D)_mg_$(mg)_l0_$(l_0)_$(Cluster)_$(Process).erroroutput = /afs/
ifh.de/user/a/angeltak/logs/N_$(N)_x_$(x)_D_$(D)_mg_$(mg)_l0_$(l_0)_$(Cluster)_$(Process).logqueue
with
run_Schwinger_Wilson_dag.jl:
using LinearAlgebra
using Arpack
using BenchmarkTools
using Plots
using LaTeXStrings
using Test
using HDF5
include("MPO.jl")
include("variational_first_excited_state_MPS_algorithm.jl")
# ----------------------------------------------------------------------------------------------------------------------------------
# Generate data for entanglement entropy vs mass plot
N = parse(Int, ARGS[1])
x = parse(Float64, ARGS[2])
mg = parse(Float64, ARGS[3])
D = parse(Int64, ARGS[4])
l_0 = parse(Float64, ARGS[5])
lambda = parse(Float64, ARGS[6])
accuracy = parse(Float64, ARGS[7])
max_sweep_number = parse(Int64, ARGS[8])
generate_entropy_data(mg, x, N, D, accuracy, lambda, l_0, max_sweep_number)
# ----------------------------------------------------------------------------------------------------------------------------------
Kind regards,
Takis