From 61107fd0433444108aa9f5db930dc1f172f35853 Mon Sep 17 00:00:00 2001 From: Karthik Chandrashekara Date: Wed, 20 Nov 2024 21:49:50 +0100 Subject: [PATCH] Tweaked parameters. --- Dipolar-Gas-Simulator/+Scripts/run_locally.m | 6 +++--- Dipolar-Gas-Simulator/+Scripts/run_on_cluster.m | 12 ++++++------ Dipolar-Gas-Simulator/bwhpc_matlab_gpe_sim_gpu.slurm | 4 ++-- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Dipolar-Gas-Simulator/+Scripts/run_locally.m b/Dipolar-Gas-Simulator/+Scripts/run_locally.m index 7f3a034..c979301 100644 --- a/Dipolar-Gas-Simulator/+Scripts/run_locally.m +++ b/Dipolar-Gas-Simulator/+Scripts/run_locally.m @@ -84,7 +84,7 @@ OptionsStruct.NoiseScaleFactor = 4; OptionsStruct.MaxIterations = 20; OptionsStruct.VariationalWidth = 5.7; OptionsStruct.WidthLowerBound = 0.2; -OptionsStruct.WidthUpperBound = 12; +OptionsStruct.WidthUpperBound = 20; OptionsStruct.WidthCutoff = 1e-3; OptionsStruct.PlotLive = true; @@ -125,5 +125,5 @@ Scripts.analyzeRun2D(SaveDirectory, JobNumber) %% - Cluster Runs - Analysis SaveDirectory = './Data_HoneycombPhase'; JobNumber = 3; -Plotter.visualizeGSWavefunction2D(SaveDirectory, JobNumber) -% Scripts.analyzeRun2D(SaveDirectory, JobNumber) \ No newline at end of file +% Plotter.visualizeGSWavefunction2D(SaveDirectory, JobNumber) +Scripts.analyzeRun2D(SaveDirectory, JobNumber) \ No newline at end of file diff --git a/Dipolar-Gas-Simulator/+Scripts/run_on_cluster.m b/Dipolar-Gas-Simulator/+Scripts/run_on_cluster.m index d63dd2b..bc5d723 100644 --- a/Dipolar-Gas-Simulator/+Scripts/run_on_cluster.m +++ b/Dipolar-Gas-Simulator/+Scripts/run_on_cluster.m @@ -9,7 +9,7 @@ % as = ((as/add)*Params.add)/Params.a0 % Critical point: 102.5133; Triangular phase: 98.0676; Stripe phase: 100.0289; Honeycomb phase: 101.9903 - +%{ %% - Create Variational2D and Calculator object with specified options OptionsStruct = struct; @@ -51,8 +51,8 @@ solver.Potential = pot.trap(); %-% Run Solver %-% [Params, Transf, psi, V, VDk] = solver.run(); +%} -%{ %% - Create Variational2D and Calculator object with specified options OptionsStruct = struct; @@ -77,7 +77,7 @@ OptionsStruct.NoiseScaleFactor = 4; OptionsStruct.MaxIterations = 20; OptionsStruct.VariationalWidth = 5.7; OptionsStruct.WidthLowerBound = 0.2; -OptionsStruct.WidthUpperBound = 12; +OptionsStruct.WidthUpperBound = 20; OptionsStruct.WidthCutoff = 1e-3; OptionsStruct.PlotLive = false; @@ -94,7 +94,7 @@ solver.Potential = pot.trap(); %-% Run Solver %-% [Params, Transf, psi, V, VDk] = solver.run(); - +%{ %% - Create Variational2D and Calculator object with specified options OptionsStruct = struct; @@ -109,7 +109,7 @@ OptionsStruct.TrapPotentialType = 'None'; OptionsStruct.NumberOfGridPoints = [256, 256]; OptionsStruct.Dimensions = [100, 100]; -OptionsStruct.TimeStepSize = 100E-6; % in s +OptionsStruct.TimeStepSize = 500E-6; % in s OptionsStruct.MinimumTimeStepSize = 1E-5; % in s OptionsStruct.TimeCutOff = 2E6; % in s OptionsStruct.EnergyTolerance = 5E-10; @@ -120,7 +120,7 @@ OptionsStruct.MaxIterations = 20; OptionsStruct.VariationalWidth = 5.7; OptionsStruct.WidthLowerBound = 0.2; OptionsStruct.WidthUpperBound = 12; -OptionsStruct.WidthCutoff = 1e-3; +OptionsStruct.WidthCutoff = 1e-2; OptionsStruct.PlotLive = false; OptionsStruct.JobNumber = 3; diff --git a/Dipolar-Gas-Simulator/bwhpc_matlab_gpe_sim_gpu.slurm b/Dipolar-Gas-Simulator/bwhpc_matlab_gpe_sim_gpu.slurm index da79093..cc582cc 100644 --- a/Dipolar-Gas-Simulator/bwhpc_matlab_gpe_sim_gpu.slurm +++ b/Dipolar-Gas-Simulator/bwhpc_matlab_gpe_sim_gpu.slurm @@ -5,10 +5,10 @@ # Request number of nodes and GPU for job #SBATCH --nodes=1 #SBATCH --ntasks-per-node=1 -#SBATCH --gres=gpu:A40:2 +#SBATCH --gres=gpu:A100:1 #SBATCH --mem=8G # Estimated wallclock time for job -#SBATCH --time=4:00:00 +#SBATCH --time=5:00:00 #SBATCH --job-name=simulation #SBATCH --error=simulation.err #SBATCH --output=simulation.out