Parallel
Copyright (C) 2016 Peter Rakyta, Ph.D.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Returns an object for controlling the parallel pool for paralell computations.
EQuUs v4.6 or later
object = Parallel(Opt)
Parameters | |
---|---|
Opt | An instance of the structure Opt. |
- The parallel.Pool object, see the documentation for more details.
- Number of attempts to open the parallel pool.
- Maximal number of attemts to open the parallel pool.
- A period to wait between the attempts to open the parallel pool.
Parallel::openPool
Opens the parallel pool for parallel compuattion. The opened pool is stored in the attribute poolobj. If the parallel.Pool fails to open, another attempt is tried in waitsec seconds at least try2open_max times.object.openPool()
Parallel::closePool
Close the parallel pool stored in the attribute poolobj.object.closePool( fhandle )
- Log in to post comments