Skip to content

Commit

Permalink
try to avoid copying scripts to apptainer image
Browse files Browse the repository at this point in the history
  • Loading branch information
manuvanegas committed Aug 25, 2023
1 parent 64f7658 commit b5f4d74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions container.def
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Vanegas-Ferro

%files
src /code/src
scripts /code/scripts
install.jl /code
Project.toml /code
README.md /code
Expand All @@ -26,5 +25,4 @@ Vanegas-Ferro
chmod -R a+rX $JULIA_DEPOT_PATH /code

%runscript
cd /code
julia --project="." "$@"
julia "$@"
2 changes: 1 addition & 1 deletion scripts/OneRun.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Load Packages
import Pkg
Pkg.activate(".")
Pkg.activate("/code/.")
using Agents, CSV, DataFrames, Distributed, Statistics
using SpatialRust

Expand Down

0 comments on commit b5f4d74

Please sign in to comment.