Open AnderGray opened 4 weeks ago
I was thinking, maybe instead of verifying that the cluster connection works properly through the tests we export a function like this
function test_slurm_connection(account::String, parition::String),
which will run the same simple "external" model we do in the test now and inform the user that everything works as expected. This should also be easier for the user since no environment variables need to be set and it can be run independently from the rest of the tests. Thoughts?
Some clusters don't allow for
--mem-per-cpu
definitions. Easy fix by removing the following line fromtest/hpc/slurm.jl
https://github.com/FriesischScott/UncertaintyQuantification.jl/blob/c3ba440caf0116d725a974549f014b27c1d15d11/test/hpc/slurm.jl#L158