Skip to content

Commit

Permalink
Merge branch 'main' of github.com:zjwegert/GridapTopOpt.jl into featu…
Browse files Browse the repository at this point in the history
…re-gridap-embedded-compat
  • Loading branch information
JordiManyer committed Nov 11, 2024
2 parents 9fb10aa + 965a3f1 commit 572a6a7
Show file tree
Hide file tree
Showing 8 changed files with 438 additions and 27 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# GridapTopOpt
# <img src="/assets/logo.svg" alt="drawing" width="200" align="left"/> <br/><br/>GridapTopOpt

[![](https://img.shields.io/badge/docs-stable-blue.svg)](https://zjwegert.github.io/GridapTopOpt.jl/stable) [![Build Status](https://github.com/zjwegert/GridapTopOpt.jl/actions/workflows/ci.yml/badge.svg)](https://github.com/zjwegert/GridapTopOpt.jl/actions) [![Codecov](https://codecov.io/gh/zjwegert/GridapTopOpt.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/zjwegert/GridapTopOpt.jl)
[![](https://img.shields.io/badge/docs-stable-blue.svg)](https://zjwegert.github.io/GridapTopOpt.jl/stable) [![](https://img.shields.io/badge/docs-dev-blue.svg)](https://zjwegert.github.io/GridapTopOpt.jl/dev) [![Build Status](https://github.com/zjwegert/GridapTopOpt.jl/actions/workflows/ci.yml/badge.svg)](https://github.com/zjwegert/GridapTopOpt.jl/actions) [![Codecov](https://codecov.io/gh/zjwegert/GridapTopOpt.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/zjwegert/GridapTopOpt.jl)

GridapTopOpt is computational toolbox for level set-based topology optimisation implemented in Julia and the [Gridap](https://github.com/gridap/Gridap.jl) package ecosystem. See the documentation and following publication for further details:

Expand Down
116 changes: 116 additions & 0 deletions assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
116 changes: 116 additions & 0 deletions docs/src/assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion scripts/Benchmarks/generate_benchmark_scripts.jl
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ phys_types = [
];

# Template
template = read("$(ENV["SCRATCH"])/$dir_name/scripts/Benchmarks/jobtemplate_gadi.sh",String)
template = read("$(ENV["SCRATCH"])/$dir_name/scripts/Benchmarks/jobtemplate.sh",String)

## Generate Jobs
jobs_by_phys = map(x->(x[1],generate_jobs(template,x[1],x[2],x[3])),phys_types);
Expand Down
4 changes: 2 additions & 2 deletions scripts/Benchmarks/jobtemplate.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

#PBS -P np01
#PBS -q normal
#PBS -q normal
#PBS -N "{{:name}}"
#PBS -l ncpus={{:ncpus}}
#PBS -l mem={{:mem}}GB
Expand All @@ -12,7 +12,7 @@ source $HOME/hpc-environments/gadi/load-intel.sh
PROJECT_DIR=$SCRATCH/{{:dir_name}}/

mpiexec -n {{:ncpus}} julia --project=$PROJECT_DIR --check-bounds no -O3 \
$PROJECT_DIR/scripts/Benchmarks/benchmark_gadi.jl \
$PROJECT_DIR/scripts/Benchmarks/benchmark.jl \
{{:name}} \
{{{:write_dir}}} \
{{:type}} \
Expand Down
Loading

0 comments on commit 572a6a7

Please sign in to comment.