Open Babel/en: Difference between revisions

Jump to navigation Jump to search
Updating to match new version of source page
(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 causeing load-spikes will be disruptive for other users.}}
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 many of cheminformatics descriptors for large numbers of molecule structures.
calculating large numbers of cheminformatics descriptors for multiple molecules.


In this case please make sure to sent the environment variable <code>OMP_NUM_THREADS</code>
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 Structual Data File] <code>many_molecules.sdf</code>
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
38,760

edits

Navigation menu