Latest parameter runs and associated modifications

This commit is contained in:
Karthik 2025-05-02 19:47:13 +02:00
parent 8531865111
commit eb9a2a2150
4 changed files with 49 additions and 18 deletions

View File

@ -549,18 +549,54 @@ SaveDirectory = './Results/Data_3D/AnisotropicTrap/TiltedDipoles45';
JobNumber = 0; JobNumber = 0;
Plotter.visualizeGSWavefunction(SaveDirectory, JobNumber) Plotter.visualizeGSWavefunction(SaveDirectory, JobNumber)
%% %%
SaveDirectory = './Results/Data_3D/GradientDescent/aS_079_theta_000_phi_000_N_90000';
JobNumber = 0;
Plotter.visualizeGSWavefunction(SaveDirectory, JobNumber)
%%
SaveDirectory = './Results/Data_3D/GradientDescent/aS_080_theta_000_phi_000_N_90000'; SaveDirectory = './Results/Data_3D/GradientDescent/aS_080_theta_000_phi_000_N_90000';
JobNumber = 0; JobNumber = 0;
Plotter.visualizeGSWavefunction(SaveDirectory, JobNumber) Plotter.visualizeGSWavefunction(SaveDirectory, JobNumber)
%% %%
SaveDirectory = './Results/Data_3D/GradientDescent/aS_081_theta_000_phi_000_N_90000';
JobNumber = 0;
Plotter.visualizeGSWavefunction(SaveDirectory, JobNumber)
%%
SaveDirectory = './Results/Data_3D/GradientDescent/aS_082_theta_000_phi_000_N_90000';
JobNumber = 0;
Plotter.visualizeGSWavefunction(SaveDirectory, JobNumber)
%%
SaveDirectory = './Results/Data_3D/GradientDescent/aS_083_theta_000_phi_000_N_90000';
JobNumber = 0;
Plotter.visualizeGSWavefunction(SaveDirectory, JobNumber)
%%
SaveDirectory = './Results/Data_3D/GradientDescent/aS_084_theta_000_phi_000_N_90000';
JobNumber = 0;
Plotter.visualizeGSWavefunction(SaveDirectory, JobNumber)
%%
SaveDirectory = './Results/Data_3D/GradientDescent/aS_085_theta_000_phi_000_N_90000'; SaveDirectory = './Results/Data_3D/GradientDescent/aS_085_theta_000_phi_000_N_90000';
JobNumber = 0; JobNumber = 0;
Plotter.visualizeGSWavefunction(SaveDirectory, JobNumber) Plotter.visualizeGSWavefunction(SaveDirectory, JobNumber)
%% %%
SaveDirectory = './Results/Data_3D/GradientDescent/aS_086_theta_000_phi_000_N_90000';
JobNumber = 0;
Plotter.visualizeGSWavefunction(SaveDirectory, JobNumber)
%%
SaveDirectory = './Results/Data_3D/GradientDescent/aS_087_theta_000_phi_000_N_90000';
JobNumber = 0;
Plotter.visualizeGSWavefunction(SaveDirectory, JobNumber)
%%
SaveDirectory = './Results/Data_3D/GradientDescent/aS_088_theta_000_phi_000_N_90000';
JobNumber = 0;
Plotter.visualizeGSWavefunction(SaveDirectory, JobNumber)
%%
SaveDirectory = './Results/Data_3D/GradientDescent/aS_089_theta_000_phi_000_N_90000';
JobNumber = 0;
Plotter.visualizeGSWavefunction(SaveDirectory, JobNumber)
%%
SaveDirectory = './Results/Data_3D/GradientDescent/aS_090_theta_000_phi_000_N_90000'; SaveDirectory = './Results/Data_3D/GradientDescent/aS_090_theta_000_phi_000_N_90000';
JobNumber = 0; JobNumber = 0;
Plotter.visualizeGSWavefunction(SaveDirectory, JobNumber) Plotter.visualizeGSWavefunction(SaveDirectory, JobNumber)
%% %%
SaveDirectory = './Results/Data_3D/GradientDescent/'; SaveDirectory = './Results/Data_3D/GradientDescent/';
JobNumber = 0; JobNumber = 1;
Plotter.visualizeGSWavefunction(SaveDirectory, JobNumber) Plotter.visualizeGSWavefunction(SaveDirectory, JobNumber)

View File

@ -16,6 +16,11 @@ OptionsStruct.CutoffType = 'Cylindrical';
OptionsStruct.SimulationMode = 'EnergyMinimization'; % 'ImaginaryTimeEvolution' | 'RealTimeEvolution' | 'EnergyMinimization' OptionsStruct.SimulationMode = 'EnergyMinimization'; % 'ImaginaryTimeEvolution' | 'RealTimeEvolution' | 'EnergyMinimization'
OptionsStruct.GradientDescentMethod = 'NonLinearCGD'; % 'HeavyBall' | 'NonLinearCGD' OptionsStruct.GradientDescentMethod = 'NonLinearCGD'; % 'HeavyBall' | 'NonLinearCGD'
OptionsStruct.MaxIterationsForGD = 15000; OptionsStruct.MaxIterationsForGD = 15000;
OptionsStruct.TimeStepSize = 1e-3; % in s
OptionsStruct.MinimumTimeStepSize = 1E-6; % in s
OptionsStruct.TimeCutOff = 1E5; % in s
OptionsStruct.EnergyTolerance = 5E-10;
OptionsStruct.ResidualTolerance = 1E-05;
OptionsStruct.NoiseScaleFactor = 0.010; OptionsStruct.NoiseScaleFactor = 0.010;
OptionsStruct.PlotLive = false; OptionsStruct.PlotLive = false;

View File

@ -9,7 +9,7 @@
#SBATCH --gres=gpu:1 #SBATCH --gres=gpu:1
#SBATCH --mem=12G #SBATCH --mem=12G
# Estimated wallclock time for job # Estimated wallclock time for job
#SBATCH --time=03:00:00 #SBATCH --time=00:40:00
#SBATCH --job-name=simulation #SBATCH --job-name=simulation
#SBATCH --error=simulation.err #SBATCH --error=simulation.err
#SBATCH --output=simulation.out #SBATCH --output=simulation.out
@ -27,7 +27,6 @@ echo "Number of GPUs allocated to job: $SLURM_GPUS"
# Load module # Load module
module load math/matlab/R2023a module load math/matlab/R2023a
echo Directory is `pwd`
echo "Initiating Job..." echo "Initiating Job..."
# Start a Matlab program # Start a Matlab program

View File

@ -1,11 +1,11 @@
# ----------- Define scan ranges ----------- # ----------- Define scan ranges -----------
# Use space-separated or comma-separated floats/integers (can be bracketed) # Use space-separated floating-point/integer values
SCATTERING_LENGTH_RANGE="[85.0]" SCATTERING_LENGTH_RANGE="[79.0 80.0 81.0 82.0 83.0 84.0 85.0 86.0 87.0 88.0 89.0 90.0]"
POLAR_ANGLE_RANGE="[0]" POLAR_ANGLE_RANGE="[0.0]"
AZIMUTHAL_ANGLE_RANGE="[0.0]" AZIMUTHAL_ANGLE_RANGE="[0.0]"
NUM_ATOMS_LIST="[90000]" NUM_ATOMS_LIST="[50000 60000 70000 80000]"
CHUNK_SIZE=1 CHUNK_SIZE=4
# ----------- Count total combinations for SLURM array ----------- # ----------- Count total combinations for SLURM array -----------
@ -32,24 +32,15 @@ sbatch --export=SCATTERING_LENGTH_RANGE="$SCATTERING_LENGTH_RANGE",POLAR_ANGLE_R
#SBATCH --cpus-per-task=8 #SBATCH --cpus-per-task=8
#SBATCH --gres=gpu:1 #SBATCH --gres=gpu:1
#SBATCH --mem=16G #SBATCH --mem=16G
#SBATCH --time=00:40:00 #SBATCH --time=03:30:00
#SBATCH --job-name=simulation #SBATCH --job-name=simulation
#SBATCH --error=simulation_%A_%a.err #SBATCH --error=simulation_%A_%a.err
#SBATCH --output=simulation_%A_%a.out #SBATCH --output=simulation_%A_%a.out
#SBATCH --array=1-${numArrayJobs} #SBATCH --array=1-${numArrayJobs}
echo "Working Directory: $PWD"
echo "Running on host $HOSTNAME"
echo "Job id: $SLURM_JOB_ID"
echo "Job name: $SLURM_JOB_NAME"
echo "Number of nodes allocated to job: $SLURM_JOB_NUM_NODES"
echo "Number of GPUs allocated to job: $SLURM_GPUS"
echo "SLURM task index: \$SLURM_ARRAY_TASK_ID"
# Load MATLAB # Load MATLAB
module load math/matlab/R2023a module load math/matlab/R2023a
echo Directory is pwd
echo "Initiating Job..." echo "Initiating Job..."
# Run MATLAB wrapper with this batch index # Run MATLAB wrapper with this batch index