Automated the -gpu_id option
authorBerk Hess <hess@kth.se>
Thu, 7 May 2015 20:28:06 +0000 (22:28 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Tue, 16 Jun 2015 10:52:21 +0000 (12:52 +0200)
commit91118c53d20435528da7d95942ef745a1363266b
treec9f1ff12d7dce09ef1b344dfab618384ff662945
parent26f110c7afeb71da959171df942346face0a0199
Automated the -gpu_id option

With #PPrank <= #gpu in a node, the GPU id's were already assigned
automatically. Now with #PPrank a multiple of #GPU they are assigned
automatically with GPU sharing.

Change-Id: I59079b542b5703553c3e1b841c47abdc65f64459
src/gromacs/gmxlib/gmx_detect_hardware.cpp