Continuing simulator with diffierent number of processes

Provides a system for patient-specific cardiovascular modeling and simulation.
POST REPLY
User avatar
Damian Deza
Posts: 10
Joined: Tue Oct 09, 2018 12:39 pm

Continuing simulator with diffierent number of processes

Post by Damian Deza » Mon Mar 25, 2019 6:47 am

Hello, i was wondering if there is a way of simulating for example 10000 steps with 8 processes and the next 4500 with 12 processes, i mean changing the number and being able to continue from where i left it.

Thank you

User avatar
David Parker
Posts: 1635
Joined: Tue Aug 23, 2005 2:43 pm

Re: Continuing simulator with diffierent number of processes

Post by David Parker » Tue Mar 26, 2019 9:29 pm

Hi Damian,

I assume you want to do this from the command line? If so you can used svpost with the -laststep option. This will create a restart.10000.0 file. You can then copy that file to the original restart.0.1 file and run a new simulation with a different number of processors.

Cheers,
Dave

User avatar
Damian Deza
Posts: 10
Joined: Tue Oct 09, 2018 12:39 pm

Re: Continuing simulator with diffierent number of processes

Post by Damian Deza » Tue Apr 16, 2019 6:19 am

Works like a charm, thank you!

POST REPLY