Hi Hassan,
What command are you using to start the code? Specifically, do you include a start-up flag after the parameterfile?
One possibility is that restart a simulation that already reached the final time.
If this is not the case, you need to send the complete log-file to say more, not just the final lines.
Regards,
Volker
> On 2. Aug 2022, at 12:28, Hassan Fathivavsari <h.fathie_at_gmail.com> wrote:
>
> Dear all,
>
> I have used the following parameter file (shown at the end of this message) to run Gadget4.
> But as soon as I run the simulation it ends and says "Final time reached" and it does not
> create any snapshots:
>
> Final time=1.26 reached. Simulation ends.
> RESTART: Writing restart files.
> RESTART: Backing up restart files...
> RESTART: done renaming pre-existing restart files to bak files.
> RESTART: Writing restart files group #1 out of 4...
> RESTART: Writing restart files group #2 out of 4...
> RESTART: Writing restart files group #3 out of 4...
> RESTART: Writing restart files group #4 out of 4...
> RESTART: done. load/save took 0.00217194 sec, total size 0.0659027 MB, corresponds to effective I/O rate of 30.3428 MB/sec
> endrun called, calling MPI_Finalize()
> bye!
> ----------------------------
>
> I would be grateful for any insight into this problem.
>
> HERE is the param file I used:
> % Relevant files
>
> InitCondFile SIC_015.dat
> OutputDir ./
>
> SnapshotFileBase snap
>
> OutputListFilename parameterfiles/output_list.txt
>
> %---- CPU-time limits
> TimeLimitCPU 180000 % in seconds
> CpuTimeBetRestartFile 7200 % in seconds
>
> %----- Memory alloction
> MaxMemSize 2300
>
>
> % Code options
>
>
> ICFormat 2
> SnapFormat 1
> ComovingIntegrationOn 0
>
> % Caracteristics of run
>
> TimeBegin 0.0 % Begin of the simulation
> TimeMax 1.26 % End of the simulation
>
> %---- Cosmological parameters
> Omega0 0
> OmegaLambda 0
> OmegaBaryon 0
> HubbleParam 1.0
> Hubble 0
> BoxSize 0
>
> %---- Output frequency and output paramaters
> OutputListOn 0
> TimeBetSnapshot 0.0025
> TimeOfFirstSnapshot 0.0
> TimeBetStatistics 0.01
> NumFilesPerSnapshot 1
> MaxFilesWithConcurrentIO 1
>
>
> %---- Tree algorithm, force accuracy, domain update frequency
> TypeOfOpeningCriterion 1
> ErrTolTheta 0.5
> ErrTolThetaMax 0.9
> ErrTolForceAcc 0.005
> TopNodeFactor 2.5
>
> ActivePartFracForNewDomainDecomp 0.01
>
>
> %---- Accuracy of time integration
> ErrTolIntAccuracy 0.025
> CourantFac 0.15
> MaxSizeTimestep 0.02
> MinSizeTimestep 0.00
>
> % Further parameters of SPH
>
> DesNumNgb 64
> MaxNumNgbDeviation 2
> ArtBulkViscConst 0.75
> InitGasTemp 0 % always ignored if set to 0
>
> % System of units
>
> UnitLength_in_cm 5.0e16
> UnitMass_in_g 1.98992e33
> UnitVelocity_in_cm_per_s 46385.190
> GravityConstantInternal 0
>
>
> % Softening lengths
>
> %---- Gravitational softening length
> SofteningComovingClass0 0.04
>
> SofteningMaxPhysClass0 0.04
>
> SofteningClassOfPartType0 0
>
> MinimumComovingHydroSoftening 1
> AdaptiveHydroSofteningSpacing 1
>
> %----- SPH
> MinEgySpec 0
>
> GasSoftFactor 0
>
> Many thanks.
> Best regards,
> Hassan
>
>
> -----------------------------------------------------------
>
> If you wish to unsubscribe from this mailing, send mail to
> minimalist_at_MPA-Garching.MPG.de with a subject of: unsubscribe gadget-list
> A web-archive of this mailing list is available here:
> http://www.mpa-garching.mpg.de/gadget/gadget-list
Received on 2022-08-02 15:52:51