#include "cddefines.h"
#include "version.h"
#include "optimize.h"
#include "mpi_utilities.h"
Go to the source code of this file.
Defines | |
#define | pid_t int |
#define | fork() TotalInsanityAsStub<pid_t>() |
#define | wait(X) TotalInsanityAsStub<pid_t>() |
Functions | |
void | wr_block (const void *, size_t, const char *) |
void | rd_block (void *, size_t, const char *) |
void | optimize_phymir (realnum xc[], const realnum del[], long int nvarPhymir, chi2_type *ymin, realnum toler) |
Variables | |
const char * | STATEFILE = "continue.pmr" |
const char * | STATEFILE_BACKUP = "continue.bak" |
#define fork | ( | ) | TotalInsanityAsStub<pid_t>() |
Definition at line 23 of file optimize_phymir.cpp.
Referenced by phymir_state< X, Y, NP, NSTR >::p_execute_job().
#define pid_t int |
Definition at line 22 of file optimize_phymir.cpp.
Referenced by phymir_state< X, Y, NP, NSTR >::p_execute_job().
#define wait | ( | X | ) | TotalInsanityAsStub<pid_t>() |
Definition at line 24 of file optimize_phymir.cpp.
Referenced by phymir_state< X, Y, NP, NSTR >::p_barrier(), and phymir_state< X, Y, NP, NSTR >::p_execute_job().
void optimize_phymir | ( | realnum | xc[], | |
const realnum | del[], | |||
long int | nvarPhymir, | |||
chi2_type * | ymin, | |||
realnum | toler | |||
) |
Definition at line 679 of file optimize_phymir.cpp.
References append_file(), AS_LOCAL_ONLY_TRY, cdEXIT, phymir_state< X, Y, NP, NSTR >::continue_from_state(), cpu, DEBUG_ENTRY, t_cpu::host_name(), phymir_state< X, Y, NP, NSTR >::init_state_file_name(), phymir_state< X, Y, NP, NSTR >::init_strings(), phymir_state< X, Y, NP, NSTR >::initial_run(), Singleton< t_version >::Inst(), ioQQQ, phymir_state< X, Y, NP, NSTR >::lgMaxIterExceeded(), t_cpu::lgMPI(), t_optimize::lgOptCont, t_optimize::lgParallel, LIMPAR, max(), min(), t_cpu::nCPU(), t_optimize::nIterOptim, phymir_state< X, Y, NP, NSTR >::noptim(), t_optimize::nOptimiz, open_data(), optimize, optimize_func(), phymir_state< X, Y, NP, NSTR >::optimize_with_restart(), PHYMIR_FORK, PHYMIR_MPI, PHYMIR_SEQ, STATEFILE, STATEFILE_BACKUP, t_optimize::useCPU, t_optimize::varang, t_optimize::varmax, t_optimize::varmin, phymir_state< X, Y, NP, NSTR >::xmax(), phymir_state< X, Y, NP, NSTR >::xmin(), phymir_state< X, Y, NP, NSTR >::xval(), and phymir_state< X, Y, NP, NSTR >::yval().
void rd_block | ( | void * | ptr, | |
size_t | len, | |||
const char * | fnam | |||
) | [inline] |
rd_block: read <len> bytes of data into buffer <*ptr> from unformatted file <fnam>
Definition at line 764 of file optimize_phymir.cpp.
References AS_LOCAL_ONLY, cdEXIT, DEBUG_ENTRY, and open_data().
Referenced by phymir_state< X, Y, NP, NSTR >::p_process_output().
void wr_block | ( | const void * | ptr, | |
size_t | len, | |||
const char * | fnam | |||
) | [inline] |
wr_block: write <len> bytes of data from buffer <*ptr> into unformatted file <fnam>
Definition at line 747 of file optimize_phymir.cpp.
References AS_LOCAL_ONLY, cdEXIT, DEBUG_ENTRY, and open_data().
Referenced by phymir_state< X, Y, NP, NSTR >::p_execute_job_parallel().
const char* STATEFILE = "continue.pmr" |
this is the name of the file that optimize_phymir automatically creates containing information to continue the optimization at a later time.
Definition at line 31 of file optimize_phymir.cpp.
Referenced by optimize_phymir().
const char* STATEFILE_BACKUP = "continue.bak" |
Definition at line 32 of file optimize_phymir.cpp.
Referenced by optimize_phymir().