Download Here - CCP
Transcript
*** WARNING *** The element "particle_probes" of block "output" cannot be set because the code has not been compiled with the correct preprocessor options. Code will continue, but to use selected features, please recompile with the -DPARTICLE_PROBES option It is also possible to pass other flags to the compiler. In “Makefile” there is a line which reads FFLAGS = -O3 -fast The two commands to the right are compiler flags and are passed unaltered to the FORTRAN compiler. Change this line to add any additional flags required by your compiler. By default, EPOCH will write a copy of the source code and input decks into each restart dump. This can be very useful since a restart dump contains an exact copy of the code which was used to generate it, ensuring that you can always regenerate the data or continue running from a restart. The output can be prevented by using “dump source code = F” and “dump input deck = F” in the output block. However, the functionality is difficult to build on some platforms so the Makefile contains a line for bypassing this section of the build process. Just below all the DEFINE flags there is the following line: # ENCODED_SOURCE = dummy_encoded_source.o Just uncomment this line and source code in restart dumps will be permanently disabled. 2.5 Running EPOCH and basic control of EPOCH1D When the code is run, the output is Command line output d########P d########b .######b d####### d##P d##P d########P d########### d########### .########## d##P d##P ---------- ---------------- P d########P d####,,,####P ####. .#### d###P d############P d########P d#########P #### .###P ####. d############P d##P d##P #### d#### ####. d##P d##P d########P d##P ###########P ##########P d##P d##P d########P d##P d######P #######P d##P d##P Welcome to EPOCH2D Version 4.3.3 (commit v4.3.3-3-g3ed1a0e--clean) The code was compiled with the following compile time options ************************************************************* Per particle weighting -DPER_PARTICLE_WEIGHT Tracer particle support -DTRACER_PARTICLES Particle probe support -DPARTICLE_PROBES ************************************************************* Code is running on 1 processing elements Specify output directory At which point the end user should simply type in the name of the directory where the code output is to be placed. This directory must also include the file “input.deck” which controls the code setup, specifies how to set the initial conditions and controls the I/O. Writing an input deck for EPOCH is 11