Re: TimeBetSnapshot in galaxy.param has no effect ?

From: Benjamin L’Huillier <lhuillier_at_kias.re.kr>
Date: Wed, 27 Nov 2013 12:21:33 +0900

Hi Nicholas,

Did you try a larger TimeBetSnapshot? did you check whether the actual
timesteps are larger than TimeBetSnapshot?

Cheers,




On Wed, Nov 27, 2013 at 12:13 PM, Nicholas Yue <yue.nicholas_at_gmail.com>wrote:

> Here is my galaxy.param file and it has those values already set they way
> you suggested
>
> % Relevant files
>
> InitCondFile ICs/galaxy_littleendian.dat
> OutputDir galaxy/
>
> EnergyFile energy.txt
> InfoFile info.txt
> TimingsFile timings.txt
> CpuFile cpu.txt
>
> RestartFile restart
> SnapshotFileBase snapshot
>
> OutputListFilename parameterfiles/output_list.txt
>
> % CPU time -limit
>
> TimeLimitCPU 36000 % = 10 hours
> ResubmitOn 0
> ResubmitCommand my-scriptfile
>
>
> % Code options
>
>
> ICFormat 1
> SnapFormat 1
> ComovingIntegrationOn 0
>
> TypeOfTimestepCriterion 0
> OutputListOn 0
> PeriodicBoundariesOn 1
>
> % Caracteristics of run
>
> TimeBegin 0.0 % Begin of the simulation
> TimeMax 3.0 % End of the simulation
>
> Omega0 0
> OmegaLambda 0
> OmegaBaryon 0
> HubbleParam 1.0
> BoxSize 0
>
> % Output frequency
>
> TimeBetSnapshot 0.00000005
> TimeOfFirstSnapshot 0
>
> CpuTimeBetRestartFile 36000.0 ; here in seconds
> TimeBetStatistics 0.05
>
> NumFilesPerSnapshot 1
> NumFilesWrittenInParallel 1
>
>
>
> % Accuracy of time integration
>
> ErrTolIntAccuracy 0.025
>
> CourantFac 0.15
>
> MaxSizeTimestep 0.01
> MinSizeTimestep 0.0
>
>
>
>
> % Tree algorithm, force accuracy, domain update frequency
>
> ErrTolTheta 0.5
> TypeOfOpeningCriterion 1
> ErrTolForceAcc 0.005
>
>
> TreeDomainUpdateFrequency 0.1
>
>
> % Further parameters of SPH
>
> DesNumNgb 50
> MaxNumNgbDeviation 2
> ArtBulkViscConst 0.8
> InitGasTemp 0 % always ignored if set to 0
> MinGasTemp 0
>
>
> % Memory allocation
>
> PartAllocFactor 1.5
> TreeAllocFactor 0.8
> BufferSize 25 % in MByte
>
>
> % System of units
>
> UnitLength_in_cm 3.085678e21 ; 1.0 kpc
> UnitMass_in_g 1.989e43 ; 1.0e10 solar masses
> UnitVelocity_in_cm_per_s 1e5 ; 1 km/sec
> GravityConstantInternal 0
>
>
> % Softening lengths
>
> MinGasHsmlFractional 0.25
>
> SofteningGas 0
> SofteningHalo 1.0
> SofteningDisk 0.4
> SofteningBulge 0
> SofteningStars 0
> SofteningBndry 0
>
> SofteningGasMaxPhys 0
> SofteningHaloMaxPhys 1.0
> SofteningDiskMaxPhys 0.4
> SofteningBulgeMaxPhys 0
> SofteningStarsMaxPhys 0
> SofteningBndryMaxPhys 0
>
>
>
>
> MaxRMSDisplacementFac 0.2
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On 27 November 2013 13:45, Robert Thompson <rthompsonj_at_gmail.com> wrote:
>
>>
>> Hi Nicholas,
>>
>> I'm not sure if these parameters are present in G2, but in G3 I would
>> make sure the following parameters are set:
>>
>> OutputListOn 0
>> TimeOfFirstSnapshot 0
>>
>> If OutputListOn is 1 then I believe gadget will ignore TimeBetSnapshot.
>> Hope that helps!
>>
>> -Robert Thompson
>>
>>
>>
>>
>> On Nov 26, 2013, at 5:53 PM, Nicholas Yue <yue.nicholas_at_gmail.com> wrote:
>>
>> >
>> > Hi,
>> >
>> > I am trying to get Gadget2 to generate more snapshot (HDF5) files so
>> that I can have a better visualization
>> >
>> > I tried making the TimeBetSnapshot to very small values
>> >
>> > TimeBegin 0.0 % Begin of the simulation
>> > TimeMax 3.0 % End of the simulation
>> > SnapFormat 3
>> > TimeBetSnapshot 0.000000000001
>> >
>> > but when I ran it
>> >
>> > mpirun -np 8 ./Gadget2 parameterfiles/galaxy.param
>> >
>> > I see that all my 8 CPUs are occupied but no snapshots were produce
>> after 15 minutes
>> >
>> > Is there another parameter which I need to modify ?
>> >
>> > Cheers
>> >
>> > --
>> > Nicholas Yue
>> > Graphics - RenderMan, Visualization, OpenGL, HDF5
>> > Custom Dev - C++ porting, OSX, Linux, Windows
>> > Management - Recruitment, career management
>> > http://www.proceduralinsight.com/
>> > http://au.linkedin.com/in/nicholasyue
>> >
>> >
>> >
>> >
>> > -----------------------------------------------------------
>> > 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
>>
>>
>>
>>
>> -----------------------------------------------------------
>>
>> 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
>>
>
>
>
> --
> Nicholas Yue
> Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5
>
> Custom Dev - C++ porting, OSX, Linux, Windows
> http://au.linkedin.com/in/nicholasyue
> https://vimeo.com/channels/naiadtools
>
>
> -----------------------------------------------------------
>
> 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
>
>


-- 
Benjamin L’Huillier
Research Fellow
Korea Institute for Advanced Study
85 Hoegiro (Cheongnyangni-dong 207-43)
Dongdaemun-gu
Seoul 130-722
Republic of Korea
+82 2-958-3868
http://aramis.obspm.fr/~lhuillier/
Received on 2013-11-27 04:21:34

This archive was generated by hypermail 2.3.0 : 2023-01-10 10:01:32 CET