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 jobscript.sh #5

Merged
merged 3 commits into from
Dec 20, 2023
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 .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ steps:

- label: ":scroll: Build docs"
command:
- "srun --mem=8G --time=1:00:00 --output=log_%j.log jobscript.sh"
- "srun --mem=8G --time=1:00:00 --unbuffered jobscript.sh"
env:
JULIA_PROJECT: "docs/"

Expand Down
20 changes: 8 additions & 12 deletions jobscript.sh
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@
#!/bin/bash
#SBATCH --job-name=daemon_job_test # Job name
#SBATCH --job-name=diagrammatic_equations_CI # Job name
#SBATCH --mail-type=END,FAIL # Mail events (NONE, BEGIN, END, FAIL, ALL)
#SBATCH [email protected] # Where to send mail
#SBATCH --ntasks=1 # Run on a single CPU
#SBATCH --mem=8gb # Job memory request
#SBATCH --time=00:05:00 # Time limit hrs:min:sec
#SBATCH --output=daemon_test_%j.log # Standard output and error log
#SBATCH --time=00:15:00 # Time limit hrs:min:sec
pwd; hostname; date

module load gcc/12.2.0 openmpi/4.1.5 julia
module load julia

echo "Running docs build..."
echo "Installing Packages..."

julia --project=docs/ -e 'using Pkg; Pkg.status()'
julia --project=docs/ -e 'using Pkg; Pkg.instantiate(); include("docs/make.jl")'
# julia --project -e 'using Pkg; Pkg.status; Pkg.test()' > log_test.md
# ./job.sh

# mpiexec -np 1 julia --project -e test/runtests.jl

date

echo "Running Tests..."
julia --project -e 'using Pkg; Pkg.status(); Pkg.test()'

echo "Building Documentation..."
julia --project=docs/ -e 'using Pkg; Pkg.status(); include("docs/make.jl")'