parser.add_argument('--cache-dir',help='Specify an alternative HySoP caching directory.',type=str,default=None,dest='cache_dir')
parser.add_argument('--cache-dir',help='Specify an alternative HySoP caching directory. Overrides HYSOP_CACHE_DIR.',type=str,default=None,dest='cache_dir')
parser.add_argument('--visu-rank',help='Specify a rank were the graphical outputs will occur. By default there are no graphical outputs.',type=int,default=None,dest='visu_rank')
parser.add_argument('--cl-platform-id',type=int,default=None,required=False,help='OpenCL platform id for the OpenCL implementation.',dest='cl_pid')
parser.add_argument('--cl-platform-id',type=int,default=None,required=False,help='OpenCL platform id for the OpenCL implementation.',dest='cl_pid')
parser.add_argument('--cl-device-id',type=int,default=None,required=False,help='OpenCL device id for the OpenCL implementation.',dest='cl_did')
parser.add_argument('--cl-device-id',type=int,default=None,required=False,help='OpenCL device id for the OpenCL implementation.',dest='cl_did')
msg='All {rank} and {size} occurences are replaced by the MPI rank and MPI communicator size. {dpath} is replaced by default output path.'
msg='All {rank} and {size} occurences are replaced by the MPI rank and MPI communicator size. {dpath} is replaced by default output path.'
parser.add_argument('-stdout','--std-out',type=str,default=None,required=False,help='Redirect stdout to this file after hysop has been initialized. '+msg,dest='stdout')
parser.add_argument('-stdout','--std-out',type=str,default=None,required=False,help='Redirect stdout to this file after hysop has been initialized. '+msg,dest='stdout')
parser.add_argument('-stderr','--std-err',type=str,default=None,required=False,help='Redirect stderr to this file after hysop has been initialized. '+msg,dest='stderr')
parser.add_argument('-stderr','--std-err',type=str,default=None,required=False,help='Redirect stderr to this file after hysop has been initialized. '+msg,dest='stderr')