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

Migrate from SnoopPrecompile to PrecompileTools #14

Merged
merged 1 commit into from
Apr 25, 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
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ LoopVectorization = "bdcacae8-1622-11e9-2a5c-532679323890"
MAT = "23992714-dd62-5051-b70f-ba57cb901cac"
MultiComponentFlash = "35e5bd01-9722-4017-9deb-64a5d32478ff"
Polyester = "f517fe37-dbe3-4b94-8317-1923a5111588"
SnoopPrecompile = "66db9d55-30c0-4569-8b51-7e840670fc0c"
PrecompileTools = "aea7be01-6a6a-4083-8856-8a6e6704d82a"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
Expand All @@ -32,7 +32,7 @@ LoopVectorization = "0.12.115"
MAT = "0.10.3"
MultiComponentFlash = "1.1.3"
Polyester = "0.6.11, 0.7.3"
SnoopPrecompile = "1.0.1"
PrecompileTools = "1.0.1"
StaticArrays = "1.4.4"
TestItems = "0.1.0"
TimerOutputs = "0.5.19"
Expand Down
4 changes: 2 additions & 2 deletions src/JutulDarcy.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ module JutulDarcy
using MAT
using Tullio, LoopVectorization, Polyester
using TimerOutputs
using SnoopPrecompile
using PrecompileTools
using Dates
import DataStructures: OrderedDict

Expand Down Expand Up @@ -87,7 +87,7 @@ module JutulDarcy

include("formulations/formulations.jl")

@precompile_all_calls begin
@compile_workload begin
precompile_darcy_multimodels()
# We run a tiny MRST case to precompile the .MAT file loading
spe1_path = joinpath(pathof(JutulDarcy), "..", "..", "test", "mrst", "spe1.mat")
Expand Down