38,760
edits
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 30: | Line 30: | ||
{{box|<b>This module should not be used on login-nodes,</b><br> | {{box|<b>This module should not be used on login-nodes,</b><br> | ||
because even for simple tasks it will create as many threads | because even for simple tasks it will create as many threads | ||
as it detects CPUs on the machine, in turn | as it detects CPUs on the machine, in turn causing load-spikes which will be disruptive for other users.}} | ||
The parallel version of Open Babel is useful when converting very large numbers of molecule structures or | The parallel version of Open Babel is useful when converting very large numbers of molecule structures or | ||
calculating | calculating large numbers of cheminformatics descriptors for multiple molecules. | ||
Make sure to set the environment variable <code>OMP_NUM_THREADS</code> | |||
in order to tell Open Babel how many CPUs it is allowed to use. | in order to tell Open Babel how many CPUs it is allowed to use. | ||
==== Example ==== | ==== Example ==== | ||
The following job would take the [https://en.wikipedia.org/wiki/Chemical_table_file#SDF | The following job would take the [https://en.wikipedia.org/wiki/Chemical_table_file#SDF Structural Data File] <code>many_molecules.sdf</code> | ||
which in this case should contain a database with many molecules and generate Canonical [https://en.wikipedia.org/wiki/Simplified_molecular-input_line-entry_system SMILES] representations for each of them, using two CPU-cores. | which in this case should contain a database with many molecules and generate Canonical [https://en.wikipedia.org/wiki/Simplified_molecular-input_line-entry_system SMILES] representations for each of them, using two CPU-cores. | ||
{{File | {{File |