Révision 48

database/import_vasp_calc (revision 48)
219 219
    parser.add_argument("-u", help="The user who did the calculations")
220 220
    parser.add_argument("-j", help="Project name")
221 221
    args = parser.parse_args()
222
    nproc = multiprocessing.cpu_count()
222 223
    if args.path is None:
223 224
        path = '.'
224 225
    else:
......
240 241
    else:
241 242
        db = args.d
242 243
    if args.n is None:
243
        nproc = 8
244
        nproc = nproc / 2
244 245
    else:
245 246
        nproc = int(args.n)
246 247
    if args.u is None:
database/import_gaussian_calc (revision 48)
123 123
    parser.add_argument("-u", help="The user who did the calculations")
124 124
    parser.add_argument("-j", help="Project name")
125 125
    args = parser.parse_args()
126
    nproc = multiprocessing.cpu_count()
126 127
    if args.path is None:
127 128
        path = '.'
128 129
    else:
......
144 145
    else:
145 146
        db = args.d
146 147
    if args.n is None:
147
        nproc = 8
148
        nproc = nproc / 2
148 149
    else:
149 150
        nproc = int(args.n)
150 151
    if args.u is None:

Formats disponibles : Unified diff