Révision 48 database/import_gaussian_calc
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