Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dockerfile and logging configuration in dddc_slurm_batch.jl; r… #115

Merged
merged 1 commit into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM julia:1.11
FROM julia:1.11-alpine

RUN mkdir /depot
ENV JULIA_PATH=/usr/local/julia
Expand Down
7 changes: 6 additions & 1 deletion src/dddc_slurm_batch.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
using Logging
using LoggingExtras

debuglogger = FormatLogger(println, stderr)
f_logger = FormatLogger(stderr) do io, args
println(io, args._module, " | ", "[", args.level, "] ", args.message)
end

debuglogger = MinLevelLogger(f_logger, Logging.Info)

global_logger(debuglogger)

@info "Loading AlgComp packages."
Expand Down
1 change: 0 additions & 1 deletion src/dddc_slurm_hu_sbatch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#SBATCH --cpus-per-task=32 # 128 core
#SBATCH --time=24:00:00 # For full run true value should be <13 hours
#SBATCH --partition standard
#SBATCH --unbuffered

# For full version, N_GRID_INCREMENTS=100
export N_GRID_INCREMENTS=20 # Number of grid increments
Expand Down
Loading