def write_info(infp,args):
    """
    Write out information on input parameters for fp.
    """

    print(' Parameters')
    print(' ----------')
    print('   num of processes (given by --nproc option)  ',int(args['--nproc']))
    print('   potential       {0:s}'.format(infp['potential']))
    print('   specorder       ',infp['specorder'])
    fmethod = infp['fitting_method']
    print('   fitting_method  {0:s}'.format(fmethod))
    if fmethod in ('de','DE'):
        print('   num_individuals   ',infp['de_num_individuals'])
        print('   fraction          {0:7.4f}'.format(infp['de_fraction']))
        print('   temparature       {0:7.4f}'.format(infp['de_temperature']))
        print('   crossover_rate    {0:7.4f}'.format(infp['de_crossover_rate']))
    elif fmethod in ('cs','CS'):
        print('   num_individuals   ',infp['cs_num_individuals'])
        print('   fraction          {0:7.4f}'.format(infp['cs_fraction']))
    else:
        print('   There is no such fitting method...')
    print('   num_iteration   {0:d}'.format(infp['num_iteration']))
    print(' ----------')
    print()
    return None