
============================ GaiaGsrParSim

Usage:  GaiaGsrParSim   [-auto [-memGlobal value]] [-IDtest [value]   -noFile -noConstr -numFilexproc nfileProc -Precond [on|off] -timeCPR hours -timelimit hours -itnCPR numberOfIterations -itnlimit numberOfIterations   -atol value  -inputDir inputdir -outputDir outputdir    -zeroAtt -zeroInstr -zeroGlob -wrfilebin writedir -wrsol -noiter -extConstr fact -barConstr fact -wgic weight -noCPR] filename ("GsrSolPrpos.dat")

-auto if used MUST be the first parameter and the simultaor will uses fixed (hardcoded) parameters
-memGlobal value of the TOTAL memory available for the run in GB (sum of all GB in all nodes used in the run). With the value the simulator increase automatically the number of stars and the number of observation to fit the requested memory
Used only with -auto option

- IDtest: Identity solutio. If a "value" is specified a gaussian perturbation is generated 
-noFile NON simula la fase di lettura file binari 

-noConstr: no Constraint are generated (in any case)

-numFilexproc: reading file simulation phase with  nfileProc file for each MPI task (default 3 files for each MPI task)

-Precond disabilita il Precondizionamento se off (on è di default)

-timeCPR number of hours to create the CPR (Check Point and Restart) (execution is not stopped))

-timelimit number of hours to create the CPR (Check Point and Restart) (execution is   stopped))

- itnCPR, number of iterations to create the CPR (Check Point and Restart) (execution is not stopped))

-noCPR : ignore the CPR files (start again from scratch))

-itnCPRstop, number of iterations to create the CPR (Check Point and Restart) the partial solution is written and stop

-itnlimit, max number of iterations (not considered the value of GsrSolProps.dat). This value can be given also during the run writing the file  ITNLIMIT_NEW in the output directory  containing one row with the max iteration to be given (read at every iteration).


-atol:  atol value for convergence

-inputDir:  directory that contain GsrSolPrpos.dat 

-outputDir: directory  where solutions and bin files will be produced

-zeroAtt -zeroInstr -zeroGlob :  Attitude, Instrument e Global parameters are not generated

-wrfilebin write binary file tra can be used in the complete app (without constraint).

-wrsol, enable write the partial solution in case of CPR limit stop.

-noiter. No iteration are execute. Normally used to test the I/O and the memory request

- extConstr disables the constraints in the GSRSolProps file (-noConstr is automatically enabled and enables new extended 6-line observation lines with all the stars and trim parameters.The "fact" parameter value is necessary and is a multiplicative factor
-barConstr disables the constraints in the GSRSolProps file (-noConstr is automatically enabled and enables new extended 6-line observation lines with all the stars and attitude parameters). the fact value is a mandatory weight multiplier. It is alternative from the point of view of physics (not for the code) to extConstr.
-wgic weight assigns a weight (integer value) to the instrumental constraints. Default = 1


-filename: file GsrSolProps.dat contain the parameters of the system.

NOTE: 
1) if the stop occurs for CPR, a void CPR_CONT file is generated which can be tested for job resubmission
2) if the stop occurs for to convergence, a void END_FILE file is generated that can be tested for job resubmission
3) If there are "constraints" in the parameter input file, these are generated by the simulator (except with -noConstr) including FileConstr _ ***. Dat file
