<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.pymol.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rendereason</id>
	<title>PyMOL Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pymol.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rendereason"/>
	<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php/Special:Contributions/Rendereason"/>
	<updated>2026-05-11T10:43:19Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Talk:APBS&amp;diff=24</id>
		<title>Talk:APBS</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Talk:APBS&amp;diff=24"/>
		<updated>2010-11-04T23:13:24Z</updated>

		<summary type="html">&lt;p&gt;Rendereason: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I've added some details about where and how to download and install apbs and its dependencies.  I have cross-referenced a description of how this can be done on OS X.  &lt;br /&gt;
&lt;br /&gt;
I've put a few very tentative lines in about linux.&lt;br /&gt;
&lt;br /&gt;
== Well done! ==&lt;br /&gt;
&lt;br /&gt;
Hey, thanks for this plugin.  It worked on an SMP 64-bit Linux machine with little effort.  Still crashes a bit, but the effort is worth it.&lt;br /&gt;
[[User:Inchoate|Tree]] 18:21, 21 February 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
== Question/Crash ==&lt;br /&gt;
&lt;br /&gt;
I ran APBS on 2ILK.  When I try to show the solv. acc. map, it computes something for a sec, then crashes taking PyMOL with it.  Is this common?  Any ideas on fixing it?  It's probably my lack of understanding on how APBS works.&lt;br /&gt;
[[User:Inchoate|Tree]] 07:40, 22 February 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
For me it doesn't crash, but asks me to calculate the pqr file myself. Than it calculates the map fine.&lt;br /&gt;
[[User:Desastre|Desastre]] 27 April 2008&lt;br /&gt;
&lt;br /&gt;
== Making the default paths to work? ==&lt;br /&gt;
&lt;br /&gt;
I saw a discussion in the Pymolbb dated April 15, 2010 [http://www.mail-archive.com/pymol-users@lists.sourceforge.net/msg07858.html] about the default paths for binaries, psize.py, and temp files not loading automatically or even saving the paths.&lt;br /&gt;
&lt;br /&gt;
I am wondering if anyone has solved this issue. &lt;br /&gt;
&lt;br /&gt;
After installing pymol through fink, none of the binaries show up. After installing pdb2pqr through fink, the apbs plugin (Apbs Tools 2) does load /sw/share/pdb2pqr/pdb2pqr.py automatically. However, after installing apbs-mpi-openmpi through fink, neither APBS binary nor APBS psize.py load. &lt;br /&gt;
&lt;br /&gt;
I have tried modifying apbs_tools.py (/sw/lib/pymol-py26/modules/pmg_tk/startup/apbs_tools.py) in lines 112 through 115 to:&lt;br /&gt;
APBS_BINARY_LOCATION = '/sw/bin/apbs-mpi-openmpi'&lt;br /&gt;
APBS_PSIZE_LOCATION = '/sw/share/apbs-mpi-openmpi/tools/manip/psize.py'&lt;br /&gt;
APBS_PDB2PQR_LOCATION = None&lt;br /&gt;
TEMPORARY_FILE_DIR = None&lt;br /&gt;
&lt;br /&gt;
My $APBS_PSIZE returns /sw/share/apbs-mpi-openmpi/tools/manip by default, as installed through fink. I use 64-bit fink, pymol 1.3, and Snow Leopard OSX.&lt;br /&gt;
&lt;br /&gt;
The default temporary file locations also do not work. I have also tried to make apbs plugin save these these to no avail.&lt;br /&gt;
&lt;br /&gt;
I hope a solution to this issue can be posted in the wiki.&lt;br /&gt;
&lt;br /&gt;
PS.: I have looked at the output from X11 when pymol loads, and it seems it tries to load &lt;br /&gt;
trying /sw/bin/apbs-mpi-openmpi/psize.py&lt;br /&gt;
trying '''/sw/share/apbs-mpi-openmpi/tools/manip/psize.py'''/psize.py&lt;br /&gt;
trying /sw/share/pdb2pqr/psize.py&lt;br /&gt;
&lt;br /&gt;
and &lt;br /&gt;
trying '''/sw/bin/apbs-mpi-openmpi'''/apbs.exe&lt;br /&gt;
trying /sw/share/apbs-mpi-openmpi/tools/manip/psize.py/apbs.exe&lt;br /&gt;
trying /sw/share/pdb2pqr/apbs.exe&lt;br /&gt;
trying /sw/share/apbs/tools/manip/apbs.exe&lt;br /&gt;
trying /sw/bin/apbs.exe&lt;br /&gt;
&lt;br /&gt;
Which are obviously wrong. The correct paths should be '''/sw/share/apbs-mpi-openmpi/tools/manip/psize.py''' and '''/sw/bin/apbs-mpi-openmpi'''.&lt;br /&gt;
--[[User:Rendereason|Rendereason]] 22:40, 20 July 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
'''Fixed''' in the current version of the plugin, which you can download from [http://pymolwiki.org/index.php/User:Mglerner my user page]. The issue was that the plugin just didn't know about MPI-enabled versions. --[[User:Mglerner|michael]] 23:48, 22 July 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Running with APBS 1.3 not working==&lt;br /&gt;
Well, I tried making the plugin run with APBS 1.3 and this is what I got:&lt;br /&gt;
  Running:&lt;br /&gt;
  prog=/usr/local/apbs-1.3-mac-univ/bin/apbs&lt;br /&gt;
  args=('/usr/local/apbs-1.3-mac-univ/bin/apbs', '--version')&lt;br /&gt;
  Results were:&lt;br /&gt;
  Return value: -5&lt;br /&gt;
  Output:&lt;br /&gt;
  dyld: Library not loaded: /usr/local/lib/x86_64/libgomp.1.dylib&lt;br /&gt;
    Referenced from: /usr/local/apbs-1.3-mac-univ/bin/apbs&lt;br /&gt;
    Reason: image not found&lt;br /&gt;
  Skipping /usr/local/apbs-1.3-mac-univ/bin/apbs because it appears to be broken (dyld)&lt;br /&gt;
&lt;br /&gt;
Just wondering if you get the same. --[[User:Rendereason|Rendereason]] 16:36, 29 October 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
I think I see why it's doing that. My folder structure is not right. APBS needs to update its install instructions/README. I'll try moving the folders to /sw64/bin/apbs, /sw64/share/apbs, etc.--[[User:Rendereason|Rendereason]] 16:49, 29 October 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
The installation guide says:&lt;br /&gt;
&amp;quot;The APBS binaries do not contain dependencies on special data files, etc. and can be moved out of this directory structure without causing any problems for APBS execution.&amp;quot; [http://www.poissonboltzmann.org/apbs/user-guide/installation-and-avil From APBS webpage.]&lt;br /&gt;
I have tried setting the variable ${APBS_PREFIX} to /usr/local/apbs-.13-mac-univ.&lt;br /&gt;
I've added these to my .zshrc but none of it works&lt;br /&gt;
  APBS_PREFIX=/usr/local/apbs-1.3-mac-univ/&lt;br /&gt;
  APBS_BINARY_DIR=/usr/local/apbs-1.3-mac-univ/bin/&lt;br /&gt;
  APBS_PSIZE_DIR=/usr/local/apbs-1.3-mac-univ/share/tools/manip/&lt;br /&gt;
  export APBS_PREFIX&lt;br /&gt;
  export APBS_BINARY_DIR&lt;br /&gt;
  export APBS_PSIZE_DIR&lt;br /&gt;
None of this had any effect on the unmodified apbsplugin.py. (When parameters set to ''None'')&lt;br /&gt;
Changing the parameters within apbsplugin.py to their desired folders gives the error above.&lt;br /&gt;
--[[User:Rendereason|Rendereason]] 16:57, 29 October 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
Have you tried the pre-release version available on my page? I fixed some things recently, and this bug doesn't happen for me any more. --[[User:Mglerner|michael]] 19:40, 29 October 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
Yes. Those errors happen with the pre-release version you posted. It also ignores the binary I have configured it to use in /usr/local/apbs/bin/ for the fink one in /sw64/bin/. &lt;br /&gt;
 Also, I get this problem when running the plugin:&lt;br /&gt;
  GENERATING PQR FILE via PDB2PQR&lt;br /&gt;
  Erasing contents of /tmp/pymol-generated.pdb in order to generate new PDB file&lt;br /&gt;
  Erasing contents of /tmp/pymol-generated.pdb in order to clean it up&lt;br /&gt;
  TESTING&lt;br /&gt;
  DONE TESTING&lt;br /&gt;
  Appended /sw64&lt;br /&gt;
  Unexpected error encountered while trying to import pdb2pqr: (&amp;lt;type 'exceptions.ImportError'&amp;gt;, ImportError('No module named pdb2pqr.pdb2pqr',), &amp;lt;traceback object at 0x116714908&amp;gt;)&lt;br /&gt;
  In show error 2&lt;br /&gt;
  Could not generate PDB2PQR file.  _generatePdb2pqrPqrFile failed.&lt;br /&gt;
  Could not generate PQR file!&lt;br /&gt;
--[[User:Rendereason|Rendereason]] 22:48, 4 November 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>Rendereason</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Talk:APBS&amp;diff=23</id>
		<title>Talk:APBS</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Talk:APBS&amp;diff=23"/>
		<updated>2010-11-04T22:48:17Z</updated>

		<summary type="html">&lt;p&gt;Rendereason: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I've added some details about where and how to download and install apbs and its dependencies.  I have cross-referenced a description of how this can be done on OS X.  &lt;br /&gt;
&lt;br /&gt;
I've put a few very tentative lines in about linux.&lt;br /&gt;
&lt;br /&gt;
== Well done! ==&lt;br /&gt;
&lt;br /&gt;
Hey, thanks for this plugin.  It worked on an SMP 64-bit Linux machine with little effort.  Still crashes a bit, but the effort is worth it.&lt;br /&gt;
[[User:Inchoate|Tree]] 18:21, 21 February 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
== Question/Crash ==&lt;br /&gt;
&lt;br /&gt;
I ran APBS on 2ILK.  When I try to show the solv. acc. map, it computes something for a sec, then crashes taking PyMOL with it.  Is this common?  Any ideas on fixing it?  It's probably my lack of understanding on how APBS works.&lt;br /&gt;
[[User:Inchoate|Tree]] 07:40, 22 February 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
For me it doesn't crash, but asks me to calculate the pqr file myself. Than it calculates the map fine.&lt;br /&gt;
[[User:Desastre|Desastre]] 27 April 2008&lt;br /&gt;
&lt;br /&gt;
== Making the default paths to work? ==&lt;br /&gt;
&lt;br /&gt;
I saw a discussion in the Pymolbb dated April 15, 2010 [http://www.mail-archive.com/pymol-users@lists.sourceforge.net/msg07858.html] about the default paths for binaries, psize.py, and temp files not loading automatically or even saving the paths.&lt;br /&gt;
&lt;br /&gt;
I am wondering if anyone has solved this issue. &lt;br /&gt;
&lt;br /&gt;
After installing pymol through fink, none of the binaries show up. After installing pdb2pqr through fink, the apbs plugin (Apbs Tools 2) does load /sw/share/pdb2pqr/pdb2pqr.py automatically. However, after installing apbs-mpi-openmpi through fink, neither APBS binary nor APBS psize.py load. &lt;br /&gt;
&lt;br /&gt;
I have tried modifying apbs_tools.py (/sw/lib/pymol-py26/modules/pmg_tk/startup/apbs_tools.py) in lines 112 through 115 to:&lt;br /&gt;
APBS_BINARY_LOCATION = '/sw/bin/apbs-mpi-openmpi'&lt;br /&gt;
APBS_PSIZE_LOCATION = '/sw/share/apbs-mpi-openmpi/tools/manip/psize.py'&lt;br /&gt;
APBS_PDB2PQR_LOCATION = None&lt;br /&gt;
TEMPORARY_FILE_DIR = None&lt;br /&gt;
&lt;br /&gt;
My $APBS_PSIZE returns /sw/share/apbs-mpi-openmpi/tools/manip by default, as installed through fink. I use 64-bit fink, pymol 1.3, and Snow Leopard OSX.&lt;br /&gt;
&lt;br /&gt;
The default temporary file locations also do not work. I have also tried to make apbs plugin save these these to no avail.&lt;br /&gt;
&lt;br /&gt;
I hope a solution to this issue can be posted in the wiki.&lt;br /&gt;
&lt;br /&gt;
PS.: I have looked at the output from X11 when pymol loads, and it seems it tries to load &lt;br /&gt;
trying /sw/bin/apbs-mpi-openmpi/psize.py&lt;br /&gt;
trying '''/sw/share/apbs-mpi-openmpi/tools/manip/psize.py'''/psize.py&lt;br /&gt;
trying /sw/share/pdb2pqr/psize.py&lt;br /&gt;
&lt;br /&gt;
and &lt;br /&gt;
trying '''/sw/bin/apbs-mpi-openmpi'''/apbs.exe&lt;br /&gt;
trying /sw/share/apbs-mpi-openmpi/tools/manip/psize.py/apbs.exe&lt;br /&gt;
trying /sw/share/pdb2pqr/apbs.exe&lt;br /&gt;
trying /sw/share/apbs/tools/manip/apbs.exe&lt;br /&gt;
trying /sw/bin/apbs.exe&lt;br /&gt;
&lt;br /&gt;
Which are obviously wrong. The correct paths should be '''/sw/share/apbs-mpi-openmpi/tools/manip/psize.py''' and '''/sw/bin/apbs-mpi-openmpi'''.&lt;br /&gt;
--[[User:Rendereason|Rendereason]] 22:40, 20 July 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
'''Fixed''' in the current version of the plugin, which you can download from [http://pymolwiki.org/index.php/User:Mglerner my user page]. The issue was that the plugin just didn't know about MPI-enabled versions. --[[User:Mglerner|michael]] 23:48, 22 July 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Running with APBS 1.3 not working==&lt;br /&gt;
Well, I tried making the plugin run with APBS 1.3 and this is what I got:&lt;br /&gt;
  Running:&lt;br /&gt;
  prog=/usr/local/apbs-1.3-mac-univ/bin/apbs&lt;br /&gt;
  args=('/usr/local/apbs-1.3-mac-univ/bin/apbs', '--version')&lt;br /&gt;
  Results were:&lt;br /&gt;
  Return value: -5&lt;br /&gt;
  Output:&lt;br /&gt;
  dyld: Library not loaded: /usr/local/lib/x86_64/libgomp.1.dylib&lt;br /&gt;
    Referenced from: /usr/local/apbs-1.3-mac-univ/bin/apbs&lt;br /&gt;
    Reason: image not found&lt;br /&gt;
  Skipping /usr/local/apbs-1.3-mac-univ/bin/apbs because it appears to be broken (dyld)&lt;br /&gt;
&lt;br /&gt;
Just wondering if you get the same. --[[User:Rendereason|Rendereason]] 16:36, 29 October 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
I think I see why it's doing that. My folder structure is not right. APBS needs to update its install instructions/README. I'll try moving the folders to /sw64/bin/apbs, /sw64/share/apbs, etc.--[[User:Rendereason|Rendereason]] 16:49, 29 October 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
The installation guide says:&lt;br /&gt;
&amp;quot;The APBS binaries do not contain dependencies on special data files, etc. and can be moved out of this directory structure without causing any problems for APBS execution.&amp;quot; [http://www.poissonboltzmann.org/apbs/user-guide/installation-and-avil From APBS webpage.]&lt;br /&gt;
I have tried setting the variable ${APBS_PREFIX} to /usr/local/apbs-.13-mac-univ.&lt;br /&gt;
I've added these to my .zshrc but none of it works&lt;br /&gt;
  APBS_PREFIX=/usr/local/apbs-1.3-mac-univ/&lt;br /&gt;
  APBS_BINARY_DIR=/usr/local/apbs-1.3-mac-univ/bin/&lt;br /&gt;
  APBS_PSIZE_DIR=/usr/local/apbs-1.3-mac-univ/share/tools/manip/&lt;br /&gt;
  export APBS_PREFIX&lt;br /&gt;
  export APBS_BINARY_DIR&lt;br /&gt;
  export APBS_PSIZE_DIR&lt;br /&gt;
None of this had any effect on the unmodified apbsplugin.py. (When parameters set to ''None'')&lt;br /&gt;
Changing the parameters within apbsplugin.py to their desired folders gives the error above.&lt;br /&gt;
--[[User:Rendereason|Rendereason]] 16:57, 29 October 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
Have you tried the pre-release version available on my page? I fixed some things recently, and this bug doesn't happen for me any more. --[[User:Mglerner|michael]] 19:40, 29 October 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
Yes. I have. Also, I get this problem:&lt;br /&gt;
  GENERATING PQR FILE via PDB2PQR&lt;br /&gt;
  Erasing contents of /tmp/pymol-generated.pdb in order to generate new PDB file&lt;br /&gt;
  Erasing contents of /tmp/pymol-generated.pdb in order to clean it up&lt;br /&gt;
  TESTING&lt;br /&gt;
  DONE TESTING&lt;br /&gt;
  Appended /sw64&lt;br /&gt;
  Unexpected error encountered while trying to import pdb2pqr: (&amp;lt;type 'exceptions.ImportError'&amp;gt;, ImportError('No module named pdb2pqr.pdb2pqr',), &amp;lt;traceback object at 0x116714908&amp;gt;)&lt;br /&gt;
  In show error 2&lt;br /&gt;
  Could not generate PDB2PQR file.  _generatePdb2pqrPqrFile failed.&lt;br /&gt;
  Could not generate PQR file!&lt;br /&gt;
--[[User:Rendereason|Rendereason]] 22:48, 4 November 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>Rendereason</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Talk:APBS&amp;diff=22</id>
		<title>Talk:APBS</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Talk:APBS&amp;diff=22"/>
		<updated>2010-11-04T22:47:07Z</updated>

		<summary type="html">&lt;p&gt;Rendereason: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I've added some details about where and how to download and install apbs and its dependencies.  I have cross-referenced a description of how this can be done on OS X.  &lt;br /&gt;
&lt;br /&gt;
I've put a few very tentative lines in about linux.&lt;br /&gt;
&lt;br /&gt;
== Well done! ==&lt;br /&gt;
&lt;br /&gt;
Hey, thanks for this plugin.  It worked on an SMP 64-bit Linux machine with little effort.  Still crashes a bit, but the effort is worth it.&lt;br /&gt;
[[User:Inchoate|Tree]] 18:21, 21 February 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
== Question/Crash ==&lt;br /&gt;
&lt;br /&gt;
I ran APBS on 2ILK.  When I try to show the solv. acc. map, it computes something for a sec, then crashes taking PyMOL with it.  Is this common?  Any ideas on fixing it?  It's probably my lack of understanding on how APBS works.&lt;br /&gt;
[[User:Inchoate|Tree]] 07:40, 22 February 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
For me it doesn't crash, but asks me to calculate the pqr file myself. Than it calculates the map fine.&lt;br /&gt;
[[User:Desastre|Desastre]] 27 April 2008&lt;br /&gt;
&lt;br /&gt;
== Making the default paths to work? ==&lt;br /&gt;
&lt;br /&gt;
I saw a discussion in the Pymolbb dated April 15, 2010 [http://www.mail-archive.com/pymol-users@lists.sourceforge.net/msg07858.html] about the default paths for binaries, psize.py, and temp files not loading automatically or even saving the paths.&lt;br /&gt;
&lt;br /&gt;
I am wondering if anyone has solved this issue. &lt;br /&gt;
&lt;br /&gt;
After installing pymol through fink, none of the binaries show up. After installing pdb2pqr through fink, the apbs plugin (Apbs Tools 2) does load /sw/share/pdb2pqr/pdb2pqr.py automatically. However, after installing apbs-mpi-openmpi through fink, neither APBS binary nor APBS psize.py load. &lt;br /&gt;
&lt;br /&gt;
I have tried modifying apbs_tools.py (/sw/lib/pymol-py26/modules/pmg_tk/startup/apbs_tools.py) in lines 112 through 115 to:&lt;br /&gt;
APBS_BINARY_LOCATION = '/sw/bin/apbs-mpi-openmpi'&lt;br /&gt;
APBS_PSIZE_LOCATION = '/sw/share/apbs-mpi-openmpi/tools/manip/psize.py'&lt;br /&gt;
APBS_PDB2PQR_LOCATION = None&lt;br /&gt;
TEMPORARY_FILE_DIR = None&lt;br /&gt;
&lt;br /&gt;
My $APBS_PSIZE returns /sw/share/apbs-mpi-openmpi/tools/manip by default, as installed through fink. I use 64-bit fink, pymol 1.3, and Snow Leopard OSX.&lt;br /&gt;
&lt;br /&gt;
The default temporary file locations also do not work. I have also tried to make apbs plugin save these these to no avail.&lt;br /&gt;
&lt;br /&gt;
I hope a solution to this issue can be posted in the wiki.&lt;br /&gt;
&lt;br /&gt;
PS.: I have looked at the output from X11 when pymol loads, and it seems it tries to load &lt;br /&gt;
trying /sw/bin/apbs-mpi-openmpi/psize.py&lt;br /&gt;
trying '''/sw/share/apbs-mpi-openmpi/tools/manip/psize.py'''/psize.py&lt;br /&gt;
trying /sw/share/pdb2pqr/psize.py&lt;br /&gt;
&lt;br /&gt;
and &lt;br /&gt;
trying '''/sw/bin/apbs-mpi-openmpi'''/apbs.exe&lt;br /&gt;
trying /sw/share/apbs-mpi-openmpi/tools/manip/psize.py/apbs.exe&lt;br /&gt;
trying /sw/share/pdb2pqr/apbs.exe&lt;br /&gt;
trying /sw/share/apbs/tools/manip/apbs.exe&lt;br /&gt;
trying /sw/bin/apbs.exe&lt;br /&gt;
&lt;br /&gt;
Which are obviously wrong. The correct paths should be '''/sw/share/apbs-mpi-openmpi/tools/manip/psize.py''' and '''/sw/bin/apbs-mpi-openmpi'''.&lt;br /&gt;
--[[User:Rendereason|Rendereason]] 22:40, 20 July 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
'''Fixed''' in the current version of the plugin, which you can download from [http://pymolwiki.org/index.php/User:Mglerner my user page]. The issue was that the plugin just didn't know about MPI-enabled versions. --[[User:Mglerner|michael]] 23:48, 22 July 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Running with APBS 1.3 not working==&lt;br /&gt;
Well, I tried making the plugin run with APBS 1.3 and this is what I got:&lt;br /&gt;
  Running:&lt;br /&gt;
  prog=/usr/local/apbs-1.3-mac-univ/bin/apbs&lt;br /&gt;
  args=('/usr/local/apbs-1.3-mac-univ/bin/apbs', '--version')&lt;br /&gt;
  Results were:&lt;br /&gt;
  Return value: -5&lt;br /&gt;
  Output:&lt;br /&gt;
  dyld: Library not loaded: /usr/local/lib/x86_64/libgomp.1.dylib&lt;br /&gt;
    Referenced from: /usr/local/apbs-1.3-mac-univ/bin/apbs&lt;br /&gt;
    Reason: image not found&lt;br /&gt;
  Skipping /usr/local/apbs-1.3-mac-univ/bin/apbs because it appears to be broken (dyld)&lt;br /&gt;
&lt;br /&gt;
Just wondering if you get the same. --[[User:Rendereason|Rendereason]] 16:36, 29 October 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
I think I see why it's doing that. My folder structure is not right. APBS needs to update its install instructions/README. I'll try moving the folders to /sw64/bin/apbs, /sw64/share/apbs, etc.--[[User:Rendereason|Rendereason]] 16:49, 29 October 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
The installation guide says:&lt;br /&gt;
&amp;quot;The APBS binaries do not contain dependencies on special data files, etc. and can be moved out of this directory structure without causing any problems for APBS execution.&amp;quot; [http://www.poissonboltzmann.org/apbs/user-guide/installation-and-avil From APBS webpage.]&lt;br /&gt;
I have tried setting the variable ${APBS_PREFIX} to /usr/local/apbs-.13-mac-univ.&lt;br /&gt;
I've added these to my .zshrc but none of it works&lt;br /&gt;
  APBS_PREFIX=/usr/local/apbs-1.3-mac-univ/&lt;br /&gt;
  APBS_BINARY_DIR=/usr/local/apbs-1.3-mac-univ/bin/&lt;br /&gt;
  APBS_PSIZE_DIR=/usr/local/apbs-1.3-mac-univ/share/tools/manip/&lt;br /&gt;
  export APBS_PREFIX&lt;br /&gt;
  export APBS_BINARY_DIR&lt;br /&gt;
  export APBS_PSIZE_DIR&lt;br /&gt;
None of this had any effect on the unmodified apbsplugin.py. (When parameters set to ''None'')&lt;br /&gt;
Changing the parameters within apbsplugin.py to their desired folders gives the error above.&lt;br /&gt;
--[[User:Rendereason|Rendereason]] 16:57, 29 October 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
Have you tried the pre-release version available on my page? I fixed some things recently, and this bug doesn't happen for me any more. --[[User:Mglerner|michael]] 19:40, 29 October 2010 (UTC)&lt;br /&gt;
Yes. I have. Also, I get this problem:&lt;br /&gt;
GENERATING PQR FILE via PDB2PQR&lt;br /&gt;
Erasing contents of /tmp/pymol-generated.pdb in order to generate new PDB file&lt;br /&gt;
Erasing contents of /tmp/pymol-generated.pdb in order to clean it up&lt;br /&gt;
TESTING&lt;br /&gt;
DONE TESTING&lt;br /&gt;
Appended /sw64&lt;br /&gt;
Unexpected error encountered while trying to import pdb2pqr: (&amp;lt;type 'exceptions.ImportError'&amp;gt;, ImportError('No module named pdb2pqr.pdb2pqr',), &amp;lt;traceback object at 0x116714908&amp;gt;)&lt;br /&gt;
In show error 2&lt;br /&gt;
Could not generate PDB2PQR file.  _generatePdb2pqrPqrFile failed.&lt;br /&gt;
Could not generate PQR file!&lt;/div&gt;</summary>
		<author><name>Rendereason</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=APBS&amp;diff=4152</id>
		<title>APBS</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=APBS&amp;diff=4152"/>
		<updated>2010-11-03T19:30:45Z</updated>

		<summary type="html">&lt;p&gt;Rendereason: moved Michael's note under apbs plugin&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
[[Image:Rna_surface_apbs.png|thumb|APBS-generated electrostatic surface displayed in PyMOL]]&lt;br /&gt;
[http://apbs.sourceforge.net APBS], the Adaptive Poisson-Boltzmann Solver, is a [http://www.oreilly.com/openbook/freedom/ freely] available macromolecular electrostatics calculation program released under the [http://www.gnu.org/copyleft/gpl.html GPL]. It is a cost-effective but uncompromised alternative to [http://trantor.bioc.columbia.edu/grasp/ GRASP], and it can be used within PyMOL.  PyMOL can display the results of the calculations as an electrostatic potential molecular surface.&lt;br /&gt;
&lt;br /&gt;
== APBS Plugin with New Features ==&lt;br /&gt;
=== Pre-release version ===&lt;br /&gt;
&lt;br /&gt;
There is often a more current pre-release version available on my user page. If you're experiencing bugs, please test the pre-release version to see if they've already been fixed. Thanks! --[[User:Mglerner|michael]] 19:43, 29 October 2010 (UTC)&lt;br /&gt;
----&lt;br /&gt;
PyMol currently supports the '''APBS plugin''' written by [http://pymolwiki.org/index.php/User:Mglerner Michael Lerner]. This plugin makes it possible to run APBS from within PyMOL, and then display the results as a color-coded electrostatic surface (units &amp;lt;math&amp;gt;K_bT/e_c&amp;lt;/math&amp;gt;) in the molecular display window (as with the image to the right).  This wiki page has updated instructions on how to download, install and use the plugin.&lt;br /&gt;
&lt;br /&gt;
'''Nucleic acids may prove problematic for the apbs plugin.''' If so, use the [http://pdb2pqr.sourceforge.net/ pdb2pqr] command-line tool to create a pqr file manually, instead of using the plugin to generate it. Then direct the APBS GUI on the [http://www-personal.umich.edu/~mlerner/PyMOL/images/main.png main menu] to read the pqr file you '''externally generated.'''&lt;br /&gt;
&lt;br /&gt;
There is a new version of the PyMOL-APBS plugin and it's now ready for pre-release. There are several big advantages of the new version:&lt;br /&gt;
&lt;br /&gt;
* It's been tested modern OS X, Windows and Linux systems and fixes several long-standing bugs.&lt;br /&gt;
* It allows you to call through to PDB2PQR directly.&lt;br /&gt;
* It allows you to show the electric field lines.&lt;br /&gt;
* It has two visualization panels to aid in showing multiple potential surfaces at once.&lt;br /&gt;
* It defaults to using PDB2PQR for PQR generation and APBS's psize.py for grid sizing/spacing.&lt;br /&gt;
* It has also an increased default maximum allowed memory since typical users have bigger and faster computers these days.&lt;br /&gt;
* It calls on the correct paths and binaries for multi-threaded APBS (apbs-mpi-openmpi).&lt;br /&gt;
&lt;br /&gt;
The main reason it is not included in the latest PyMOL release is to receive bug reports. Once it's shown to be stable, it'll be included in the next PyMOL release. See [http://pymolwiki.org/index.php/User:Mglerner Michael Lerner]'s page.&lt;br /&gt;
&lt;br /&gt;
==== How to get it ====&lt;br /&gt;
&lt;br /&gt;
There are two ways to get the new plugin&lt;br /&gt;
&lt;br /&gt;
* If you have subversion installed, you can always get the latest version via&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
svn co http://pymolapbsplugin.svn.sourceforge.net/viewvc/pymolapbsplugin/trunk/src/apbsplugin.py&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* You can download it from http://pymolapbsplugin.svn.sourceforge.net/viewvc/pymolapbsplugin/trunk/src/apbsplugin.py&lt;br /&gt;
&lt;br /&gt;
That should give you a file called apbsplugin.py&lt;br /&gt;
&lt;br /&gt;
Once you have the plugin, you can install it via PyMOL's plugin installer: Plugin --&amp;gt; Manage Plugins --&amp;gt; Install&lt;br /&gt;
&lt;br /&gt;
You may have to run PyMOL with sudo privileges.&lt;br /&gt;
&lt;br /&gt;
Note that the plugin will be installed as &amp;quot;APBS Tools2.1&amp;quot; so that you can continue to use your old version.&lt;br /&gt;
&lt;br /&gt;
Further details, as well as screen shots, are given [http://www.pymolwiki.org/index.php/MAC_Install#Install_APBS_and_friends_with_fink elsewhere in this wiki].&lt;br /&gt;
&lt;br /&gt;
==Required Dependencies==&lt;br /&gt;
[http://apbs.sourceforge.net APBS] and its dependencies like [http://pdb2pqr.sourceforge.net pdb2pqr] and [http://scicomp.ucsd.edu/~mholst/codes/maloc/ maloc] are [http://www.oreilly.com/openbook/freedom/ freely] available under the [http://www.gnu.org/copyleft/gpl.html GPL].  The author of the software however [http://agave.wustl.edu/apbs/download/ asks that users register] with him to aid him in obtaining grant funding.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
===Installing the Dependencies on OS X===&lt;br /&gt;
#First, [http://agave.wustl.edu/apbs/download/ register] your use of the software.  This will keep everyone happy.&lt;br /&gt;
#Second, if you don't already have the [http://fink.sourceforge.net fink package management system], now is a good time to get it. Here is a [http://xanana.ucsc.edu/~wgscott/xtal/wiki/index.php/Quick_Start quick-start set of instructions] for getting X-windows, compilers, and fink all installed. &lt;br /&gt;
#Once you are up and going, [http://xanana.ucsc.edu/~wgscott/xtal/wiki/index.php/How_to_Activate_the_Unstable_Branch activate the unstable branch in fink], and then issue the commands&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
fink self-update&lt;br /&gt;
fink install apbs&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or if you want to use the multi-processor version, issue&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
fink self-update&lt;br /&gt;
fink install apbs-mpi-openmpi&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Then install the X-windows based version of pymol using the command&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
fink install pymol-py25&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
It is recommended to install the latest pdb2pqr as well as the APBS plugin makes use of it&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
fink install pdb2pqr&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Note that the fink version of PyMOL as of 1.3-4 does not have the latest version of the APBS plugin. Make sure you get the new version!&lt;br /&gt;
&lt;br /&gt;
===Installing the Dependencies on Linux===&lt;br /&gt;
&lt;br /&gt;
====From Scratch====&lt;br /&gt;
Note that this tutorial assumes you're using the bash shell and have root privileges&lt;br /&gt;
&amp;lt;OL&amp;gt;&amp;lt;LI&amp;gt;&lt;br /&gt;
Obtain APBS and MALOC from...&amp;lt;br&amp;gt;&lt;br /&gt;
APBS = http://apbs.sourceforge.net (currently 0.4)&amp;lt;br&amp;gt;&lt;br /&gt;
MALOC = http://www.fetk.org/codes/maloc/index.html#download (currently 0.1-2)&amp;lt;BR&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Set up some environment variables &amp;amp; directories (temporary for building)&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ export FETK_SRC=/&amp;lt;building directory&amp;gt;/temp_apbs&lt;br /&gt;
$ export FETK_PREFIX=/usr/local/apbs-0.4.0  (or wherever you want it to live)&lt;br /&gt;
$ export FETK_INCLUDE=${FETK_PREFIX}/include&lt;br /&gt;
$ export FETK_LIBRARY=${FETK_PREFIX}/lib&lt;br /&gt;
$ mkdir -p ${FETK_SRC} ${FETK_INCLUDE} ${FETK_LIBRARY}&lt;br /&gt;
&amp;lt;/source&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Unpack the source packages&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ cd ${FETK_SRC}&lt;br /&gt;
$ gzip -dc maloc-0.1-2.tar.gz | tar xvf -&lt;br /&gt;
$ gzip -dc apbs-0.4.0.tar.gz | tar xvf -&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Compile MALOC&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ cd ${FETK_SRC}/maloc&lt;br /&gt;
$ ./configure --prefix=${FETK_PREFIX}&amp;lt;/source&amp;gt;&lt;br /&gt;
If everything went well, then&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ make; make install&amp;lt;/source&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Go get a coffee. Compilation/installation takes about 15 minutes on a 3GHz computer with 1GB of RAM.&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Now on to compiling APBS itself&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ cd ${FETK_SRC}/apbs-0.4.0&lt;br /&gt;
$ ./configure --prefix=${FETK_PREFIX}&amp;lt;/source&amp;gt;&lt;br /&gt;
If all goes well:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ make all; make install&amp;lt;/source&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;No time for coffee. Takes about 5 minutes on that fast computer.&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt; There will now be an APBS binary at&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;/usr/local/apbs-0.4.0/bin/i686-intel-linux/apbs&amp;lt;/source&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt; Make appropriate links&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ ln -s /usr/local/apbs-0.4.0/bin/i686-intel-linux/apbs /usr/local/bin/apbs&lt;br /&gt;
&amp;lt;/source&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt; Get rid of /&amp;lt;building directory dir&amp;gt;/temp_apbs&lt;br /&gt;
&amp;lt;LI&amp;gt; Open PyMOL and make sure that the APBS plugin points to /usr/local/bin/apbs&lt;br /&gt;
&amp;lt;LI&amp;gt; Rock and or Roll.&lt;br /&gt;
&amp;lt;/OL&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Pre-Packaged====&lt;br /&gt;
=====RPMs=====&lt;br /&gt;
&lt;br /&gt;
A variety of RPMs are available from the [http://sourceforge.net/project/showfiles.php?group_id=148472&amp;amp;package_id=163734&amp;amp;release_id=378273 APBS downloads website].  Again, please [http://agave.wustl.edu/apbs/download/ register] your use of the software if you have not yet done so.&lt;br /&gt;
&lt;br /&gt;
=====Debian packages=====&lt;br /&gt;
&lt;br /&gt;
For ubuntu and other debian linux distributions, probably the simplest thing is to download a promising looking rpm, convert it with the program [http://kitenet.net/programs/alien/ alien], and then install the [http://xanana.ucsc.edu/linux newly generated debian package] with the command&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo dpkg -i apbs*.deb&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Gentoo=====&lt;br /&gt;
&lt;br /&gt;
You have to install apbs and pdb2pqr. Both are masked via keywords atm. Type as root:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
echo sci-chemistry/pdb2pqr &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
echo sci-chemistry/apbs &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
emerge -av sci-chemistry/apbs sci-chemistry/pdb2pqr&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
* If the B-factor is &amp;lt;math&amp;gt;\geq 100,&amp;lt;/math&amp;gt; then APBS doesn't properly read in the PDB file and thus outputs garbage (or dies).  To fix this, set all b factors to be less than 100. &amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;alter all, b=min(b,99.9)&amp;lt;/source&amp;gt;  The problem stems from how to parse a PDB file.  The PDB file originally was written when most people used FORTRAN programs, and so the file format was specified by columns, not by the more modern comma separated value format we tend to prefer today.  For the latest on the PDB format see the [http://www.wwpdb.org/docs.html new PDB format docs].&lt;br /&gt;
* APBS has problems, sometimes, in reading atoms with alternate conformations.  You can remove the alternate locations with a simple script [[removeAlt]].&lt;br /&gt;
* ObjectMapLoadDXFile-Error: as of this writing (9-23-2008) a known problem exists, and the Baker lab is working on it. It is typically caused by the use of directories with spaces in their names under Windows.&lt;br /&gt;
&lt;br /&gt;
== Problems with the bundled version of APBS ==&lt;br /&gt;
There is an issue with the freemol version of APBS shipped with PyMOL 1.2r2 for OS X. &lt;br /&gt;
&lt;br /&gt;
=== Leopard and Snow Leopard (10.5 and 10.6) ===&lt;br /&gt;
There are three fairly easy ways to resolve it&lt;br /&gt;
&lt;br /&gt;
1. Download and install the most recent (post Dec. 1 2009) version of APBS from [http://www.poissonboltzmann.org/apbs/downloads]. Then copy the apbs binary into the freemol directory (mv it to /Applications/PyMOLX11Hybrid.app/pymol/freemol/bin/apbs.exe, overwriting the version that comes installed with PyMOL).&lt;br /&gt;
&lt;br /&gt;
2. Download [[File:Libgfortran.3.dylib.bz2]], unzip it (&amp;quot;bunzip2 libgfortran.3.dylib.gz2&amp;quot;) and move it to /usr/local/lib (&amp;quot;mv libgfortran.3.dylib /usr/local/lib&amp;quot; ... on some machines, you may need &amp;quot;sudo mv libgfortran.3.dylib /usr/local/lib&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
bunzip2 libgfortran.3.dylib.gz2&lt;br /&gt;
mv libgfortran.3.dylib /usr/local/lib&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Use macports to install gcc 4.4.2 and link the appropriate library (&amp;quot;ln -s /opt/local/lib/gcc44/libgfortran.3.dylib /usr/local/lib/libgfortran.3.dylib&amp;quot; ... on some machines, you may need &amp;quot;sudo ln -s /opt/local/lib/gcc44/libgfortran.3.dylib /usr/local/lib/libgfortran.3.dylib&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
ln -s /opt/local/lib/gcc44/libgfortran.3.dylib /usr/local/lib/libgfortran.3.dylib&lt;br /&gt;
sudo ln -s /opt/local/lib/gcc44/libgfortran.3.dylib /usr/local/lib/libgfortran.3.dylib&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you're curious, the problem is that APBS is dynamically linked, but Apple does not provide FORTRAN libraries.&lt;br /&gt;
&lt;br /&gt;
The version of libgfortran above is covered by the GNU General Public License (GPL). A copy of the GPL may be found at [http://www.gnu.org/licenses/licenses.html], and the source may be obtained from MacPorts ([http://www.macports.org/]).&lt;br /&gt;
&lt;br /&gt;
=== Tiger (10.4) ===&lt;br /&gt;
You'll need to install APBS yourself via MacPorts or via fink. Fink instructions may be found on the [[APBS]] page. Installation via MacPorts requires first installing MacPorts from [http://www.macports.org/] and then typing&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo port install apbs&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
from the command line. This process could easily take several hours on an older machine, as MacPorts will recompile gcc, gfortran, and several other packages along the way.&lt;br /&gt;
&lt;br /&gt;
==Using APBS==&lt;br /&gt;
There is a nice tutorial on the APBS homepage: [http://www.poissonboltzmann.org/apbs/examples/visualization/apbs-electrostatics-in-pymol] For further help, there is a mailing list [https://lists.sourceforge.net/lists/listinfo/apbs-users] with the corresponding archive [http://sourceforge.net/mailarchive/forum.php?forum_name=apbs-users]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Further contributions and edits are needed.==&lt;br /&gt;
&lt;br /&gt;
[[Category:Electrostatics]]&lt;br /&gt;
[[Category:Biochemical_Properties]]&lt;br /&gt;
[[Category:Plugins]]&lt;/div&gt;</summary>
		<author><name>Rendereason</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=APBS&amp;diff=4151</id>
		<title>APBS</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=APBS&amp;diff=4151"/>
		<updated>2010-11-03T19:21:27Z</updated>

		<summary type="html">&lt;p&gt;Rendereason: Updated the link for svn.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Pre-release version ==&lt;br /&gt;
&lt;br /&gt;
There is often a more current pre-release version available on my user page. If you're experiencing bugs, please test the pre-release version to see if they've already been fixed. Thanks! --[[User:Mglerner|michael]] 19:43, 29 October 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
[[Image:Rna_surface_apbs.png|thumb|APBS-generated electrostatic surface displayed in PyMOL]]&lt;br /&gt;
[http://apbs.sourceforge.net APBS], the Adaptive Poisson-Boltzmann Solver, is a [http://www.oreilly.com/openbook/freedom/ freely] available macromolecular electrostatics calculation program released under the [http://www.gnu.org/copyleft/gpl.html GPL]. It is a cost-effective but uncompromised alternative to [http://trantor.bioc.columbia.edu/grasp/ GRASP], and it can be used within PyMOL.  PyMOL can display the results of the calculations as an electrostatic potential molecular surface.&lt;br /&gt;
&lt;br /&gt;
=== APBS Plugin with New Features ===&lt;br /&gt;
PyMol currently supports the '''APBS plugin''' written by [http://pymolwiki.org/index.php/User:Mglerner Michael Lerner]. This plugin makes it possible to run APBS from within PyMOL, and then display the results as a color-coded electrostatic surface (units &amp;lt;math&amp;gt;K_bT/e_c&amp;lt;/math&amp;gt;) in the molecular display window (as with the image to the right).  This wiki page has updated instructions on how to download, install and use the plugin.&lt;br /&gt;
&lt;br /&gt;
'''Nucleic acids may prove problematic for the apbs plugin.''' If so, use the [http://pdb2pqr.sourceforge.net/ pdb2pqr] command-line tool to create a pqr file manually, instead of using the plugin to generate it. Then direct the APBS GUI on the [http://www-personal.umich.edu/~mlerner/PyMOL/images/main.png main menu] to read the pqr file you '''externally generated.'''&lt;br /&gt;
&lt;br /&gt;
There is a new version of the PyMOL-APBS plugin and it's now ready for pre-release. There are several big advantages of the new version:&lt;br /&gt;
&lt;br /&gt;
* It's been tested modern OS X, Windows and Linux systems and fixes several long-standing bugs.&lt;br /&gt;
* It allows you to call through to PDB2PQR directly.&lt;br /&gt;
* It allows you to show the electric field lines.&lt;br /&gt;
* It has two visualization panels to aid in showing multiple potential surfaces at once.&lt;br /&gt;
* It defaults to using PDB2PQR for PQR generation and APBS's psize.py for grid sizing/spacing.&lt;br /&gt;
* It has also an increased default maximum allowed memory since typical users have bigger and faster computers these days.&lt;br /&gt;
* It calls on the correct paths and binaries for multi-threaded APBS (apbs-mpi-openmpi).&lt;br /&gt;
&lt;br /&gt;
The main reason it is not included in the latest PyMOL release is to receive bug reports. Once it's shown to be stable, it'll be included in the next PyMOL release. See [http://pymolwiki.org/index.php/User:Mglerner Michael Lerner]'s page.&lt;br /&gt;
&lt;br /&gt;
==== How to get it ====&lt;br /&gt;
&lt;br /&gt;
There are two ways to get the new plugin&lt;br /&gt;
&lt;br /&gt;
* If you have subversion installed, you can always get the latest version via&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
svn co http://pymolapbsplugin.svn.sourceforge.net/viewvc/pymolapbsplugin/trunk/src/apbsplugin.py&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* You can download it from http://pymolapbsplugin.svn.sourceforge.net/viewvc/pymolapbsplugin/trunk/src/apbsplugin.py&lt;br /&gt;
&lt;br /&gt;
That should give you a file called apbsplugin.py&lt;br /&gt;
&lt;br /&gt;
Once you have the plugin, you can install it via PyMOL's plugin installer: Plugin --&amp;gt; Manage Plugins --&amp;gt; Install&lt;br /&gt;
&lt;br /&gt;
You may have to run PyMOL with sudo privileges.&lt;br /&gt;
&lt;br /&gt;
Note that the plugin will be installed as &amp;quot;APBS Tools2.1&amp;quot; so that you can continue to use your old version.&lt;br /&gt;
&lt;br /&gt;
Further details, as well as screen shots, are given [http://www.pymolwiki.org/index.php/MAC_Install#Install_APBS_and_friends_with_fink elsewhere in this wiki].&lt;br /&gt;
&lt;br /&gt;
==Required Dependencies==&lt;br /&gt;
[http://apbs.sourceforge.net APBS] and its dependencies like [http://pdb2pqr.sourceforge.net pdb2pqr] and [http://scicomp.ucsd.edu/~mholst/codes/maloc/ maloc] are [http://www.oreilly.com/openbook/freedom/ freely] available under the [http://www.gnu.org/copyleft/gpl.html GPL].  The author of the software however [http://agave.wustl.edu/apbs/download/ asks that users register] with him to aid him in obtaining grant funding.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
===Installing the Dependencies on OS X===&lt;br /&gt;
#First, [http://agave.wustl.edu/apbs/download/ register] your use of the software.  This will keep everyone happy.&lt;br /&gt;
#Second, if you don't already have the [http://fink.sourceforge.net fink package management system], now is a good time to get it. Here is a [http://xanana.ucsc.edu/~wgscott/xtal/wiki/index.php/Quick_Start quick-start set of instructions] for getting X-windows, compilers, and fink all installed. &lt;br /&gt;
#Once you are up and going, [http://xanana.ucsc.edu/~wgscott/xtal/wiki/index.php/How_to_Activate_the_Unstable_Branch activate the unstable branch in fink], and then issue the commands&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
fink self-update&lt;br /&gt;
fink install apbs&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or if you want to use the multi-processor version, issue&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
fink self-update&lt;br /&gt;
fink install apbs-mpi-openmpi&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Then install the X-windows based version of pymol using the command&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
fink install pymol-py25&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
It is recommended to install the latest pdb2pqr as well as the APBS plugin makes use of it&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
fink install pdb2pqr&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Note that the fink version of PyMOL as of 1.3-4 does not have the latest version of the APBS plugin. Make sure you get the new version!&lt;br /&gt;
&lt;br /&gt;
===Installing the Dependencies on Linux===&lt;br /&gt;
&lt;br /&gt;
====From Scratch====&lt;br /&gt;
Note that this tutorial assumes you're using the bash shell and have root privileges&lt;br /&gt;
&amp;lt;OL&amp;gt;&amp;lt;LI&amp;gt;&lt;br /&gt;
Obtain APBS and MALOC from...&amp;lt;br&amp;gt;&lt;br /&gt;
APBS = http://apbs.sourceforge.net (currently 0.4)&amp;lt;br&amp;gt;&lt;br /&gt;
MALOC = http://www.fetk.org/codes/maloc/index.html#download (currently 0.1-2)&amp;lt;BR&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Set up some environment variables &amp;amp; directories (temporary for building)&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ export FETK_SRC=/&amp;lt;building directory&amp;gt;/temp_apbs&lt;br /&gt;
$ export FETK_PREFIX=/usr/local/apbs-0.4.0  (or wherever you want it to live)&lt;br /&gt;
$ export FETK_INCLUDE=${FETK_PREFIX}/include&lt;br /&gt;
$ export FETK_LIBRARY=${FETK_PREFIX}/lib&lt;br /&gt;
$ mkdir -p ${FETK_SRC} ${FETK_INCLUDE} ${FETK_LIBRARY}&lt;br /&gt;
&amp;lt;/source&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Unpack the source packages&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ cd ${FETK_SRC}&lt;br /&gt;
$ gzip -dc maloc-0.1-2.tar.gz | tar xvf -&lt;br /&gt;
$ gzip -dc apbs-0.4.0.tar.gz | tar xvf -&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Compile MALOC&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ cd ${FETK_SRC}/maloc&lt;br /&gt;
$ ./configure --prefix=${FETK_PREFIX}&amp;lt;/source&amp;gt;&lt;br /&gt;
If everything went well, then&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ make; make install&amp;lt;/source&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Go get a coffee. Compilation/installation takes about 15 minutes on a 3GHz computer with 1GB of RAM.&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Now on to compiling APBS itself&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ cd ${FETK_SRC}/apbs-0.4.0&lt;br /&gt;
$ ./configure --prefix=${FETK_PREFIX}&amp;lt;/source&amp;gt;&lt;br /&gt;
If all goes well:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ make all; make install&amp;lt;/source&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;No time for coffee. Takes about 5 minutes on that fast computer.&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt; There will now be an APBS binary at&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;/usr/local/apbs-0.4.0/bin/i686-intel-linux/apbs&amp;lt;/source&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt; Make appropriate links&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ ln -s /usr/local/apbs-0.4.0/bin/i686-intel-linux/apbs /usr/local/bin/apbs&lt;br /&gt;
&amp;lt;/source&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt; Get rid of /&amp;lt;building directory dir&amp;gt;/temp_apbs&lt;br /&gt;
&amp;lt;LI&amp;gt; Open PyMOL and make sure that the APBS plugin points to /usr/local/bin/apbs&lt;br /&gt;
&amp;lt;LI&amp;gt; Rock and or Roll.&lt;br /&gt;
&amp;lt;/OL&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Pre-Packaged====&lt;br /&gt;
=====RPMs=====&lt;br /&gt;
&lt;br /&gt;
A variety of RPMs are available from the [http://sourceforge.net/project/showfiles.php?group_id=148472&amp;amp;package_id=163734&amp;amp;release_id=378273 APBS downloads website].  Again, please [http://agave.wustl.edu/apbs/download/ register] your use of the software if you have not yet done so.&lt;br /&gt;
&lt;br /&gt;
=====Debian packages=====&lt;br /&gt;
&lt;br /&gt;
For ubuntu and other debian linux distributions, probably the simplest thing is to download a promising looking rpm, convert it with the program [http://kitenet.net/programs/alien/ alien], and then install the [http://xanana.ucsc.edu/linux newly generated debian package] with the command&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo dpkg -i apbs*.deb&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Gentoo=====&lt;br /&gt;
&lt;br /&gt;
You have to install apbs and pdb2pqr. Both are masked via keywords atm. Type as root:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
echo sci-chemistry/pdb2pqr &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
echo sci-chemistry/apbs &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
emerge -av sci-chemistry/apbs sci-chemistry/pdb2pqr&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
* If the B-factor is &amp;lt;math&amp;gt;\geq 100,&amp;lt;/math&amp;gt; then APBS doesn't properly read in the PDB file and thus outputs garbage (or dies).  To fix this, set all b factors to be less than 100. &amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;alter all, b=min(b,99.9)&amp;lt;/source&amp;gt;  The problem stems from how to parse a PDB file.  The PDB file originally was written when most people used FORTRAN programs, and so the file format was specified by columns, not by the more modern comma separated value format we tend to prefer today.  For the latest on the PDB format see the [http://www.wwpdb.org/docs.html new PDB format docs].&lt;br /&gt;
* APBS has problems, sometimes, in reading atoms with alternate conformations.  You can remove the alternate locations with a simple script [[removeAlt]].&lt;br /&gt;
* ObjectMapLoadDXFile-Error: as of this writing (9-23-2008) a known problem exists, and the Baker lab is working on it. It is typically caused by the use of directories with spaces in their names under Windows.&lt;br /&gt;
&lt;br /&gt;
== Problems with the bundled version of APBS ==&lt;br /&gt;
There is an issue with the freemol version of APBS shipped with PyMOL 1.2r2 for OS X. &lt;br /&gt;
&lt;br /&gt;
=== Leopard and Snow Leopard (10.5 and 10.6) ===&lt;br /&gt;
There are three fairly easy ways to resolve it&lt;br /&gt;
&lt;br /&gt;
1. Download and install the most recent (post Dec. 1 2009) version of APBS from [http://www.poissonboltzmann.org/apbs/downloads]. Then copy the apbs binary into the freemol directory (mv it to /Applications/PyMOLX11Hybrid.app/pymol/freemol/bin/apbs.exe, overwriting the version that comes installed with PyMOL).&lt;br /&gt;
&lt;br /&gt;
2. Download [[File:Libgfortran.3.dylib.bz2]], unzip it (&amp;quot;bunzip2 libgfortran.3.dylib.gz2&amp;quot;) and move it to /usr/local/lib (&amp;quot;mv libgfortran.3.dylib /usr/local/lib&amp;quot; ... on some machines, you may need &amp;quot;sudo mv libgfortran.3.dylib /usr/local/lib&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
bunzip2 libgfortran.3.dylib.gz2&lt;br /&gt;
mv libgfortran.3.dylib /usr/local/lib&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Use macports to install gcc 4.4.2 and link the appropriate library (&amp;quot;ln -s /opt/local/lib/gcc44/libgfortran.3.dylib /usr/local/lib/libgfortran.3.dylib&amp;quot; ... on some machines, you may need &amp;quot;sudo ln -s /opt/local/lib/gcc44/libgfortran.3.dylib /usr/local/lib/libgfortran.3.dylib&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
ln -s /opt/local/lib/gcc44/libgfortran.3.dylib /usr/local/lib/libgfortran.3.dylib&lt;br /&gt;
sudo ln -s /opt/local/lib/gcc44/libgfortran.3.dylib /usr/local/lib/libgfortran.3.dylib&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you're curious, the problem is that APBS is dynamically linked, but Apple does not provide FORTRAN libraries.&lt;br /&gt;
&lt;br /&gt;
The version of libgfortran above is covered by the GNU General Public License (GPL). A copy of the GPL may be found at [http://www.gnu.org/licenses/licenses.html], and the source may be obtained from MacPorts ([http://www.macports.org/]).&lt;br /&gt;
&lt;br /&gt;
=== Tiger (10.4) ===&lt;br /&gt;
You'll need to install APBS yourself via MacPorts or via fink. Fink instructions may be found on the [[APBS]] page. Installation via MacPorts requires first installing MacPorts from [http://www.macports.org/] and then typing&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo port install apbs&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
from the command line. This process could easily take several hours on an older machine, as MacPorts will recompile gcc, gfortran, and several other packages along the way.&lt;br /&gt;
&lt;br /&gt;
==Using APBS==&lt;br /&gt;
There is a nice tutorial on the APBS homepage: [http://www.poissonboltzmann.org/apbs/examples/visualization/apbs-electrostatics-in-pymol] For further help, there is a mailing list [https://lists.sourceforge.net/lists/listinfo/apbs-users] with the corresponding archive [http://sourceforge.net/mailarchive/forum.php?forum_name=apbs-users]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Further contributions and edits are needed.==&lt;br /&gt;
&lt;br /&gt;
[[Category:Electrostatics]]&lt;br /&gt;
[[Category:Biochemical_Properties]]&lt;br /&gt;
[[Category:Plugins]]&lt;/div&gt;</summary>
		<author><name>Rendereason</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Talk:APBS&amp;diff=20</id>
		<title>Talk:APBS</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Talk:APBS&amp;diff=20"/>
		<updated>2010-10-29T19:29:43Z</updated>

		<summary type="html">&lt;p&gt;Rendereason: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I've added some details about where and how to download and install apbs and its dependencies.  I have cross-referenced a description of how this can be done on OS X.  &lt;br /&gt;
&lt;br /&gt;
I've put a few very tentative lines in about linux.&lt;br /&gt;
&lt;br /&gt;
== Well done! ==&lt;br /&gt;
&lt;br /&gt;
Hey, thanks for this plugin.  It worked on an SMP 64-bit Linux machine with little effort.  Still crashes a bit, but the effort is worth it.&lt;br /&gt;
[[User:Inchoate|Tree]] 18:21, 21 February 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
== Question/Crash ==&lt;br /&gt;
&lt;br /&gt;
I ran APBS on 2ILK.  When I try to show the solv. acc. map, it computes something for a sec, then crashes taking PyMOL with it.  Is this common?  Any ideas on fixing it?  It's probably my lack of understanding on how APBS works.&lt;br /&gt;
[[User:Inchoate|Tree]] 07:40, 22 February 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
For me it doesn't crash, but asks me to calculate the pqr file myself. Than it calculates the map fine.&lt;br /&gt;
[[User:Desastre|Desastre]] 27 April 2008&lt;br /&gt;
&lt;br /&gt;
== Making the default paths to work? ==&lt;br /&gt;
&lt;br /&gt;
I saw a discussion in the Pymolbb dated April 15, 2010 [http://www.mail-archive.com/pymol-users@lists.sourceforge.net/msg07858.html] about the default paths for binaries, psize.py, and temp files not loading automatically or even saving the paths.&lt;br /&gt;
&lt;br /&gt;
I am wondering if anyone has solved this issue. &lt;br /&gt;
&lt;br /&gt;
After installing pymol through fink, none of the binaries show up. After installing pdb2pqr through fink, the apbs plugin (Apbs Tools 2) does load /sw/share/pdb2pqr/pdb2pqr.py automatically. However, after installing apbs-mpi-openmpi through fink, neither APBS binary nor APBS psize.py load. &lt;br /&gt;
&lt;br /&gt;
I have tried modifying apbs_tools.py (/sw/lib/pymol-py26/modules/pmg_tk/startup/apbs_tools.py) in lines 112 through 115 to:&lt;br /&gt;
APBS_BINARY_LOCATION = '/sw/bin/apbs-mpi-openmpi'&lt;br /&gt;
APBS_PSIZE_LOCATION = '/sw/share/apbs-mpi-openmpi/tools/manip/psize.py'&lt;br /&gt;
APBS_PDB2PQR_LOCATION = None&lt;br /&gt;
TEMPORARY_FILE_DIR = None&lt;br /&gt;
&lt;br /&gt;
My $APBS_PSIZE returns /sw/share/apbs-mpi-openmpi/tools/manip by default, as installed through fink. I use 64-bit fink, pymol 1.3, and Snow Leopard OSX.&lt;br /&gt;
&lt;br /&gt;
The default temporary file locations also do not work. I have also tried to make apbs plugin save these these to no avail.&lt;br /&gt;
&lt;br /&gt;
I hope a solution to this issue can be posted in the wiki.&lt;br /&gt;
&lt;br /&gt;
PS.: I have looked at the output from X11 when pymol loads, and it seems it tries to load &lt;br /&gt;
trying /sw/bin/apbs-mpi-openmpi/psize.py&lt;br /&gt;
trying '''/sw/share/apbs-mpi-openmpi/tools/manip/psize.py'''/psize.py&lt;br /&gt;
trying /sw/share/pdb2pqr/psize.py&lt;br /&gt;
&lt;br /&gt;
and &lt;br /&gt;
trying '''/sw/bin/apbs-mpi-openmpi'''/apbs.exe&lt;br /&gt;
trying /sw/share/apbs-mpi-openmpi/tools/manip/psize.py/apbs.exe&lt;br /&gt;
trying /sw/share/pdb2pqr/apbs.exe&lt;br /&gt;
trying /sw/share/apbs/tools/manip/apbs.exe&lt;br /&gt;
trying /sw/bin/apbs.exe&lt;br /&gt;
&lt;br /&gt;
Which are obviously wrong. The correct paths should be '''/sw/share/apbs-mpi-openmpi/tools/manip/psize.py''' and '''/sw/bin/apbs-mpi-openmpi'''.&lt;br /&gt;
--[[User:Rendereason|Rendereason]] 22:40, 20 July 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
'''Fixed''' in the current version of the plugin, which you can download from [http://pymolwiki.org/index.php/User:Mglerner my user page]. The issue was that the plugin just didn't know about MPI-enabled versions. --[[User:Mglerner|michael]] 23:48, 22 July 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Running with APBS 1.3 not working==&lt;br /&gt;
Well, I tried making the plugin run with APBS 1.3 and this is what I got:&lt;br /&gt;
  Running:&lt;br /&gt;
  prog=/usr/local/apbs-1.3-mac-univ/bin/apbs&lt;br /&gt;
  args=('/usr/local/apbs-1.3-mac-univ/bin/apbs', '--version')&lt;br /&gt;
  Results were:&lt;br /&gt;
  Return value: -5&lt;br /&gt;
  Output:&lt;br /&gt;
  dyld: Library not loaded: /usr/local/lib/x86_64/libgomp.1.dylib&lt;br /&gt;
    Referenced from: /usr/local/apbs-1.3-mac-univ/bin/apbs&lt;br /&gt;
    Reason: image not found&lt;br /&gt;
  Skipping /usr/local/apbs-1.3-mac-univ/bin/apbs because it appears to be broken (dyld)&lt;br /&gt;
&lt;br /&gt;
Just wondering if you get the same. --[[User:Rendereason|Rendereason]] 16:36, 29 October 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
I think I see why it's doing that. My folder structure is not right. APBS needs to update its install instructions/README. I'll try moving the folders to /sw64/bin/apbs, /sw64/share/apbs, etc.--[[User:Rendereason|Rendereason]] 16:49, 29 October 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
The installation guide says:&lt;br /&gt;
&amp;quot;The APBS binaries do not contain dependencies on special data files, etc. and can be moved out of this directory structure without causing any problems for APBS execution.&amp;quot; [http://www.poissonboltzmann.org/apbs/user-guide/installation-and-avil From APBS webpage.]&lt;br /&gt;
I have tried setting the variable ${APBS_PREFIX} to /usr/local/apbs-.13-mac-univ.&lt;br /&gt;
I've added these to my .zshrc but none of it works&lt;br /&gt;
  APBS_PREFIX=/usr/local/apbs-1.3-mac-univ/&lt;br /&gt;
  APBS_BINARY_DIR=/usr/local/apbs-1.3-mac-univ/bin/&lt;br /&gt;
  APBS_PSIZE_DIR=/usr/local/apbs-1.3-mac-univ/share/tools/manip/&lt;br /&gt;
  export APBS_PREFIX&lt;br /&gt;
  export APBS_BINARY_DIR&lt;br /&gt;
  export APBS_PSIZE_DIR&lt;br /&gt;
None of this had any effect on the unmodified apbsplugin.py. (When parameters set to ''None'')&lt;br /&gt;
Changing the parameters within apbsplugin.py to their desired folders gives the error above.&lt;br /&gt;
--[[User:Rendereason|Rendereason]] 16:57, 29 October 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>Rendereason</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Talk:APBS&amp;diff=19</id>
		<title>Talk:APBS</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Talk:APBS&amp;diff=19"/>
		<updated>2010-10-29T19:27:58Z</updated>

		<summary type="html">&lt;p&gt;Rendereason: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I've added some details about where and how to download and install apbs and its dependencies.  I have cross-referenced a description of how this can be done on OS X.  &lt;br /&gt;
&lt;br /&gt;
I've put a few very tentative lines in about linux.&lt;br /&gt;
&lt;br /&gt;
== Well done! ==&lt;br /&gt;
&lt;br /&gt;
Hey, thanks for this plugin.  It worked on an SMP 64-bit Linux machine with little effort.  Still crashes a bit, but the effort is worth it.&lt;br /&gt;
[[User:Inchoate|Tree]] 18:21, 21 February 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
== Question/Crash ==&lt;br /&gt;
&lt;br /&gt;
I ran APBS on 2ILK.  When I try to show the solv. acc. map, it computes something for a sec, then crashes taking PyMOL with it.  Is this common?  Any ideas on fixing it?  It's probably my lack of understanding on how APBS works.&lt;br /&gt;
[[User:Inchoate|Tree]] 07:40, 22 February 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
For me it doesn't crash, but asks me to calculate the pqr file myself. Than it calculates the map fine.&lt;br /&gt;
[[User:Desastre|Desastre]] 27 April 2008&lt;br /&gt;
&lt;br /&gt;
== Making the default paths to work? ==&lt;br /&gt;
&lt;br /&gt;
I saw a discussion in the Pymolbb dated April 15, 2010 [http://www.mail-archive.com/pymol-users@lists.sourceforge.net/msg07858.html] about the default paths for binaries, psize.py, and temp files not loading automatically or even saving the paths.&lt;br /&gt;
&lt;br /&gt;
I am wondering if anyone has solved this issue. &lt;br /&gt;
&lt;br /&gt;
After installing pymol through fink, none of the binaries show up. After installing pdb2pqr through fink, the apbs plugin (Apbs Tools 2) does load /sw/share/pdb2pqr/pdb2pqr.py automatically. However, after installing apbs-mpi-openmpi through fink, neither APBS binary nor APBS psize.py load. &lt;br /&gt;
&lt;br /&gt;
I have tried modifying apbs_tools.py (/sw/lib/pymol-py26/modules/pmg_tk/startup/apbs_tools.py) in lines 112 through 115 to:&lt;br /&gt;
APBS_BINARY_LOCATION = '/sw/bin/apbs-mpi-openmpi'&lt;br /&gt;
APBS_PSIZE_LOCATION = '/sw/share/apbs-mpi-openmpi/tools/manip/psize.py'&lt;br /&gt;
APBS_PDB2PQR_LOCATION = None&lt;br /&gt;
TEMPORARY_FILE_DIR = None&lt;br /&gt;
&lt;br /&gt;
My $APBS_PSIZE returns /sw/share/apbs-mpi-openmpi/tools/manip by default, as installed through fink. I use 64-bit fink, pymol 1.3, and Snow Leopard OSX.&lt;br /&gt;
&lt;br /&gt;
The default temporary file locations also do not work. I have also tried to make apbs plugin save these these to no avail.&lt;br /&gt;
&lt;br /&gt;
I hope a solution to this issue can be posted in the wiki.&lt;br /&gt;
&lt;br /&gt;
PS.: I have looked at the output from X11 when pymol loads, and it seems it tries to load &lt;br /&gt;
trying /sw/bin/apbs-mpi-openmpi/psize.py&lt;br /&gt;
trying '''/sw/share/apbs-mpi-openmpi/tools/manip/psize.py'''/psize.py&lt;br /&gt;
trying /sw/share/pdb2pqr/psize.py&lt;br /&gt;
&lt;br /&gt;
and &lt;br /&gt;
trying '''/sw/bin/apbs-mpi-openmpi'''/apbs.exe&lt;br /&gt;
trying /sw/share/apbs-mpi-openmpi/tools/manip/psize.py/apbs.exe&lt;br /&gt;
trying /sw/share/pdb2pqr/apbs.exe&lt;br /&gt;
trying /sw/share/apbs/tools/manip/apbs.exe&lt;br /&gt;
trying /sw/bin/apbs.exe&lt;br /&gt;
&lt;br /&gt;
Which are obviously wrong. The correct paths should be '''/sw/share/apbs-mpi-openmpi/tools/manip/psize.py''' and '''/sw/bin/apbs-mpi-openmpi'''.&lt;br /&gt;
--[[User:Rendereason|Rendereason]] 22:40, 20 July 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
'''Fixed''' in the current version of the plugin, which you can download from [http://pymolwiki.org/index.php/User:Mglerner my user page]. The issue was that the plugin just didn't know about MPI-enabled versions. --[[User:Mglerner|michael]] 23:48, 22 July 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Running with APBS 1.3 not working==&lt;br /&gt;
Well, I tried making the plugin run with APBS 1.3 and this is what I got:&lt;br /&gt;
  Running:&lt;br /&gt;
  prog=/usr/local/apbs-1.3-mac-univ/bin/apbs&lt;br /&gt;
  args=('/usr/local/apbs-1.3-mac-univ/bin/apbs', '--version')&lt;br /&gt;
  Results were:&lt;br /&gt;
  Return value: -5&lt;br /&gt;
  Output:&lt;br /&gt;
  dyld: Library not loaded: /usr/local/lib/x86_64/libgomp.1.dylib&lt;br /&gt;
    Referenced from: /usr/local/apbs-1.3-mac-univ/bin/apbs&lt;br /&gt;
    Reason: image not found&lt;br /&gt;
  Skipping /usr/local/apbs-1.3-mac-univ/bin/apbs because it appears to be broken (dyld)&lt;br /&gt;
&lt;br /&gt;
Just wondering if you get the same. --[[User:Rendereason|Rendereason]] 16:36, 29 October 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
I think I see why it's doing that. My folder structure is not right. APBS needs to update its install instructions/README. I'll try moving the folders to /sw64/bin/apbs, /sw64/share/apbs, etc.--[[User:Rendereason|Rendereason]] 16:49, 29 October 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
I found out:&lt;br /&gt;
&amp;quot;The APBS binaries do not contain dependencies on special data files, etc. and can be moved out of this directory structure without causing any problems for APBS execution.&amp;quot; [http://www.poissonboltzmann.org/apbs/user-guide/installation-and-avil From APBS webpage.]&lt;br /&gt;
I have tried setting the variable ${APBS_PREFIX} to /usr/local/apbs-.13-mac-univ.&lt;br /&gt;
I've added these to my .zshrc but none of it works&lt;br /&gt;
  APBS_PREFIX=/usr/local/apbs-1.3-mac-univ/&lt;br /&gt;
  APBS_BINARY_DIR=/usr/local/apbs-1.3-mac-univ/bin/&lt;br /&gt;
  APBS_PSIZE_DIR=/usr/local/apbs-1.3-mac-univ/share/tools/manip/&lt;br /&gt;
  export APBS_PREFIX&lt;br /&gt;
  export APBS_BINARY_DIR&lt;br /&gt;
  export APBS_PSIZE_DIR&lt;br /&gt;
None of this works.&lt;br /&gt;
--[[User:Rendereason|Rendereason]] 16:57, 29 October 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>Rendereason</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Talk:APBS&amp;diff=18</id>
		<title>Talk:APBS</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Talk:APBS&amp;diff=18"/>
		<updated>2010-10-29T16:58:27Z</updated>

		<summary type="html">&lt;p&gt;Rendereason: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I've added some details about where and how to download and install apbs and its dependencies.  I have cross-referenced a description of how this can be done on OS X.  &lt;br /&gt;
&lt;br /&gt;
I've put a few very tentative lines in about linux.&lt;br /&gt;
&lt;br /&gt;
== Well done! ==&lt;br /&gt;
&lt;br /&gt;
Hey, thanks for this plugin.  It worked on an SMP 64-bit Linux machine with little effort.  Still crashes a bit, but the effort is worth it.&lt;br /&gt;
[[User:Inchoate|Tree]] 18:21, 21 February 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
== Question/Crash ==&lt;br /&gt;
&lt;br /&gt;
I ran APBS on 2ILK.  When I try to show the solv. acc. map, it computes something for a sec, then crashes taking PyMOL with it.  Is this common?  Any ideas on fixing it?  It's probably my lack of understanding on how APBS works.&lt;br /&gt;
[[User:Inchoate|Tree]] 07:40, 22 February 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
For me it doesn't crash, but asks me to calculate the pqr file myself. Than it calculates the map fine.&lt;br /&gt;
[[User:Desastre|Desastre]] 27 April 2008&lt;br /&gt;
&lt;br /&gt;
== Making the default paths to work? ==&lt;br /&gt;
&lt;br /&gt;
I saw a discussion in the Pymolbb dated April 15, 2010 [http://www.mail-archive.com/pymol-users@lists.sourceforge.net/msg07858.html] about the default paths for binaries, psize.py, and temp files not loading automatically or even saving the paths.&lt;br /&gt;
&lt;br /&gt;
I am wondering if anyone has solved this issue. &lt;br /&gt;
&lt;br /&gt;
After installing pymol through fink, none of the binaries show up. After installing pdb2pqr through fink, the apbs plugin (Apbs Tools 2) does load /sw/share/pdb2pqr/pdb2pqr.py automatically. However, after installing apbs-mpi-openmpi through fink, neither APBS binary nor APBS psize.py load. &lt;br /&gt;
&lt;br /&gt;
I have tried modifying apbs_tools.py (/sw/lib/pymol-py26/modules/pmg_tk/startup/apbs_tools.py) in lines 112 through 115 to:&lt;br /&gt;
APBS_BINARY_LOCATION = '/sw/bin/apbs-mpi-openmpi'&lt;br /&gt;
APBS_PSIZE_LOCATION = '/sw/share/apbs-mpi-openmpi/tools/manip/psize.py'&lt;br /&gt;
APBS_PDB2PQR_LOCATION = None&lt;br /&gt;
TEMPORARY_FILE_DIR = None&lt;br /&gt;
&lt;br /&gt;
My $APBS_PSIZE returns /sw/share/apbs-mpi-openmpi/tools/manip by default, as installed through fink. I use 64-bit fink, pymol 1.3, and Snow Leopard OSX.&lt;br /&gt;
&lt;br /&gt;
The default temporary file locations also do not work. I have also tried to make apbs plugin save these these to no avail.&lt;br /&gt;
&lt;br /&gt;
I hope a solution to this issue can be posted in the wiki.&lt;br /&gt;
&lt;br /&gt;
PS.: I have looked at the output from X11 when pymol loads, and it seems it tries to load &lt;br /&gt;
trying /sw/bin/apbs-mpi-openmpi/psize.py&lt;br /&gt;
trying '''/sw/share/apbs-mpi-openmpi/tools/manip/psize.py'''/psize.py&lt;br /&gt;
trying /sw/share/pdb2pqr/psize.py&lt;br /&gt;
&lt;br /&gt;
and &lt;br /&gt;
trying '''/sw/bin/apbs-mpi-openmpi'''/apbs.exe&lt;br /&gt;
trying /sw/share/apbs-mpi-openmpi/tools/manip/psize.py/apbs.exe&lt;br /&gt;
trying /sw/share/pdb2pqr/apbs.exe&lt;br /&gt;
trying /sw/share/apbs/tools/manip/apbs.exe&lt;br /&gt;
trying /sw/bin/apbs.exe&lt;br /&gt;
&lt;br /&gt;
Which are obviously wrong. The correct paths should be '''/sw/share/apbs-mpi-openmpi/tools/manip/psize.py''' and '''/sw/bin/apbs-mpi-openmpi'''.&lt;br /&gt;
--[[User:Rendereason|Rendereason]] 22:40, 20 July 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
'''Fixed''' in the current version of the plugin, which you can download from [http://pymolwiki.org/index.php/User:Mglerner my user page]. The issue was that the plugin just didn't know about MPI-enabled versions. --[[User:Mglerner|michael]] 23:48, 22 July 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Running with APBS 1.3==&lt;br /&gt;
Well, I tried making the plugin run with APBS 1.3 and this is what I got:&lt;br /&gt;
  Running:&lt;br /&gt;
  prog=/usr/local/apbs-1.3-mac-univ/bin/apbs&lt;br /&gt;
  args=('/usr/local/apbs-1.3-mac-univ/bin/apbs', '--version')&lt;br /&gt;
  Results were:&lt;br /&gt;
  Return value: -5&lt;br /&gt;
  Output:&lt;br /&gt;
  dyld: Library not loaded: /usr/local/lib/x86_64/libgomp.1.dylib&lt;br /&gt;
    Referenced from: /usr/local/apbs-1.3-mac-univ/bin/apbs&lt;br /&gt;
    Reason: image not found&lt;br /&gt;
  Skipping /usr/local/apbs-1.3-mac-univ/bin/apbs because it appears to be broken (dyld)&lt;br /&gt;
&lt;br /&gt;
Just wondering if you get the same. --[[User:Rendereason|Rendereason]] 16:36, 29 October 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
I think I see why it's doing that. My folder structure is not right. APBS needs to update its install instructions/README. I'll try moving the folders to /sw64/bin/apbs, /sw64/share/apbs, etc.--[[User:Rendereason|Rendereason]] 16:49, 29 October 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
I found out:&lt;br /&gt;
&amp;quot;The APBS binaries do not contain dependencies on special data files, etc. and can be moved out of this directory structure without causing any problems for APBS execution.&amp;quot; [http://www.poissonboltzmann.org/apbs/user-guide/installation-and-avil From APBS webpage.]&lt;br /&gt;
So maybe ${APBS_PREFIX} is what needs to be fixed. I'll try that.--[[User:Rendereason|Rendereason]] 16:57, 29 October 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>Rendereason</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Talk:APBS&amp;diff=17</id>
		<title>Talk:APBS</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Talk:APBS&amp;diff=17"/>
		<updated>2010-10-29T16:57:19Z</updated>

		<summary type="html">&lt;p&gt;Rendereason: /* Running with APBS 1.3 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I've added some details about where and how to download and install apbs and its dependencies.  I have cross-referenced a description of how this can be done on OS X.  &lt;br /&gt;
&lt;br /&gt;
I've put a few very tentative lines in about linux.&lt;br /&gt;
&lt;br /&gt;
== Well done! ==&lt;br /&gt;
&lt;br /&gt;
Hey, thanks for this plugin.  It worked on an SMP 64-bit Linux machine with little effort.  Still crashes a bit, but the effort is worth it.&lt;br /&gt;
[[User:Inchoate|Tree]] 18:21, 21 February 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
== Question/Crash ==&lt;br /&gt;
&lt;br /&gt;
I ran APBS on 2ILK.  When I try to show the solv. acc. map, it computes something for a sec, then crashes taking PyMOL with it.  Is this common?  Any ideas on fixing it?  It's probably my lack of understanding on how APBS works.&lt;br /&gt;
[[User:Inchoate|Tree]] 07:40, 22 February 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
For me it doesn't crash, but asks me to calculate the pqr file myself. Than it calculates the map fine.&lt;br /&gt;
[[User:Desastre|Desastre]] 27 April 2008&lt;br /&gt;
&lt;br /&gt;
== Making the default paths to work? ==&lt;br /&gt;
&lt;br /&gt;
I saw a discussion in the Pymolbb dated April 15, 2010 [http://www.mail-archive.com/pymol-users@lists.sourceforge.net/msg07858.html] about the default paths for binaries, psize.py, and temp files not loading automatically or even saving the paths.&lt;br /&gt;
&lt;br /&gt;
I am wondering if anyone has solved this issue. &lt;br /&gt;
&lt;br /&gt;
After installing pymol through fink, none of the binaries show up. After installing pdb2pqr through fink, the apbs plugin (Apbs Tools 2) does load /sw/share/pdb2pqr/pdb2pqr.py automatically. However, after installing apbs-mpi-openmpi through fink, neither APBS binary nor APBS psize.py load. &lt;br /&gt;
&lt;br /&gt;
I have tried modifying apbs_tools.py (/sw/lib/pymol-py26/modules/pmg_tk/startup/apbs_tools.py) in lines 112 through 115 to:&lt;br /&gt;
APBS_BINARY_LOCATION = '/sw/bin/apbs-mpi-openmpi'&lt;br /&gt;
APBS_PSIZE_LOCATION = '/sw/share/apbs-mpi-openmpi/tools/manip/psize.py'&lt;br /&gt;
APBS_PDB2PQR_LOCATION = None&lt;br /&gt;
TEMPORARY_FILE_DIR = None&lt;br /&gt;
&lt;br /&gt;
My $APBS_PSIZE returns /sw/share/apbs-mpi-openmpi/tools/manip by default, as installed through fink. I use 64-bit fink, pymol 1.3, and Snow Leopard OSX.&lt;br /&gt;
&lt;br /&gt;
The default temporary file locations also do not work. I have also tried to make apbs plugin save these these to no avail.&lt;br /&gt;
&lt;br /&gt;
I hope a solution to this issue can be posted in the wiki.&lt;br /&gt;
&lt;br /&gt;
PS.: I have looked at the output from X11 when pymol loads, and it seems it tries to load &lt;br /&gt;
trying /sw/bin/apbs-mpi-openmpi/psize.py&lt;br /&gt;
trying '''/sw/share/apbs-mpi-openmpi/tools/manip/psize.py'''/psize.py&lt;br /&gt;
trying /sw/share/pdb2pqr/psize.py&lt;br /&gt;
&lt;br /&gt;
and &lt;br /&gt;
trying '''/sw/bin/apbs-mpi-openmpi'''/apbs.exe&lt;br /&gt;
trying /sw/share/apbs-mpi-openmpi/tools/manip/psize.py/apbs.exe&lt;br /&gt;
trying /sw/share/pdb2pqr/apbs.exe&lt;br /&gt;
trying /sw/share/apbs/tools/manip/apbs.exe&lt;br /&gt;
trying /sw/bin/apbs.exe&lt;br /&gt;
&lt;br /&gt;
Which are obviously wrong. The correct paths should be '''/sw/share/apbs-mpi-openmpi/tools/manip/psize.py''' and '''/sw/bin/apbs-mpi-openmpi'''.&lt;br /&gt;
--[[User:Rendereason|Rendereason]] 22:40, 20 July 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
'''Fixed''' in the current version of the plugin, which you can download from [http://pymolwiki.org/index.php/User:Mglerner my user page]. The issue was that the plugin just didn't know about MPI-enabled versions. --[[User:Mglerner|michael]] 23:48, 22 July 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Running with APBS 1.3==&lt;br /&gt;
Well, I tried making the plugin run with APBS 1.3 and this is what I got:&lt;br /&gt;
  Running:&lt;br /&gt;
  prog=/usr/local/apbs-1.3-mac-univ/bin/apbs&lt;br /&gt;
  args=('/usr/local/apbs-1.3-mac-univ/bin/apbs', '--version')&lt;br /&gt;
  Results were:&lt;br /&gt;
  Return value: -5&lt;br /&gt;
  Output:&lt;br /&gt;
  dyld: Library not loaded: /usr/local/lib/x86_64/libgomp.1.dylib&lt;br /&gt;
    Referenced from: /usr/local/apbs-1.3-mac-univ/bin/apbs&lt;br /&gt;
    Reason: image not found&lt;br /&gt;
  Skipping /usr/local/apbs-1.3-mac-univ/bin/apbs because it appears to be broken (dyld)&lt;br /&gt;
&lt;br /&gt;
Just wondering if you get the same. --[[User:Rendereason|Rendereason]] 16:36, 29 October 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
I think I see why it's doing that. My folder structure is not right. APBS needs to update its install instructions/README. I'll try moving the folders to /sw64/bin/apbs, /sw64/share/apbs, etc.--[[User:Rendereason|Rendereason]] 16:49, 29 October 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
I found out:&lt;br /&gt;
&amp;quot;The APBS binaries do not contain dependencies on special data files, etc. and can be moved out of this directory structure without causing any problems for APBS execution.&amp;quot; &lt;br /&gt;
So maybe ${APBS_PREFIX} is what needs to be fixed. I'll try that.--[[User:Rendereason|Rendereason]] 16:57, 29 October 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>Rendereason</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Talk:APBS&amp;diff=16</id>
		<title>Talk:APBS</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Talk:APBS&amp;diff=16"/>
		<updated>2010-10-29T16:50:37Z</updated>

		<summary type="html">&lt;p&gt;Rendereason: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I've added some details about where and how to download and install apbs and its dependencies.  I have cross-referenced a description of how this can be done on OS X.  &lt;br /&gt;
&lt;br /&gt;
I've put a few very tentative lines in about linux.&lt;br /&gt;
&lt;br /&gt;
== Well done! ==&lt;br /&gt;
&lt;br /&gt;
Hey, thanks for this plugin.  It worked on an SMP 64-bit Linux machine with little effort.  Still crashes a bit, but the effort is worth it.&lt;br /&gt;
[[User:Inchoate|Tree]] 18:21, 21 February 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
== Question/Crash ==&lt;br /&gt;
&lt;br /&gt;
I ran APBS on 2ILK.  When I try to show the solv. acc. map, it computes something for a sec, then crashes taking PyMOL with it.  Is this common?  Any ideas on fixing it?  It's probably my lack of understanding on how APBS works.&lt;br /&gt;
[[User:Inchoate|Tree]] 07:40, 22 February 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
For me it doesn't crash, but asks me to calculate the pqr file myself. Than it calculates the map fine.&lt;br /&gt;
[[User:Desastre|Desastre]] 27 April 2008&lt;br /&gt;
&lt;br /&gt;
== Making the default paths to work? ==&lt;br /&gt;
&lt;br /&gt;
I saw a discussion in the Pymolbb dated April 15, 2010 [http://www.mail-archive.com/pymol-users@lists.sourceforge.net/msg07858.html] about the default paths for binaries, psize.py, and temp files not loading automatically or even saving the paths.&lt;br /&gt;
&lt;br /&gt;
I am wondering if anyone has solved this issue. &lt;br /&gt;
&lt;br /&gt;
After installing pymol through fink, none of the binaries show up. After installing pdb2pqr through fink, the apbs plugin (Apbs Tools 2) does load /sw/share/pdb2pqr/pdb2pqr.py automatically. However, after installing apbs-mpi-openmpi through fink, neither APBS binary nor APBS psize.py load. &lt;br /&gt;
&lt;br /&gt;
I have tried modifying apbs_tools.py (/sw/lib/pymol-py26/modules/pmg_tk/startup/apbs_tools.py) in lines 112 through 115 to:&lt;br /&gt;
APBS_BINARY_LOCATION = '/sw/bin/apbs-mpi-openmpi'&lt;br /&gt;
APBS_PSIZE_LOCATION = '/sw/share/apbs-mpi-openmpi/tools/manip/psize.py'&lt;br /&gt;
APBS_PDB2PQR_LOCATION = None&lt;br /&gt;
TEMPORARY_FILE_DIR = None&lt;br /&gt;
&lt;br /&gt;
My $APBS_PSIZE returns /sw/share/apbs-mpi-openmpi/tools/manip by default, as installed through fink. I use 64-bit fink, pymol 1.3, and Snow Leopard OSX.&lt;br /&gt;
&lt;br /&gt;
The default temporary file locations also do not work. I have also tried to make apbs plugin save these these to no avail.&lt;br /&gt;
&lt;br /&gt;
I hope a solution to this issue can be posted in the wiki.&lt;br /&gt;
&lt;br /&gt;
PS.: I have looked at the output from X11 when pymol loads, and it seems it tries to load &lt;br /&gt;
trying /sw/bin/apbs-mpi-openmpi/psize.py&lt;br /&gt;
trying '''/sw/share/apbs-mpi-openmpi/tools/manip/psize.py'''/psize.py&lt;br /&gt;
trying /sw/share/pdb2pqr/psize.py&lt;br /&gt;
&lt;br /&gt;
and &lt;br /&gt;
trying '''/sw/bin/apbs-mpi-openmpi'''/apbs.exe&lt;br /&gt;
trying /sw/share/apbs-mpi-openmpi/tools/manip/psize.py/apbs.exe&lt;br /&gt;
trying /sw/share/pdb2pqr/apbs.exe&lt;br /&gt;
trying /sw/share/apbs/tools/manip/apbs.exe&lt;br /&gt;
trying /sw/bin/apbs.exe&lt;br /&gt;
&lt;br /&gt;
Which are obviously wrong. The correct paths should be '''/sw/share/apbs-mpi-openmpi/tools/manip/psize.py''' and '''/sw/bin/apbs-mpi-openmpi'''.&lt;br /&gt;
--[[User:Rendereason|Rendereason]] 22:40, 20 July 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
'''Fixed''' in the current version of the plugin, which you can download from [http://pymolwiki.org/index.php/User:Mglerner my user page]. The issue was that the plugin just didn't know about MPI-enabled versions. --[[User:Mglerner|michael]] 23:48, 22 July 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Running with APBS 1.3==&lt;br /&gt;
Well, I tried making the plugin run with APBS 1.3 and this is what I got:&lt;br /&gt;
  Running:&lt;br /&gt;
  prog=/usr/local/apbs-1.3-mac-univ/bin/apbs&lt;br /&gt;
  args=('/usr/local/apbs-1.3-mac-univ/bin/apbs', '--version')&lt;br /&gt;
  Results were:&lt;br /&gt;
  Return value: -5&lt;br /&gt;
  Output:&lt;br /&gt;
  dyld: Library not loaded: /usr/local/lib/x86_64/libgomp.1.dylib&lt;br /&gt;
    Referenced from: /usr/local/apbs-1.3-mac-univ/bin/apbs&lt;br /&gt;
    Reason: image not found&lt;br /&gt;
  Skipping /usr/local/apbs-1.3-mac-univ/bin/apbs because it appears to be broken (dyld)&lt;br /&gt;
&lt;br /&gt;
Just wondering if you get the same. --[[User:Rendereason|Rendereason]] 16:36, 29 October 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
I think I see why it's doing that. My folder structure is not right. APBS needs to update its install instructions/README. I'll try moving the folders to /sw64/bin/apbs, /sw64/share/apbs, etc.--[[User:Rendereason|Rendereason]] 16:49, 29 October 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>Rendereason</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Talk:APBS&amp;diff=15</id>
		<title>Talk:APBS</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Talk:APBS&amp;diff=15"/>
		<updated>2010-10-29T16:49:34Z</updated>

		<summary type="html">&lt;p&gt;Rendereason: /* Running with APBS 1.3 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I've added some details about where and how to download and install apbs and its dependencies.  I have cross-referenced a description of how this can be done on OS X.  &lt;br /&gt;
&lt;br /&gt;
I've put a few very tentative lines in about linux.&lt;br /&gt;
&lt;br /&gt;
== Well done! ==&lt;br /&gt;
&lt;br /&gt;
Hey, thanks for this plugin.  It worked on an SMP 64-bit Linux machine with little effort.  Still crashes a bit, but the effort is worth it.&lt;br /&gt;
[[User:Inchoate|Tree]] 18:21, 21 February 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
== Question/Crash ==&lt;br /&gt;
&lt;br /&gt;
I ran APBS on 2ILK.  When I try to show the solv. acc. map, it computes something for a sec, then crashes taking PyMOL with it.  Is this common?  Any ideas on fixing it?  It's probably my lack of understanding on how APBS works.&lt;br /&gt;
[[User:Inchoate|Tree]] 07:40, 22 February 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
For me it doesn't crash, but asks me to calculate the pqr file myself. Than it calculates the map fine.&lt;br /&gt;
[[User:Desastre|Desastre]] 27 April 2008&lt;br /&gt;
&lt;br /&gt;
== Making the default paths to work? ==&lt;br /&gt;
&lt;br /&gt;
I saw a discussion in the Pymolbb dated April 15, 2010 [http://www.mail-archive.com/pymol-users@lists.sourceforge.net/msg07858.html] about the default paths for binaries, psize.py, and temp files not loading automatically or even saving the paths.&lt;br /&gt;
&lt;br /&gt;
I am wondering if anyone has solved this issue. &lt;br /&gt;
&lt;br /&gt;
After installing pymol through fink, none of the binaries show up. After installing pdb2pqr through fink, the apbs plugin (Apbs Tools 2) does load /sw/share/pdb2pqr/pdb2pqr.py automatically. However, after installing apbs-mpi-openmpi through fink, neither APBS binary nor APBS psize.py load. &lt;br /&gt;
&lt;br /&gt;
I have tried modifying apbs_tools.py (/sw/lib/pymol-py26/modules/pmg_tk/startup/apbs_tools.py) in lines 112 through 115 to:&lt;br /&gt;
APBS_BINARY_LOCATION = '/sw/bin/apbs-mpi-openmpi'&lt;br /&gt;
APBS_PSIZE_LOCATION = '/sw/share/apbs-mpi-openmpi/tools/manip/psize.py'&lt;br /&gt;
APBS_PDB2PQR_LOCATION = None&lt;br /&gt;
TEMPORARY_FILE_DIR = None&lt;br /&gt;
&lt;br /&gt;
My $APBS_PSIZE returns /sw/share/apbs-mpi-openmpi/tools/manip by default, as installed through fink. I use 64-bit fink, pymol 1.3, and Snow Leopard OSX.&lt;br /&gt;
&lt;br /&gt;
The default temporary file locations also do not work. I have also tried to make apbs plugin save these these to no avail.&lt;br /&gt;
&lt;br /&gt;
I hope a solution to this issue can be posted in the wiki.&lt;br /&gt;
&lt;br /&gt;
PS.: I have looked at the output from X11 when pymol loads, and it seems it tries to load &lt;br /&gt;
trying /sw/bin/apbs-mpi-openmpi/psize.py&lt;br /&gt;
trying '''/sw/share/apbs-mpi-openmpi/tools/manip/psize.py'''/psize.py&lt;br /&gt;
trying /sw/share/pdb2pqr/psize.py&lt;br /&gt;
&lt;br /&gt;
and &lt;br /&gt;
trying '''/sw/bin/apbs-mpi-openmpi'''/apbs.exe&lt;br /&gt;
trying /sw/share/apbs-mpi-openmpi/tools/manip/psize.py/apbs.exe&lt;br /&gt;
trying /sw/share/pdb2pqr/apbs.exe&lt;br /&gt;
trying /sw/share/apbs/tools/manip/apbs.exe&lt;br /&gt;
trying /sw/bin/apbs.exe&lt;br /&gt;
&lt;br /&gt;
Which are obviously wrong. The correct paths should be '''/sw/share/apbs-mpi-openmpi/tools/manip/psize.py''' and '''/sw/bin/apbs-mpi-openmpi'''.&lt;br /&gt;
--[[User:Rendereason|Rendereason]] 22:40, 20 July 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
'''Fixed''' in the current version of the plugin, which you can download from [http://pymolwiki.org/index.php/User:Mglerner my user page]. The issue was that the plugin just didn't know about MPI-enabled versions. --[[User:Mglerner|michael]] 23:48, 22 July 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Running with APBS 1.3==&lt;br /&gt;
Well, I tried making the plugin run with APBS 1.3 and this is what I got:&lt;br /&gt;
  Running:&lt;br /&gt;
  prog=/usr/local/apbs-1.3-mac-univ/bin/apbs&lt;br /&gt;
  args=('/usr/local/apbs-1.3-mac-univ/bin/apbs', '--version')&lt;br /&gt;
  Results were:&lt;br /&gt;
  Return value: -5&lt;br /&gt;
  Output:&lt;br /&gt;
  dyld: Library not loaded: /usr/local/lib/x86_64/libgomp.1.dylib&lt;br /&gt;
    Referenced from: /usr/local/apbs-1.3-mac-univ/bin/apbs&lt;br /&gt;
    Reason: image not found&lt;br /&gt;
  Skipping /usr/local/apbs-1.3-mac-univ/bin/apbs because it appears to be broken (dyld)&lt;br /&gt;
&lt;br /&gt;
Just wondering if you get the same. --[[User:Rendereason|Rendereason]] 16:36, 29 October 2010 (UTC)&lt;br /&gt;
I think I see why it's doing that. I'll try moving the folders to /sw64/bin/apbs, /sw64/share/apbs, etc.--[[User:Rendereason|Rendereason]] 16:49, 29 October 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>Rendereason</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Talk:APBS&amp;diff=14</id>
		<title>Talk:APBS</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Talk:APBS&amp;diff=14"/>
		<updated>2010-10-29T16:38:58Z</updated>

		<summary type="html">&lt;p&gt;Rendereason: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I've added some details about where and how to download and install apbs and its dependencies.  I have cross-referenced a description of how this can be done on OS X.  &lt;br /&gt;
&lt;br /&gt;
I've put a few very tentative lines in about linux.&lt;br /&gt;
&lt;br /&gt;
== Well done! ==&lt;br /&gt;
&lt;br /&gt;
Hey, thanks for this plugin.  It worked on an SMP 64-bit Linux machine with little effort.  Still crashes a bit, but the effort is worth it.&lt;br /&gt;
[[User:Inchoate|Tree]] 18:21, 21 February 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
== Question/Crash ==&lt;br /&gt;
&lt;br /&gt;
I ran APBS on 2ILK.  When I try to show the solv. acc. map, it computes something for a sec, then crashes taking PyMOL with it.  Is this common?  Any ideas on fixing it?  It's probably my lack of understanding on how APBS works.&lt;br /&gt;
[[User:Inchoate|Tree]] 07:40, 22 February 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
For me it doesn't crash, but asks me to calculate the pqr file myself. Than it calculates the map fine.&lt;br /&gt;
[[User:Desastre|Desastre]] 27 April 2008&lt;br /&gt;
&lt;br /&gt;
== Making the default paths to work? ==&lt;br /&gt;
&lt;br /&gt;
I saw a discussion in the Pymolbb dated April 15, 2010 [http://www.mail-archive.com/pymol-users@lists.sourceforge.net/msg07858.html] about the default paths for binaries, psize.py, and temp files not loading automatically or even saving the paths.&lt;br /&gt;
&lt;br /&gt;
I am wondering if anyone has solved this issue. &lt;br /&gt;
&lt;br /&gt;
After installing pymol through fink, none of the binaries show up. After installing pdb2pqr through fink, the apbs plugin (Apbs Tools 2) does load /sw/share/pdb2pqr/pdb2pqr.py automatically. However, after installing apbs-mpi-openmpi through fink, neither APBS binary nor APBS psize.py load. &lt;br /&gt;
&lt;br /&gt;
I have tried modifying apbs_tools.py (/sw/lib/pymol-py26/modules/pmg_tk/startup/apbs_tools.py) in lines 112 through 115 to:&lt;br /&gt;
APBS_BINARY_LOCATION = '/sw/bin/apbs-mpi-openmpi'&lt;br /&gt;
APBS_PSIZE_LOCATION = '/sw/share/apbs-mpi-openmpi/tools/manip/psize.py'&lt;br /&gt;
APBS_PDB2PQR_LOCATION = None&lt;br /&gt;
TEMPORARY_FILE_DIR = None&lt;br /&gt;
&lt;br /&gt;
My $APBS_PSIZE returns /sw/share/apbs-mpi-openmpi/tools/manip by default, as installed through fink. I use 64-bit fink, pymol 1.3, and Snow Leopard OSX.&lt;br /&gt;
&lt;br /&gt;
The default temporary file locations also do not work. I have also tried to make apbs plugin save these these to no avail.&lt;br /&gt;
&lt;br /&gt;
I hope a solution to this issue can be posted in the wiki.&lt;br /&gt;
&lt;br /&gt;
PS.: I have looked at the output from X11 when pymol loads, and it seems it tries to load &lt;br /&gt;
trying /sw/bin/apbs-mpi-openmpi/psize.py&lt;br /&gt;
trying '''/sw/share/apbs-mpi-openmpi/tools/manip/psize.py'''/psize.py&lt;br /&gt;
trying /sw/share/pdb2pqr/psize.py&lt;br /&gt;
&lt;br /&gt;
and &lt;br /&gt;
trying '''/sw/bin/apbs-mpi-openmpi'''/apbs.exe&lt;br /&gt;
trying /sw/share/apbs-mpi-openmpi/tools/manip/psize.py/apbs.exe&lt;br /&gt;
trying /sw/share/pdb2pqr/apbs.exe&lt;br /&gt;
trying /sw/share/apbs/tools/manip/apbs.exe&lt;br /&gt;
trying /sw/bin/apbs.exe&lt;br /&gt;
&lt;br /&gt;
Which are obviously wrong. The correct paths should be '''/sw/share/apbs-mpi-openmpi/tools/manip/psize.py''' and '''/sw/bin/apbs-mpi-openmpi'''.&lt;br /&gt;
--[[User:Rendereason|Rendereason]] 22:40, 20 July 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
'''Fixed''' in the current version of the plugin, which you can download from [http://pymolwiki.org/index.php/User:Mglerner my user page]. The issue was that the plugin just didn't know about MPI-enabled versions. --[[User:Mglerner|michael]] 23:48, 22 July 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Running with APBS 1.3==&lt;br /&gt;
Well, I tried making the plugin run with APBS 1.3 and this is what I got:&lt;br /&gt;
  Running:&lt;br /&gt;
  prog=/usr/local/apbs-1.3-mac-univ/bin/apbs&lt;br /&gt;
  args=('/usr/local/apbs-1.3-mac-univ/bin/apbs', '--version')&lt;br /&gt;
  Results were:&lt;br /&gt;
  Return value: -5&lt;br /&gt;
  Output:&lt;br /&gt;
  dyld: Library not loaded: /usr/local/lib/x86_64/libgomp.1.dylib&lt;br /&gt;
    Referenced from: /usr/local/apbs-1.3-mac-univ/bin/apbs&lt;br /&gt;
    Reason: image not found&lt;br /&gt;
  Skipping /usr/local/apbs-1.3-mac-univ/bin/apbs because it appears to be broken (dyld)&lt;br /&gt;
&lt;br /&gt;
Just wondering if you get the same. --[[User:Rendereason|Rendereason]] 16:36, 29 October 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>Rendereason</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Talk:APBS&amp;diff=13</id>
		<title>Talk:APBS</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Talk:APBS&amp;diff=13"/>
		<updated>2010-10-29T16:36:30Z</updated>

		<summary type="html">&lt;p&gt;Rendereason: /* Making the default paths to work? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I've added some details about where and how to download and install apbs and its dependencies.  I have cross-referenced a description of how this can be done on OS X.  &lt;br /&gt;
&lt;br /&gt;
I've put a few very tentative lines in about linux.&lt;br /&gt;
&lt;br /&gt;
== Well done! ==&lt;br /&gt;
&lt;br /&gt;
Hey, thanks for this plugin.  It worked on an SMP 64-bit Linux machine with little effort.  Still crashes a bit, but the effort is worth it.&lt;br /&gt;
[[User:Inchoate|Tree]] 18:21, 21 February 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
== Question/Crash ==&lt;br /&gt;
&lt;br /&gt;
I ran APBS on 2ILK.  When I try to show the solv. acc. map, it computes something for a sec, then crashes taking PyMOL with it.  Is this common?  Any ideas on fixing it?  It's probably my lack of understanding on how APBS works.&lt;br /&gt;
[[User:Inchoate|Tree]] 07:40, 22 February 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
For me it doesn't crash, but asks me to calculate the pqr file myself. Than it calculates the map fine.&lt;br /&gt;
[[User:Desastre|Desastre]] 27 April 2008&lt;br /&gt;
&lt;br /&gt;
== Making the default paths to work? ==&lt;br /&gt;
&lt;br /&gt;
I saw a discussion in the Pymolbb dated April 15, 2010 [http://www.mail-archive.com/pymol-users@lists.sourceforge.net/msg07858.html] about the default paths for binaries, psize.py, and temp files not loading automatically or even saving the paths.&lt;br /&gt;
&lt;br /&gt;
I am wondering if anyone has solved this issue. &lt;br /&gt;
&lt;br /&gt;
After installing pymol through fink, none of the binaries show up. After installing pdb2pqr through fink, the apbs plugin (Apbs Tools 2) does load /sw/share/pdb2pqr/pdb2pqr.py automatically. However, after installing apbs-mpi-openmpi through fink, neither APBS binary nor APBS psize.py load. &lt;br /&gt;
&lt;br /&gt;
I have tried modifying apbs_tools.py (/sw/lib/pymol-py26/modules/pmg_tk/startup/apbs_tools.py) in lines 112 through 115 to:&lt;br /&gt;
APBS_BINARY_LOCATION = '/sw/bin/apbs-mpi-openmpi'&lt;br /&gt;
APBS_PSIZE_LOCATION = '/sw/share/apbs-mpi-openmpi/tools/manip/psize.py'&lt;br /&gt;
APBS_PDB2PQR_LOCATION = None&lt;br /&gt;
TEMPORARY_FILE_DIR = None&lt;br /&gt;
&lt;br /&gt;
My $APBS_PSIZE returns /sw/share/apbs-mpi-openmpi/tools/manip by default, as installed through fink. I use 64-bit fink, pymol 1.3, and Snow Leopard OSX.&lt;br /&gt;
&lt;br /&gt;
The default temporary file locations also do not work. I have also tried to make apbs plugin save these these to no avail.&lt;br /&gt;
&lt;br /&gt;
I hope a solution to this issue can be posted in the wiki.&lt;br /&gt;
&lt;br /&gt;
PS.: I have looked at the output from X11 when pymol loads, and it seems it tries to load &lt;br /&gt;
trying /sw/bin/apbs-mpi-openmpi/psize.py&lt;br /&gt;
trying '''/sw/share/apbs-mpi-openmpi/tools/manip/psize.py'''/psize.py&lt;br /&gt;
trying /sw/share/pdb2pqr/psize.py&lt;br /&gt;
&lt;br /&gt;
and &lt;br /&gt;
trying '''/sw/bin/apbs-mpi-openmpi'''/apbs.exe&lt;br /&gt;
trying /sw/share/apbs-mpi-openmpi/tools/manip/psize.py/apbs.exe&lt;br /&gt;
trying /sw/share/pdb2pqr/apbs.exe&lt;br /&gt;
trying /sw/share/apbs/tools/manip/apbs.exe&lt;br /&gt;
trying /sw/bin/apbs.exe&lt;br /&gt;
&lt;br /&gt;
Which are obviously wrong. The correct paths should be '''/sw/share/apbs-mpi-openmpi/tools/manip/psize.py''' and '''/sw/bin/apbs-mpi-openmpi'''.&lt;br /&gt;
--[[User:Rendereason|Rendereason]] 22:40, 20 July 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
'''Fixed''' in the current version of the plugin, which you can download from [http://pymolwiki.org/index.php/User:Mglerner my user page]. The issue was that the plugin just didn't know about MPI-enabled versions. --[[User:Mglerner|michael]] 23:48, 22 July 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
Well, I tried making the plugin run with APBS 1.3 and this is what I got:&lt;br /&gt;
Running:&lt;br /&gt;
prog=/usr/local/apbs-1.3-mac-univ/bin/apbs&lt;br /&gt;
args=('/usr/local/apbs-1.3-mac-univ/bin/apbs', '--version')&lt;br /&gt;
Results were:&lt;br /&gt;
Return value: -5&lt;br /&gt;
Output:&lt;br /&gt;
dyld: Library not loaded: /usr/local/lib/x86_64/libgomp.1.dylib&lt;br /&gt;
  Referenced from: /usr/local/apbs-1.3-mac-univ/bin/apbs&lt;br /&gt;
  Reason: image not found&lt;br /&gt;
&lt;br /&gt;
Skipping /usr/local/apbs-1.3-mac-univ/bin/apbs because it appears to be broken (dyld)&lt;br /&gt;
&lt;br /&gt;
Just wondering if you get the same. --[[User:Rendereason|Rendereason]] 16:36, 29 October 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>Rendereason</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=User:Rendereason&amp;diff=4903</id>
		<title>User:Rendereason</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=User:Rendereason&amp;diff=4903"/>
		<updated>2010-10-29T15:35:26Z</updated>

		<summary type="html">&lt;p&gt;Rendereason: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=About Me=&lt;br /&gt;
My name is Daniel Ra and I'm a student at the University of Houston. I am the lab system admin for Dr. Choel Kim Lab in Baylor College of Medicine and I regularly maintain computers at or near the Texas Medical Center.&lt;br /&gt;
==Hardware and Software==&lt;br /&gt;
I am interested in computer hardware, and in all structural biology software. &lt;br /&gt;
Most of the work I do is on OSX, and Intel based Macs. I have built and have some interest in Hackintoshes (Xeon 8-core workstation).&lt;/div&gt;</summary>
		<author><name>Rendereason</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=User:Rendereason&amp;diff=4902</id>
		<title>User:Rendereason</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=User:Rendereason&amp;diff=4902"/>
		<updated>2010-10-29T15:31:36Z</updated>

		<summary type="html">&lt;p&gt;Rendereason: Created page with '=About Me= My name is Daniel Ra and I'm a student University of Houston. I am the lab system admin for Dr. Choel Kim Lab in Baylor College of Medicine. ==Hardware and Software== …'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=About Me=&lt;br /&gt;
My name is Daniel Ra and I'm a student University of Houston. I am the lab system admin for Dr. Choel Kim Lab in Baylor College of Medicine.&lt;br /&gt;
==Hardware and Software==&lt;br /&gt;
I am interested in computer hardware and in all molecular replacement software. I regularly maintain computers at or near the Texas Medical Center.&lt;br /&gt;
Most of the work I do is on OSX, and Intel based Macs. I have some interest in Hackintoshes.&lt;/div&gt;</summary>
		<author><name>Rendereason</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=APBS&amp;diff=4149</id>
		<title>APBS</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=APBS&amp;diff=4149"/>
		<updated>2010-10-29T15:21:30Z</updated>

		<summary type="html">&lt;p&gt;Rendereason: Finished adding APBS plugin information, cleaned and updated some info.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
[[Image:Rna_surface_apbs.png|thumb|APBS-generated electrostatic surface displayed in PyMOL]]&lt;br /&gt;
[http://apbs.sourceforge.net APBS], the Adaptive Poisson-Boltzmann Solver, is a [http://www.oreilly.com/openbook/freedom/ freely] available macromolecular electrostatics calculation program released under the [http://www.gnu.org/copyleft/gpl.html GPL]. It is a cost-effective but uncompromised alternative to [http://trantor.bioc.columbia.edu/grasp/ GRASP], and it can be used within PyMOL.  PyMOL can display the results of the calculations as an electrostatic potential molecular surface.&lt;br /&gt;
&lt;br /&gt;
=== APBS Plugin with New Features ===&lt;br /&gt;
PyMol currently supports the '''APBS plugin''' written by [http://pymolwiki.org/index.php/User:Mglerner Michael Lerner]. This plugin makes it possible to run APBS from within PyMOL, and then display the results as a color-coded electrostatic surface (units &amp;lt;math&amp;gt;K_bT/e_c&amp;lt;/math&amp;gt;) in the molecular display window (as with the image to the right).  This wiki page has updated instructions on how to download, install and use the plugin.&lt;br /&gt;
&lt;br /&gt;
'''Nucleic acids may prove problematic for the apbs plugin.''' If so, use the [http://pdb2pqr.sourceforge.net/ pdb2pqr] command-line tool to create a pqr file manually, instead of using the plugin to generate it. Then direct the APBS GUI on the [http://www-personal.umich.edu/~mlerner/PyMOL/images/main.png main menu] to read the pqr file you '''externally generated.'''&lt;br /&gt;
&lt;br /&gt;
There is a new version of the PyMOL-APBS plugin and it's now ready for pre-release. There are several big advantages of the new version:&lt;br /&gt;
&lt;br /&gt;
* It's been tested modern OS X, Windows and Linux systems and fixes several long-standing bugs.&lt;br /&gt;
* It allows you to call through to PDB2PQR directly.&lt;br /&gt;
* It allows you to show the electric field lines.&lt;br /&gt;
* It has two visualization panels to aid in showing multiple potential surfaces at once.&lt;br /&gt;
* It defaults to using PDB2PQR for PQR generation and APBS's psize.py for grid sizing/spacing.&lt;br /&gt;
* It has also an increased default maximum allowed memory since typical users have bigger and faster computers these days.&lt;br /&gt;
* It calls on the correct paths and binaries for multi-threaded APBS (apbs-mpi-openmpi).&lt;br /&gt;
&lt;br /&gt;
The main reason it is not included in the latest PyMOL release is to receive bug reports. Once it's shown to be stable, it'll be included in the next PyMOL release. See [http://pymolwiki.org/index.php/User:Mglerner Michael Lerner]'s page.&lt;br /&gt;
&lt;br /&gt;
==== How to get it ====&lt;br /&gt;
&lt;br /&gt;
There are two ways to get the new plugin&lt;br /&gt;
&lt;br /&gt;
* If you have subversion installed, you can always get the latest version via&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
svn co https://pymolapbsplugin.svn.sourceforge.net/svnroot/pymolapbsplugin/trunk/pymolapbsplugin&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
''Subversion is not up to date. Download it instead from the link below.''&lt;br /&gt;
&lt;br /&gt;
* You can download it from http://pymolapbsplugin.svn.sourceforge.net/viewvc/pymolapbsplugin/trunk/src/apbsplugin.py&lt;br /&gt;
&lt;br /&gt;
That should give you a file called apbsplugin.py&lt;br /&gt;
&lt;br /&gt;
Once you have the plugin, you can install it via PyMOL's plugin installer: Plugin --&amp;gt; Manage Plugins --&amp;gt; Install&lt;br /&gt;
&lt;br /&gt;
You may have to run PyMOL with sudo privileges.&lt;br /&gt;
&lt;br /&gt;
Note that the plugin will be installed as &amp;quot;APBS Tools2.1&amp;quot; so that you can continue to use your old version.&lt;br /&gt;
&lt;br /&gt;
Further details, as well as screen shots, are given [http://www.pymolwiki.org/index.php/MAC_Install#Install_APBS_and_friends_with_fink elsewhere in this wiki].&lt;br /&gt;
&lt;br /&gt;
==Required Dependencies==&lt;br /&gt;
[http://apbs.sourceforge.net APBS] and its dependencies like [http://pdb2pqr.sourceforge.net pdb2pqr] and [http://scicomp.ucsd.edu/~mholst/codes/maloc/ maloc] are [http://www.oreilly.com/openbook/freedom/ freely] available under the [http://www.gnu.org/copyleft/gpl.html GPL].  The author of the software however [http://agave.wustl.edu/apbs/download/ asks that users register] with him to aid him in obtaining grant funding.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
===Installing the Dependencies on OS X===&lt;br /&gt;
#First, [http://agave.wustl.edu/apbs/download/ register] your use of the software.  This will keep everyone happy.&lt;br /&gt;
#Second, if you don't already have the [http://fink.sourceforge.net fink package management system], now is a good time to get it. Here is a [http://xanana.ucsc.edu/~wgscott/xtal/wiki/index.php/Quick_Start quick-start set of instructions] for getting X-windows, compilers, and fink all installed. &lt;br /&gt;
#Once you are up and going, [http://xanana.ucsc.edu/~wgscott/xtal/wiki/index.php/How_to_Activate_the_Unstable_Branch activate the unstable branch in fink], and then issue the commands&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
fink self-update&lt;br /&gt;
fink install apbs&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or if you want to use the multi-processor version, issue&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
fink self-update&lt;br /&gt;
fink install apbs-mpi-openmpi&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Then install the X-windows based version of pymol using the command&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
fink install pymol-py25&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
It is recommended to install the latest pdb2pqr as well as the APBS plugin makes use of it&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
fink install pdb2pqr&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Note that the fink version of PyMOL as of 1.3-4 does not have the latest version of the APBS plugin. Make sure you get the new version!&lt;br /&gt;
&lt;br /&gt;
===Installing the Dependencies on Linux===&lt;br /&gt;
&lt;br /&gt;
====From Scratch====&lt;br /&gt;
Note that this tutorial assumes you're using the bash shell and have root privileges&lt;br /&gt;
&amp;lt;OL&amp;gt;&amp;lt;LI&amp;gt;&lt;br /&gt;
Obtain APBS and MALOC from...&amp;lt;br&amp;gt;&lt;br /&gt;
APBS = http://apbs.sourceforge.net (currently 0.4)&amp;lt;br&amp;gt;&lt;br /&gt;
MALOC = http://www.fetk.org/codes/maloc/index.html#download (currently 0.1-2)&amp;lt;BR&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Set up some environment variables &amp;amp; directories (temporary for building)&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ export FETK_SRC=/&amp;lt;building directory&amp;gt;/temp_apbs&lt;br /&gt;
$ export FETK_PREFIX=/usr/local/apbs-0.4.0  (or wherever you want it to live)&lt;br /&gt;
$ export FETK_INCLUDE=${FETK_PREFIX}/include&lt;br /&gt;
$ export FETK_LIBRARY=${FETK_PREFIX}/lib&lt;br /&gt;
$ mkdir -p ${FETK_SRC} ${FETK_INCLUDE} ${FETK_LIBRARY}&lt;br /&gt;
&amp;lt;/source&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Unpack the source packages&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ cd ${FETK_SRC}&lt;br /&gt;
$ gzip -dc maloc-0.1-2.tar.gz | tar xvf -&lt;br /&gt;
$ gzip -dc apbs-0.4.0.tar.gz | tar xvf -&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Compile MALOC&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ cd ${FETK_SRC}/maloc&lt;br /&gt;
$ ./configure --prefix=${FETK_PREFIX}&amp;lt;/source&amp;gt;&lt;br /&gt;
If everything went well, then&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ make; make install&amp;lt;/source&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Go get a coffee. Compilation/installation takes about 15 minutes on a 3GHz computer with 1GB of RAM.&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Now on to compiling APBS itself&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ cd ${FETK_SRC}/apbs-0.4.0&lt;br /&gt;
$ ./configure --prefix=${FETK_PREFIX}&amp;lt;/source&amp;gt;&lt;br /&gt;
If all goes well:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ make all; make install&amp;lt;/source&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;No time for coffee. Takes about 5 minutes on that fast computer.&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt; There will now be an APBS binary at&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;/usr/local/apbs-0.4.0/bin/i686-intel-linux/apbs&amp;lt;/source&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt; Make appropriate links&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ ln -s /usr/local/apbs-0.4.0/bin/i686-intel-linux/apbs /usr/local/bin/apbs&lt;br /&gt;
&amp;lt;/source&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt; Get rid of /&amp;lt;building directory dir&amp;gt;/temp_apbs&lt;br /&gt;
&amp;lt;LI&amp;gt; Open PyMOL and make sure that the APBS plugin points to /usr/local/bin/apbs&lt;br /&gt;
&amp;lt;LI&amp;gt; Rock and or Roll.&lt;br /&gt;
&amp;lt;/OL&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Pre-Packaged====&lt;br /&gt;
=====RPMs=====&lt;br /&gt;
&lt;br /&gt;
A variety of RPMs are available from the [http://sourceforge.net/project/showfiles.php?group_id=148472&amp;amp;package_id=163734&amp;amp;release_id=378273 APBS downloads website].  Again, please [http://agave.wustl.edu/apbs/download/ register] your use of the software if you have not yet done so.&lt;br /&gt;
&lt;br /&gt;
=====Debian packages=====&lt;br /&gt;
&lt;br /&gt;
For ubuntu and other debian linux distributions, probably the simplest thing is to download a promising looking rpm, convert it with the program [http://kitenet.net/programs/alien/ alien], and then install the [http://xanana.ucsc.edu/linux newly generated debian package] with the command&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo dpkg -i apbs*.deb&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Gentoo=====&lt;br /&gt;
&lt;br /&gt;
You have to install apbs and pdb2pqr. Both are masked via keywords atm. Type as root:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
echo sci-chemistry/pdb2pqr &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
echo sci-chemistry/apbs &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
emerge -av sci-chemistry/apbs sci-chemistry/pdb2pqr&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
* If the B-factor is &amp;lt;math&amp;gt;\geq 100,&amp;lt;/math&amp;gt; then APBS doesn't properly read in the PDB file and thus outputs garbage (or dies).  To fix this, set all b factors to be less than 100. &amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;alter all, b=min(b,99.9)&amp;lt;/source&amp;gt;  The problem stems from how to parse a PDB file.  The PDB file originally was written when most people used FORTRAN programs, and so the file format was specified by columns, not by the more modern comma separated value format we tend to prefer today.  For the latest on the PDB format see the [http://www.wwpdb.org/docs.html new PDB format docs].&lt;br /&gt;
* APBS has problems, sometimes, in reading atoms with alternate conformations.  You can remove the alternate locations with a simple script [[removeAlt]].&lt;br /&gt;
* ObjectMapLoadDXFile-Error: as of this writing (9-23-2008) a known problem exists, and the Baker lab is working on it. It is typically caused by the use of directories with spaces in their names under Windows.&lt;br /&gt;
&lt;br /&gt;
== Problems with the bundled version of APBS ==&lt;br /&gt;
There is an issue with the freemol version of APBS shipped with PyMOL 1.2r2 for OS X. &lt;br /&gt;
&lt;br /&gt;
=== Leopard and Snow Leopard (10.5 and 10.6) ===&lt;br /&gt;
There are three fairly easy ways to resolve it&lt;br /&gt;
&lt;br /&gt;
1. Download and install the most recent (post Dec. 1 2009) version of APBS from [http://www.poissonboltzmann.org/apbs/downloads]. Then copy the apbs binary into the freemol directory (mv it to /Applications/PyMOLX11Hybrid.app/pymol/freemol/bin/apbs.exe, overwriting the version that comes installed with PyMOL).&lt;br /&gt;
&lt;br /&gt;
2. Download [[File:Libgfortran.3.dylib.bz2]], unzip it (&amp;quot;bunzip2 libgfortran.3.dylib.gz2&amp;quot;) and move it to /usr/local/lib (&amp;quot;mv libgfortran.3.dylib /usr/local/lib&amp;quot; ... on some machines, you may need &amp;quot;sudo mv libgfortran.3.dylib /usr/local/lib&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
bunzip2 libgfortran.3.dylib.gz2&lt;br /&gt;
mv libgfortran.3.dylib /usr/local/lib&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Use macports to install gcc 4.4.2 and link the appropriate library (&amp;quot;ln -s /opt/local/lib/gcc44/libgfortran.3.dylib /usr/local/lib/libgfortran.3.dylib&amp;quot; ... on some machines, you may need &amp;quot;sudo ln -s /opt/local/lib/gcc44/libgfortran.3.dylib /usr/local/lib/libgfortran.3.dylib&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
ln -s /opt/local/lib/gcc44/libgfortran.3.dylib /usr/local/lib/libgfortran.3.dylib&lt;br /&gt;
sudo ln -s /opt/local/lib/gcc44/libgfortran.3.dylib /usr/local/lib/libgfortran.3.dylib&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you're curious, the problem is that APBS is dynamically linked, but Apple does not provide FORTRAN libraries.&lt;br /&gt;
&lt;br /&gt;
The version of libgfortran above is covered by the GNU General Public License (GPL). A copy of the GPL may be found at [http://www.gnu.org/licenses/licenses.html], and the source may be obtained from MacPorts ([http://www.macports.org/]).&lt;br /&gt;
&lt;br /&gt;
=== Tiger (10.4) ===&lt;br /&gt;
You'll need to install APBS yourself via MacPorts or via fink. Fink instructions may be found on the [[APBS]] page. Installation via MacPorts requires first installing MacPorts from [http://www.macports.org/] and then typing&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo port install apbs&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
from the command line. This process could easily take several hours on an older machine, as MacPorts will recompile gcc, gfortran, and several other packages along the way.&lt;br /&gt;
&lt;br /&gt;
==Using APBS==&lt;br /&gt;
There is a nice tutorial on the APBS homepage: [http://www.poissonboltzmann.org/apbs/examples/visualization/apbs-electrostatics-in-pymol] For further help, there is a mailing list [https://lists.sourceforge.net/lists/listinfo/apbs-users] with the corresponding archive [http://sourceforge.net/mailarchive/forum.php?forum_name=apbs-users]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Further contributions and edits are needed.==&lt;br /&gt;
&lt;br /&gt;
[[Category:Electrostatics]]&lt;br /&gt;
[[Category:Biochemical_Properties]]&lt;br /&gt;
[[Category:Plugins]]&lt;/div&gt;</summary>
		<author><name>Rendereason</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=APBS&amp;diff=4148</id>
		<title>APBS</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=APBS&amp;diff=4148"/>
		<updated>2010-10-29T15:19:15Z</updated>

		<summary type="html">&lt;p&gt;Rendereason: Undo revision 8581 by Rendereason (Talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
[[Image:Rna_surface_apbs.png|thumb|APBS-generated electrostatic surface displayed in PyMOL]]&lt;br /&gt;
[http://apbs.sourceforge.net APBS], the Adaptive Poisson-Boltzmann Solver, is a [http://www.oreilly.com/openbook/freedom/ freely] available macromolecular electrostatics calculation program released under the [http://www.gnu.org/copyleft/gpl.html GPL]. It is a cost-effective but uncompromised alternative to [http://trantor.bioc.columbia.edu/grasp/ GRASP], and it can be used within pymol.  Pymol can display the results of the calculations as an electrostatic potential molecular surface.&lt;br /&gt;
&lt;br /&gt;
=== APBS Plugin with New Features ===&lt;br /&gt;
PyMol currently supports the '''APBS plugin''' written by [http://pymolwiki.org/index.php/User:Mglerner Michael Lerner]. This plugin makes it possible to run APBS from within PyMOL, and then display the results as a color-coded electrostatic surface (units &amp;lt;math&amp;gt;K_bT/e_c&amp;lt;/math&amp;gt;) in the molecular display window (as with the image to the right).  This wiki page has updated instructions on how to download, install and use the plugin.&lt;br /&gt;
&lt;br /&gt;
'''Nucleic acids may prove problematic for the apbs plugin.''' If so, use the [http://pdb2pqr.sourceforge.net/ pdb2pqr] command-line tool to create a pqr file manually, instead of using the plugin to generate it. Then direct the APBS GUI on the [http://www-personal.umich.edu/~mlerner/PyMOL/images/main.png main menu] to read the pqr file you '''externally generated.'''&lt;br /&gt;
&lt;br /&gt;
There is a new version of the PyMOL-APBS plugin and it's now ready for pre-release. There are several big advantages of the new version:&lt;br /&gt;
&lt;br /&gt;
* It's been tested modern OS X, Windows and Linux systems and fixes several long-standing bugs.&lt;br /&gt;
* It allows you to call through to PDB2PQR directly.&lt;br /&gt;
* It allows you to show the electric field lines.&lt;br /&gt;
* It has two visualization panels to aid in showing multiple potential surfaces at once.&lt;br /&gt;
* It defaults to using PDB2PQR for PQR generation and APBS's psize.py for grid sizing/spacing.&lt;br /&gt;
* It has also an increased default maximum allowed memory since typical users have bigger and faster computers these days.&lt;br /&gt;
* It calls on the correct paths and binaries for apbs-mpi-openmpi.&lt;br /&gt;
&lt;br /&gt;
The main reason it is not included in the latest PyMOL release is to receive bug reports. Once it's shown to be stable, it'll be included in the next PyMOL release. See [http://pymolwiki.org/index.php/User:Mglerner Michael Lerner]'s page.&lt;br /&gt;
&lt;br /&gt;
==== How to get it ====&lt;br /&gt;
&lt;br /&gt;
There are two ways to get the new plugin&lt;br /&gt;
&lt;br /&gt;
* If you have subversion installed, you can always get the latest version via&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
svn co https://pymolapbsplugin.svn.sourceforge.net/svnroot/pymolapbsplugin/trunk/pymolapbsplugin&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
''Subversion is not up to date. Download it instead from the link below.''&lt;br /&gt;
&lt;br /&gt;
* You can download it from http://pymolapbsplugin.svn.sourceforge.net/viewvc/pymolapbsplugin/trunk/src/apbsplugin.py&lt;br /&gt;
&lt;br /&gt;
That should give you a file called apbsplugin.py&lt;br /&gt;
&lt;br /&gt;
Once you have the plugin, you can install it via PyMOL's plugin installer: Plugin --&amp;gt; Manage Plugins --&amp;gt; Install&lt;br /&gt;
&lt;br /&gt;
You may have to run PyMOL with sudo privileges.&lt;br /&gt;
&lt;br /&gt;
Note that the plugin will be installed as &amp;quot;APBS Tools2.1&amp;quot; so that you can continue to use your old version.&lt;br /&gt;
&lt;br /&gt;
Further details, as well as screen shots, are given [http://www.pymolwiki.org/index.php/MAC_Install#Install_APBS_and_friends_with_fink elsewhere in this wiki].&lt;br /&gt;
&lt;br /&gt;
==Required Dependencies==&lt;br /&gt;
[http://apbs.sourceforge.net APBS] and its dependencies like [http://pdb2pqr.sourceforge.net pdb2pqr] and [http://scicomp.ucsd.edu/~mholst/codes/maloc/ maloc] are [http://www.oreilly.com/openbook/freedom/ freely] available under the [http://www.gnu.org/copyleft/gpl.html GPL].  The author of the software however [http://agave.wustl.edu/apbs/download/ asks that users register] with him to aid him in obtaining grant funding.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
===Installing the Dependencies on OS X===&lt;br /&gt;
#First, [http://agave.wustl.edu/apbs/download/ register] your use of the software.  This will keep everyone happy.&lt;br /&gt;
#Second, if you don't already have the [http://fink.sourceforge.net fink package management system], now is a good time to get it. Here is a [http://xanana.ucsc.edu/~wgscott/xtal/wiki/index.php/Quick_Start quick-start set of instructions] for getting X-windows, compilers, and fink all installed. &lt;br /&gt;
#Once you are up and going, [http://xanana.ucsc.edu/~wgscott/xtal/wiki/index.php/How_to_Activate_the_Unstable_Branch activate the unstable branch in fink], and then issue the commands&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
fink self-update&lt;br /&gt;
fink install apbs&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or if you want to use the multi-processor version, issue&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
fink self-update&lt;br /&gt;
fink install apbs-mpi-openmpi&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Then install the X-windows based version of pymol using the command&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
fink install pymol-py25&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
It is recommended to install the latest pdb2pqr as well as the APBS plugin makes use of it&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
fink install pdb2pqr&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Note that the fink version of PyMOL as of 1.3-4 does not have the latest version of the APBS plugin. Make sure you get the new version!&lt;br /&gt;
&lt;br /&gt;
===Installing the Dependencies on Linux===&lt;br /&gt;
&lt;br /&gt;
====From Scratch====&lt;br /&gt;
Note that this tutorial assumes you're using the bash shell and have root privileges&lt;br /&gt;
&amp;lt;OL&amp;gt;&amp;lt;LI&amp;gt;&lt;br /&gt;
Obtain APBS and MALOC from...&amp;lt;br&amp;gt;&lt;br /&gt;
APBS = http://apbs.sourceforge.net (currently 0.4)&amp;lt;br&amp;gt;&lt;br /&gt;
MALOC = http://www.fetk.org/codes/maloc/index.html#download (currently 0.1-2)&amp;lt;BR&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Set up some environment variables &amp;amp; directories (temporary for building)&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ export FETK_SRC=/&amp;lt;building directory&amp;gt;/temp_apbs&lt;br /&gt;
$ export FETK_PREFIX=/usr/local/apbs-0.4.0  (or wherever you want it to live)&lt;br /&gt;
$ export FETK_INCLUDE=${FETK_PREFIX}/include&lt;br /&gt;
$ export FETK_LIBRARY=${FETK_PREFIX}/lib&lt;br /&gt;
$ mkdir -p ${FETK_SRC} ${FETK_INCLUDE} ${FETK_LIBRARY}&lt;br /&gt;
&amp;lt;/source&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Unpack the source packages&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ cd ${FETK_SRC}&lt;br /&gt;
$ gzip -dc maloc-0.1-2.tar.gz | tar xvf -&lt;br /&gt;
$ gzip -dc apbs-0.4.0.tar.gz | tar xvf -&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Compile MALOC&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ cd ${FETK_SRC}/maloc&lt;br /&gt;
$ ./configure --prefix=${FETK_PREFIX}&amp;lt;/source&amp;gt;&lt;br /&gt;
If everything went well, then&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ make; make install&amp;lt;/source&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Go get a coffee. Compilation/installation takes about 15 minutes on a 3GHz computer with 1GB of RAM.&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Now on to compiling APBS itself&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ cd ${FETK_SRC}/apbs-0.4.0&lt;br /&gt;
$ ./configure --prefix=${FETK_PREFIX}&amp;lt;/source&amp;gt;&lt;br /&gt;
If all goes well:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ make all; make install&amp;lt;/source&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;No time for coffee. Takes about 5 minutes on that fast computer.&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt; There will now be an APBS binary at&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;/usr/local/apbs-0.4.0/bin/i686-intel-linux/apbs&amp;lt;/source&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt; Make appropriate links&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ ln -s /usr/local/apbs-0.4.0/bin/i686-intel-linux/apbs /usr/local/bin/apbs&lt;br /&gt;
&amp;lt;/source&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt; Get rid of /&amp;lt;building directory dir&amp;gt;/temp_apbs&lt;br /&gt;
&amp;lt;LI&amp;gt; Open PyMOL and make sure that the APBS plugin points to /usr/local/bin/apbs&lt;br /&gt;
&amp;lt;LI&amp;gt; Rock and or Roll.&lt;br /&gt;
&amp;lt;/OL&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Pre-Packaged====&lt;br /&gt;
=====RPMs=====&lt;br /&gt;
&lt;br /&gt;
A variety of RPMs are available from the [http://sourceforge.net/project/showfiles.php?group_id=148472&amp;amp;package_id=163734&amp;amp;release_id=378273 APBS downloads website].  Again, please [http://agave.wustl.edu/apbs/download/ register] your use of the software if you have not yet done so.&lt;br /&gt;
&lt;br /&gt;
=====Debian packages=====&lt;br /&gt;
&lt;br /&gt;
For ubuntu and other debian linux distributions, probably the simplest thing is to download a promising looking rpm, convert it with the program [http://kitenet.net/programs/alien/ alien], and then install the [http://xanana.ucsc.edu/linux newly generated debian package] with the command&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo dpkg -i apbs*.deb&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Gentoo=====&lt;br /&gt;
&lt;br /&gt;
You have to install apbs and pdb2pqr. Both are masked via keywords atm. Type as root:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
echo sci-chemistry/pdb2pqr &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
echo sci-chemistry/apbs &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
emerge -av sci-chemistry/apbs sci-chemistry/pdb2pqr&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
* If the B-factor is &amp;lt;math&amp;gt;\geq 100,&amp;lt;/math&amp;gt; then APBS doesn't properly read in the PDB file and thus outputs garbage (or dies).  To fix this, set all b factors to be less than 100. &amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;alter all, b=min(b,99.9)&amp;lt;/source&amp;gt;  The problem stems from how to parse a PDB file.  The PDB file originally was written when most people used FORTRAN programs, and so the file format was specified by columns, not by the more modern comma separated value format we tend to prefer today.  For the latest on the PDB format see the [http://www.wwpdb.org/docs.html new PDB format docs].&lt;br /&gt;
* APBS has problems, sometimes, in reading atoms with alternate conformations.  You can remove the alternate locations with a simple script [[removeAlt]].&lt;br /&gt;
* ObjectMapLoadDXFile-Error: as of this writing (9-23-2008) a known problem exists, and the Baker lab is working on it. It is typically caused by the use of directories with spaces in their names under Windows.&lt;br /&gt;
&lt;br /&gt;
== Problems with the bundled version of APBS ==&lt;br /&gt;
There is an issue with the freemol version of APBS shipped with PyMOL 1.2r2 for OS X. &lt;br /&gt;
&lt;br /&gt;
=== Leopard and Snow Leopard (10.5 and 10.6) ===&lt;br /&gt;
There are three fairly easy ways to resolve it&lt;br /&gt;
&lt;br /&gt;
1. Download and install the most recent (post Dec. 1 2009) version of APBS from [http://www.poissonboltzmann.org/apbs/downloads]. Then copy the apbs binary into the freemol directory (mv it to /Applications/PyMOLX11Hybrid.app/pymol/freemol/bin/apbs.exe, overwriting the version that comes installed with PyMOL).&lt;br /&gt;
&lt;br /&gt;
2. Download [[File:Libgfortran.3.dylib.bz2]], unzip it (&amp;quot;bunzip2 libgfortran.3.dylib.gz2&amp;quot;) and move it to /usr/local/lib (&amp;quot;mv libgfortran.3.dylib /usr/local/lib&amp;quot; ... on some machines, you may need &amp;quot;sudo mv libgfortran.3.dylib /usr/local/lib&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
bunzip2 libgfortran.3.dylib.gz2&lt;br /&gt;
mv libgfortran.3.dylib /usr/local/lib&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Use macports to install gcc 4.4.2 and link the appropriate library (&amp;quot;ln -s /opt/local/lib/gcc44/libgfortran.3.dylib /usr/local/lib/libgfortran.3.dylib&amp;quot; ... on some machines, you may need &amp;quot;sudo ln -s /opt/local/lib/gcc44/libgfortran.3.dylib /usr/local/lib/libgfortran.3.dylib&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
ln -s /opt/local/lib/gcc44/libgfortran.3.dylib /usr/local/lib/libgfortran.3.dylib&lt;br /&gt;
sudo ln -s /opt/local/lib/gcc44/libgfortran.3.dylib /usr/local/lib/libgfortran.3.dylib&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you're curious, the problem is that APBS is dynamically linked, but Apple does not provide FORTRAN libraries.&lt;br /&gt;
&lt;br /&gt;
The version of libgfortran above is covered by the GNU General Public License (GPL). A copy of the GPL may be found at [http://www.gnu.org/licenses/licenses.html], and the source may be obtained from MacPorts ([http://www.macports.org/]).&lt;br /&gt;
&lt;br /&gt;
=== Tiger (10.4) ===&lt;br /&gt;
You'll need to install APBS yourself via MacPorts or via fink. Fink instructions may be found on the [[APBS]] page. Installation via MacPorts requires first installing MacPorts from [http://www.macports.org/] and then typing&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo port install apbs&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
from the command line. This process could easily take several hours on an older machine, as MacPorts will recompile gcc, gfortran, and several other packages along the way.&lt;br /&gt;
&lt;br /&gt;
==Using APBS==&lt;br /&gt;
There is a nice tutorial on the APBS homepage: [http://www.poissonboltzmann.org/apbs/examples/visualization/apbs-electrostatics-in-pymol] For further help, there is a mailing list [https://lists.sourceforge.net/lists/listinfo/apbs-users] with the corresponding archive [http://sourceforge.net/mailarchive/forum.php?forum_name=apbs-users]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Further contributions and edits are needed.==&lt;br /&gt;
&lt;br /&gt;
[[Category:Electrostatics]]&lt;br /&gt;
[[Category:Biochemical_Properties]]&lt;br /&gt;
[[Category:Plugins]]&lt;/div&gt;</summary>
		<author><name>Rendereason</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=APBS&amp;diff=4147</id>
		<title>APBS</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=APBS&amp;diff=4147"/>
		<updated>2010-10-29T15:14:07Z</updated>

		<summary type="html">&lt;p&gt;Rendereason: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
[[Image:Rna_surface_apbs.png|thumb|APBS-generated electrostatic surface displayed in PyMOL]]&lt;br /&gt;
[http://apbs.sourceforge.net APBS], the Adaptive Poisson-Boltzmann Solver, is a [http://www.oreilly.com/openbook/freedom/ freely] available macromolecular electrostatics calculation program released under the [http://www.gnu.org/copyleft/gpl.html GPL]. It is a cost-effective but uncompromised alternative to [http://trantor.bioc.columbia.edu/grasp/ GRASP], and it can be used within pymol.  Pymol can display the results of the calculations as an electrostatic potential molecular surface.&lt;br /&gt;
&lt;br /&gt;
=== APBS Plugin with New Features ===&lt;br /&gt;
PyMol currently supports the '''APBS plugin''' written by [http://pymolwiki.org/index.php/User:Mglerner Michael Lerner]. This plugin makes it possible to run APBS from within PyMOL, and then display the results as a color-coded electrostatic surface (units &amp;lt;math&amp;gt;K_bT/e_c&amp;lt;/math&amp;gt;) in the molecular display window (as with the image to the right).  This wiki page has updated instructions on how to download, install and use the plugin.&lt;br /&gt;
&lt;br /&gt;
'''Nucleic acids may prove problematic for the apbs plugin.''' If so, use the [http://pdb2pqr.sourceforge.net/ pdb2pqr] command-line tool to create a pqr file manually, instead of using the plugin to generate it. Then direct the APBS GUI on the [http://www-personal.umich.edu/~mlerner/PyMOL/images/main.png main menu] to read the pqr file you '''externally generated.'''&lt;br /&gt;
&lt;br /&gt;
There is a new version of the PyMOL-APBS plugin and it's now ready for pre-release. There are several big advantages of the new version:&lt;br /&gt;
&lt;br /&gt;
* It's been tested modern OS X, Windows and Linux systems and fixes several long-standing bugs.&lt;br /&gt;
* It allows you to call through to PDB2PQR directly.&lt;br /&gt;
* It allows you to show the electric field lines.&lt;br /&gt;
* It has two visualization panels to aid in showing multiple potential surfaces at once.&lt;br /&gt;
* It defaults to using PDB2PQR for PQR generation and APBS's psize.py for grid sizing/spacing.&lt;br /&gt;
* It has also an increased default maximum allowed memory since typical users have bigger and faster computers these days.&lt;br /&gt;
* It calls on the correct paths and binaries for multi-threaded APBS (apbs-mpi-openmpi).&lt;br /&gt;
&lt;br /&gt;
The main reason it is not included in the latest PyMOL release is to receive bug reports. Once it's shown to be stable, it'll be included in the next PyMOL release. See [http://pymolwiki.org/index.php/User:Mglerner Michael Lerner]'s page.&lt;br /&gt;
&lt;br /&gt;
==== How to get it ====&lt;br /&gt;
&lt;br /&gt;
There are two ways to get the new plugin&lt;br /&gt;
&lt;br /&gt;
* If you have subversion installed, you can always get the latest version via&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
svn co https://pymolapbsplugin.svn.sourceforge.net/svnroot/pymolapbsplugin/trunk/pymolapbsplugin&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
''Subversion is not up to date. Download it instead from the link below.''&lt;br /&gt;
&lt;br /&gt;
* You can download it from http://pymolapbsplugin.svn.sourceforge.net/viewvc/pymolapbsplugin/trunk/src/apbsplugin.py&lt;br /&gt;
&lt;br /&gt;
That should give you a file called apbsplugin.py&lt;br /&gt;
&lt;br /&gt;
Once you have the plugin, you can install it via PyMOL's plugin installer: Plugin --&amp;gt; Manage Plugins --&amp;gt; Install&lt;br /&gt;
&lt;br /&gt;
You may have to run PyMOL with sudo privileges.&lt;br /&gt;
&lt;br /&gt;
Note that the plugin will be installed as &amp;quot;APBS Tools2.1&amp;quot; so that you can continue to use your old version.&lt;br /&gt;
&lt;br /&gt;
Further details, as well as screen shots, are given [http://www.pymolwiki.org/index.php/MAC_Install#Install_APBS_and_friends_with_fink elsewhere in this wiki].&lt;br /&gt;
&lt;br /&gt;
==Required Dependencies==&lt;br /&gt;
[http://apbs.sourceforge.net APBS] and its dependencies like [http://pdb2pqr.sourceforge.net pdb2pqr] and [http://scicomp.ucsd.edu/~mholst/codes/maloc/ maloc] are [http://www.oreilly.com/openbook/freedom/ freely] available under the [http://www.gnu.org/copyleft/gpl.html GPL].  The author of the software however [http://agave.wustl.edu/apbs/download/ asks that users register] with him to aid him in obtaining grant funding.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
===Installing the Dependencies on OS X===&lt;br /&gt;
#First, [http://agave.wustl.edu/apbs/download/ register] your use of the software.  This will keep everyone happy.&lt;br /&gt;
#Second, if you don't already have the [http://fink.sourceforge.net fink package management system], now is a good time to get it. Here is a [http://xanana.ucsc.edu/~wgscott/xtal/wiki/index.php/Quick_Start quick-start set of instructions] for getting X-windows, compilers, and fink all installed. &lt;br /&gt;
#Once you are up and going, [http://xanana.ucsc.edu/~wgscott/xtal/wiki/index.php/How_to_Activate_the_Unstable_Branch activate the unstable branch in fink], and then issue the commands&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
fink self-update&lt;br /&gt;
fink install apbs&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or if you want to use the multi-processor version, issue&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
fink self-update&lt;br /&gt;
fink install apbs-mpi-openmpi&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Then install the X-windows based version of pymol using the command&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
fink install pymol-py25&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
It is recommended to install the latest pdb2pqr as well as the APBS plugin makes use of it&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
fink install pdb2pqr&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Note that the fink version of PyMOL as of 1.3-4 does not have the latest version of the APBS plugin. Make sure you get the new version!&lt;br /&gt;
&lt;br /&gt;
===Installing the Dependencies on Linux===&lt;br /&gt;
&lt;br /&gt;
====From Scratch====&lt;br /&gt;
Note that this tutorial assumes you're using the bash shell and have root privileges&lt;br /&gt;
&amp;lt;OL&amp;gt;&amp;lt;LI&amp;gt;&lt;br /&gt;
Obtain APBS and MALOC from...&amp;lt;br&amp;gt;&lt;br /&gt;
APBS = http://apbs.sourceforge.net (currently 0.4)&amp;lt;br&amp;gt;&lt;br /&gt;
MALOC = http://www.fetk.org/codes/maloc/index.html#download (currently 0.1-2)&amp;lt;BR&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Set up some environment variables &amp;amp; directories (temporary for building)&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ export FETK_SRC=/&amp;lt;building directory&amp;gt;/temp_apbs&lt;br /&gt;
$ export FETK_PREFIX=/usr/local/apbs-0.4.0  (or wherever you want it to live)&lt;br /&gt;
$ export FETK_INCLUDE=${FETK_PREFIX}/include&lt;br /&gt;
$ export FETK_LIBRARY=${FETK_PREFIX}/lib&lt;br /&gt;
$ mkdir -p ${FETK_SRC} ${FETK_INCLUDE} ${FETK_LIBRARY}&lt;br /&gt;
&amp;lt;/source&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Unpack the source packages&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ cd ${FETK_SRC}&lt;br /&gt;
$ gzip -dc maloc-0.1-2.tar.gz | tar xvf -&lt;br /&gt;
$ gzip -dc apbs-0.4.0.tar.gz | tar xvf -&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Compile MALOC&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ cd ${FETK_SRC}/maloc&lt;br /&gt;
$ ./configure --prefix=${FETK_PREFIX}&amp;lt;/source&amp;gt;&lt;br /&gt;
If everything went well, then&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ make; make install&amp;lt;/source&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Go get a coffee. Compilation/installation takes about 15 minutes on a 3GHz computer with 1GB of RAM.&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Now on to compiling APBS itself&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ cd ${FETK_SRC}/apbs-0.4.0&lt;br /&gt;
$ ./configure --prefix=${FETK_PREFIX}&amp;lt;/source&amp;gt;&lt;br /&gt;
If all goes well:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ make all; make install&amp;lt;/source&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;No time for coffee. Takes about 5 minutes on that fast computer.&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt; There will now be an APBS binary at&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;/usr/local/apbs-0.4.0/bin/i686-intel-linux/apbs&amp;lt;/source&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt; Make appropriate links&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ ln -s /usr/local/apbs-0.4.0/bin/i686-intel-linux/apbs /usr/local/bin/apbs&lt;br /&gt;
&amp;lt;/source&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt; Get rid of /&amp;lt;building directory dir&amp;gt;/temp_apbs&lt;br /&gt;
&amp;lt;LI&amp;gt; Open PyMOL and make sure that the APBS plugin points to /usr/local/bin/apbs&lt;br /&gt;
&amp;lt;LI&amp;gt; Rock and or Roll.&lt;br /&gt;
&amp;lt;/OL&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Pre-Packaged====&lt;br /&gt;
=====RPMs=====&lt;br /&gt;
&lt;br /&gt;
A variety of RPMs are available from the [http://sourceforge.net/project/showfiles.php?group_id=148472&amp;amp;package_id=163734&amp;amp;release_id=378273 APBS downloads website].  Again, please [http://agave.wustl.edu/apbs/download/ register] your use of the software if you have not yet done so.&lt;br /&gt;
&lt;br /&gt;
=====Debian packages=====&lt;br /&gt;
&lt;br /&gt;
For ubuntu and other debian linux distributions, probably the simplest thing is to download a promising looking rpm, convert it with the program [http://kitenet.net/programs/alien/ alien], and then install the [http://xanana.ucsc.edu/linux newly generated debian package] with the command&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo dpkg -i apbs*.deb&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Gentoo=====&lt;br /&gt;
&lt;br /&gt;
You have to install apbs and pdb2pqr. Both are masked via keywords atm. Type as root:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
echo sci-chemistry/pdb2pqr &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
echo sci-chemistry/apbs &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
emerge -av sci-chemistry/apbs sci-chemistry/pdb2pqr&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
* If the B-factor is &amp;lt;math&amp;gt;\geq 100,&amp;lt;/math&amp;gt; then APBS doesn't properly read in the PDB file and thus outputs garbage (or dies).  To fix this, set all b factors to be less than 100. &amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;alter all, b=min(b,99.9)&amp;lt;/source&amp;gt;  The problem stems from how to parse a PDB file.  The PDB file originally was written when most people used FORTRAN programs, and so the file format was specified by columns, not by the more modern comma separated value format we tend to prefer today.  For the latest on the PDB format see the [http://www.wwpdb.org/docs.html new PDB format docs].&lt;br /&gt;
* APBS has problems, sometimes, in reading atoms with alternate conformations.  You can remove the alternate locations with a simple script [[removeAlt]].&lt;br /&gt;
* ObjectMapLoadDXFile-Error: as of this writing (9-23-2008) a known problem exists, and the Baker lab is working on it. It is typically caused by the use of directories with spaces in their names under Windows.&lt;br /&gt;
&lt;br /&gt;
== Problems with the bundled version of APBS ==&lt;br /&gt;
There is an issue with the freemol version of APBS shipped with PyMOL 1.2r2 for OS X. &lt;br /&gt;
&lt;br /&gt;
=== Leopard and Snow Leopard (10.5 and 10.6) ===&lt;br /&gt;
There are three fairly easy ways to resolve it&lt;br /&gt;
&lt;br /&gt;
1. Download and install the most recent (post Dec. 1 2009) version of APBS from [http://www.poissonboltzmann.org/apbs/downloads]. Then copy the apbs binary into the freemol directory (mv it to /Applications/PyMOLX11Hybrid.app/pymol/freemol/bin/apbs.exe, overwriting the version that comes installed with PyMOL).&lt;br /&gt;
&lt;br /&gt;
2. Download [[File:Libgfortran.3.dylib.bz2]], unzip it (&amp;quot;bunzip2 libgfortran.3.dylib.gz2&amp;quot;) and move it to /usr/local/lib (&amp;quot;mv libgfortran.3.dylib /usr/local/lib&amp;quot; ... on some machines, you may need &amp;quot;sudo mv libgfortran.3.dylib /usr/local/lib&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
bunzip2 libgfortran.3.dylib.gz2&lt;br /&gt;
mv libgfortran.3.dylib /usr/local/lib&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Use macports to install gcc 4.4.2 and link the appropriate library (&amp;quot;ln -s /opt/local/lib/gcc44/libgfortran.3.dylib /usr/local/lib/libgfortran.3.dylib&amp;quot; ... on some machines, you may need &amp;quot;sudo ln -s /opt/local/lib/gcc44/libgfortran.3.dylib /usr/local/lib/libgfortran.3.dylib&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
ln -s /opt/local/lib/gcc44/libgfortran.3.dylib /usr/local/lib/libgfortran.3.dylib&lt;br /&gt;
sudo ln -s /opt/local/lib/gcc44/libgfortran.3.dylib /usr/local/lib/libgfortran.3.dylib&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you're curious, the problem is that APBS is dynamically linked, but Apple does not provide FORTRAN libraries.&lt;br /&gt;
&lt;br /&gt;
The version of libgfortran above is covered by the GNU General Public License (GPL). A copy of the GPL may be found at [http://www.gnu.org/licenses/licenses.html], and the source may be obtained from MacPorts ([http://www.macports.org/]).&lt;br /&gt;
&lt;br /&gt;
=== Tiger (10.4) ===&lt;br /&gt;
You'll need to install APBS yourself via MacPorts or via fink. Fink instructions may be found on the [[APBS]] page. Installation via MacPorts requires first installing MacPorts from [http://www.macports.org/] and then typing&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo port install apbs&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
from the command line. This process could easily take several hours on an older machine, as MacPorts will recompile gcc, gfortran, and several other packages along the way.&lt;br /&gt;
&lt;br /&gt;
==Using APBS==&lt;br /&gt;
There is a nice tutorial on the APBS homepage: [http://www.poissonboltzmann.org/apbs/examples/visualization/apbs-electrostatics-in-pymol] For further help, there is a mailing list [https://lists.sourceforge.net/lists/listinfo/apbs-users] with the corresponding archive [http://sourceforge.net/mailarchive/forum.php?forum_name=apbs-users]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Further contributions and edits are needed.==&lt;br /&gt;
&lt;br /&gt;
[[Category:Electrostatics]]&lt;br /&gt;
[[Category:Biochemical_Properties]]&lt;br /&gt;
[[Category:Plugins]]&lt;/div&gt;</summary>
		<author><name>Rendereason</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=APBS&amp;diff=4146</id>
		<title>APBS</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=APBS&amp;diff=4146"/>
		<updated>2010-10-29T15:12:25Z</updated>

		<summary type="html">&lt;p&gt;Rendereason: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
[[Image:Rna_surface_apbs.png|thumb|APBS-generated electrostatic surface displayed in PyMOL]]&lt;br /&gt;
[http://apbs.sourceforge.net APBS], the Adaptive Poisson-Boltzmann Solver, is a [http://www.oreilly.com/openbook/freedom/ freely] available macromolecular electrostatics calculation program released under the [http://www.gnu.org/copyleft/gpl.html GPL]. It is a cost-effective but uncompromised alternative to [http://trantor.bioc.columbia.edu/grasp/ GRASP], and it can be used within pymol.  Pymol can display the results of the calculations as an electrostatic potential molecular surface.&lt;br /&gt;
&lt;br /&gt;
=== APBS Plugin with New Features ===&lt;br /&gt;
PyMol currently supports the '''APBS plugin''' written by [http://pymolwiki.org/index.php/User:Mglerner Michael Lerner]. This plugin makes it possible to run APBS from within PyMOL, and then display the results as a color-coded electrostatic surface (units &amp;lt;math&amp;gt;K_bT/e_c&amp;lt;/math&amp;gt;) in the molecular display window (as with the image to the right).  This wiki page has updated instructions on how to download, install and use the plugin.&lt;br /&gt;
&lt;br /&gt;
'''Nucleic acids may prove problematic for the apbs plugin.''' If so, use the [http://pdb2pqr.sourceforge.net/ pdb2pqr] command-line tool to create a pqr file manually, instead of using the plugin to generate it. Then direct the APBS GUI on the [http://www-personal.umich.edu/~mlerner/PyMOL/images/main.png main menu] to read the pqr file you '''externally generated.'''&lt;br /&gt;
&lt;br /&gt;
There is a new version of the PyMOL-APBS plugin and it's now ready for pre-release. There are several big advantages of the new version:&lt;br /&gt;
&lt;br /&gt;
* It's been tested modern OS X, Windows and Linux systems and fixes several long-standing bugs.&lt;br /&gt;
* It allows you to call through to PDB2PQR directly.&lt;br /&gt;
* It allows you to show the electric field lines.&lt;br /&gt;
* It has two visualization panels to aid in showing multiple potential surfaces at once.&lt;br /&gt;
* It defaults to using PDB2PQR for PQR generation and APBS's psize.py for grid sizing/spacing.&lt;br /&gt;
* It has also an increased default maximum allowed memory since typical users have bigger and faster computers these days.&lt;br /&gt;
* It calls on the correct paths and binaries for apbs-mpi-openmpi.&lt;br /&gt;
&lt;br /&gt;
The main reason it is not included in the latest PyMOL release is to receive bug reports. Once it's shown to be stable, it'll be included in the next PyMOL release. See [http://pymolwiki.org/index.php/User:Mglerner Michael Lerner]'s page.&lt;br /&gt;
&lt;br /&gt;
==== How to get it ====&lt;br /&gt;
&lt;br /&gt;
There are two ways to get the new plugin&lt;br /&gt;
&lt;br /&gt;
* If you have subversion installed, you can always get the latest version via&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
svn co https://pymolapbsplugin.svn.sourceforge.net/svnroot/pymolapbsplugin/trunk/pymolapbsplugin&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
''Subversion is not up to date. Download it instead from the link below.''&lt;br /&gt;
&lt;br /&gt;
* You can download it from http://pymolapbsplugin.svn.sourceforge.net/viewvc/pymolapbsplugin/trunk/src/apbsplugin.py&lt;br /&gt;
&lt;br /&gt;
That should give you a file called apbsplugin.py&lt;br /&gt;
&lt;br /&gt;
Once you have the plugin, you can install it via PyMOL's plugin installer: Plugin --&amp;gt; Manage Plugins --&amp;gt; Install&lt;br /&gt;
&lt;br /&gt;
You may have to run PyMOL with sudo privileges.&lt;br /&gt;
&lt;br /&gt;
Note that the plugin will be installed as &amp;quot;APBS Tools2.1&amp;quot; so that you can continue to use your old version.&lt;br /&gt;
&lt;br /&gt;
Further details, as well as screen shots, are given [http://www.pymolwiki.org/index.php/MAC_Install#Install_APBS_and_friends_with_fink elsewhere in this wiki].&lt;br /&gt;
&lt;br /&gt;
==Required Dependencies==&lt;br /&gt;
[http://apbs.sourceforge.net APBS] and its dependencies like [http://pdb2pqr.sourceforge.net pdb2pqr] and [http://scicomp.ucsd.edu/~mholst/codes/maloc/ maloc] are [http://www.oreilly.com/openbook/freedom/ freely] available under the [http://www.gnu.org/copyleft/gpl.html GPL].  The author of the software however [http://agave.wustl.edu/apbs/download/ asks that users register] with him to aid him in obtaining grant funding.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
===Installing the Dependencies on OS X===&lt;br /&gt;
#First, [http://agave.wustl.edu/apbs/download/ register] your use of the software.  This will keep everyone happy.&lt;br /&gt;
#Second, if you don't already have the [http://fink.sourceforge.net fink package management system], now is a good time to get it. Here is a [http://xanana.ucsc.edu/~wgscott/xtal/wiki/index.php/Quick_Start quick-start set of instructions] for getting X-windows, compilers, and fink all installed. &lt;br /&gt;
#Once you are up and going, [http://xanana.ucsc.edu/~wgscott/xtal/wiki/index.php/How_to_Activate_the_Unstable_Branch activate the unstable branch in fink], and then issue the commands&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
fink self-update&lt;br /&gt;
fink install apbs&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
or if you want to use the multi-processor version, issue&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
fink self-update&lt;br /&gt;
fink install apbs-mpi-openmpi&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Then install the X-windows based version of pymol using the command&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
fink install pymol-py25&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
It is recommended to install the latest pdb2pqr as well as the APBS plugin makes use of it&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
fink install pdb2pqr&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Note that the fink version of PyMOL as of 1.3-4 does not have the latest version of the APBS plugin. Make sure you get the new version!&lt;br /&gt;
&lt;br /&gt;
===Installing the Dependencies on Linux===&lt;br /&gt;
&lt;br /&gt;
====From Scratch====&lt;br /&gt;
Note that this tutorial assumes you're using the bash shell and have root privileges&lt;br /&gt;
&amp;lt;OL&amp;gt;&amp;lt;LI&amp;gt;&lt;br /&gt;
Obtain APBS and MALOC from...&amp;lt;br&amp;gt;&lt;br /&gt;
APBS = http://apbs.sourceforge.net (currently 0.4)&amp;lt;br&amp;gt;&lt;br /&gt;
MALOC = http://www.fetk.org/codes/maloc/index.html#download (currently 0.1-2)&amp;lt;BR&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Set up some environment variables &amp;amp; directories (temporary for building)&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ export FETK_SRC=/&amp;lt;building directory&amp;gt;/temp_apbs&lt;br /&gt;
$ export FETK_PREFIX=/usr/local/apbs-0.4.0  (or wherever you want it to live)&lt;br /&gt;
$ export FETK_INCLUDE=${FETK_PREFIX}/include&lt;br /&gt;
$ export FETK_LIBRARY=${FETK_PREFIX}/lib&lt;br /&gt;
$ mkdir -p ${FETK_SRC} ${FETK_INCLUDE} ${FETK_LIBRARY}&lt;br /&gt;
&amp;lt;/source&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Unpack the source packages&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ cd ${FETK_SRC}&lt;br /&gt;
$ gzip -dc maloc-0.1-2.tar.gz | tar xvf -&lt;br /&gt;
$ gzip -dc apbs-0.4.0.tar.gz | tar xvf -&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Compile MALOC&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ cd ${FETK_SRC}/maloc&lt;br /&gt;
$ ./configure --prefix=${FETK_PREFIX}&amp;lt;/source&amp;gt;&lt;br /&gt;
If everything went well, then&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ make; make install&amp;lt;/source&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Go get a coffee. Compilation/installation takes about 15 minutes on a 3GHz computer with 1GB of RAM.&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;Now on to compiling APBS itself&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ cd ${FETK_SRC}/apbs-0.4.0&lt;br /&gt;
$ ./configure --prefix=${FETK_PREFIX}&amp;lt;/source&amp;gt;&lt;br /&gt;
If all goes well:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ make all; make install&amp;lt;/source&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt;No time for coffee. Takes about 5 minutes on that fast computer.&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt; There will now be an APBS binary at&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;/usr/local/apbs-0.4.0/bin/i686-intel-linux/apbs&amp;lt;/source&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt; Make appropriate links&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ ln -s /usr/local/apbs-0.4.0/bin/i686-intel-linux/apbs /usr/local/bin/apbs&lt;br /&gt;
&amp;lt;/source&amp;gt;&amp;lt;/LI&amp;gt;&lt;br /&gt;
&amp;lt;LI&amp;gt; Get rid of /&amp;lt;building directory dir&amp;gt;/temp_apbs&lt;br /&gt;
&amp;lt;LI&amp;gt; Open PyMOL and make sure that the APBS plugin points to /usr/local/bin/apbs&lt;br /&gt;
&amp;lt;LI&amp;gt; Rock and or Roll.&lt;br /&gt;
&amp;lt;/OL&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Pre-Packaged====&lt;br /&gt;
=====RPMs=====&lt;br /&gt;
&lt;br /&gt;
A variety of RPMs are available from the [http://sourceforge.net/project/showfiles.php?group_id=148472&amp;amp;package_id=163734&amp;amp;release_id=378273 APBS downloads website].  Again, please [http://agave.wustl.edu/apbs/download/ register] your use of the software if you have not yet done so.&lt;br /&gt;
&lt;br /&gt;
=====Debian packages=====&lt;br /&gt;
&lt;br /&gt;
For ubuntu and other debian linux distributions, probably the simplest thing is to download a promising looking rpm, convert it with the program [http://kitenet.net/programs/alien/ alien], and then install the [http://xanana.ucsc.edu/linux newly generated debian package] with the command&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo dpkg -i apbs*.deb&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Gentoo=====&lt;br /&gt;
&lt;br /&gt;
You have to install apbs and pdb2pqr. Both are masked via keywords atm. Type as root:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
echo sci-chemistry/pdb2pqr &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
echo sci-chemistry/apbs &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
emerge -av sci-chemistry/apbs sci-chemistry/pdb2pqr&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
* If the B-factor is &amp;lt;math&amp;gt;\geq 100,&amp;lt;/math&amp;gt; then APBS doesn't properly read in the PDB file and thus outputs garbage (or dies).  To fix this, set all b factors to be less than 100. &amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;alter all, b=min(b,99.9)&amp;lt;/source&amp;gt;  The problem stems from how to parse a PDB file.  The PDB file originally was written when most people used FORTRAN programs, and so the file format was specified by columns, not by the more modern comma separated value format we tend to prefer today.  For the latest on the PDB format see the [http://www.wwpdb.org/docs.html new PDB format docs].&lt;br /&gt;
* APBS has problems, sometimes, in reading atoms with alternate conformations.  You can remove the alternate locations with a simple script [[removeAlt]].&lt;br /&gt;
* ObjectMapLoadDXFile-Error: as of this writing (9-23-2008) a known problem exists, and the Baker lab is working on it. It is typically caused by the use of directories with spaces in their names under Windows.&lt;br /&gt;
&lt;br /&gt;
== Problems with the bundled version of APBS ==&lt;br /&gt;
There is an issue with the freemol version of APBS shipped with PyMOL 1.2r2 for OS X. &lt;br /&gt;
&lt;br /&gt;
=== Leopard and Snow Leopard (10.5 and 10.6) ===&lt;br /&gt;
There are three fairly easy ways to resolve it&lt;br /&gt;
&lt;br /&gt;
1. Download and install the most recent (post Dec. 1 2009) version of APBS from [http://www.poissonboltzmann.org/apbs/downloads]. Then copy the apbs binary into the freemol directory (mv it to /Applications/PyMOLX11Hybrid.app/pymol/freemol/bin/apbs.exe, overwriting the version that comes installed with PyMOL).&lt;br /&gt;
&lt;br /&gt;
2. Download [[File:Libgfortran.3.dylib.bz2]], unzip it (&amp;quot;bunzip2 libgfortran.3.dylib.gz2&amp;quot;) and move it to /usr/local/lib (&amp;quot;mv libgfortran.3.dylib /usr/local/lib&amp;quot; ... on some machines, you may need &amp;quot;sudo mv libgfortran.3.dylib /usr/local/lib&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
bunzip2 libgfortran.3.dylib.gz2&lt;br /&gt;
mv libgfortran.3.dylib /usr/local/lib&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Use macports to install gcc 4.4.2 and link the appropriate library (&amp;quot;ln -s /opt/local/lib/gcc44/libgfortran.3.dylib /usr/local/lib/libgfortran.3.dylib&amp;quot; ... on some machines, you may need &amp;quot;sudo ln -s /opt/local/lib/gcc44/libgfortran.3.dylib /usr/local/lib/libgfortran.3.dylib&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
ln -s /opt/local/lib/gcc44/libgfortran.3.dylib /usr/local/lib/libgfortran.3.dylib&lt;br /&gt;
sudo ln -s /opt/local/lib/gcc44/libgfortran.3.dylib /usr/local/lib/libgfortran.3.dylib&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you're curious, the problem is that APBS is dynamically linked, but Apple does not provide FORTRAN libraries.&lt;br /&gt;
&lt;br /&gt;
The version of libgfortran above is covered by the GNU General Public License (GPL). A copy of the GPL may be found at [http://www.gnu.org/licenses/licenses.html], and the source may be obtained from MacPorts ([http://www.macports.org/]).&lt;br /&gt;
&lt;br /&gt;
=== Tiger (10.4) ===&lt;br /&gt;
You'll need to install APBS yourself via MacPorts or via fink. Fink instructions may be found on the [[APBS]] page. Installation via MacPorts requires first installing MacPorts from [http://www.macports.org/] and then typing&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo port install apbs&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
from the command line. This process could easily take several hours on an older machine, as MacPorts will recompile gcc, gfortran, and several other packages along the way.&lt;br /&gt;
&lt;br /&gt;
==Using APBS==&lt;br /&gt;
There is a nice tutorial on the APBS homepage: [http://www.poissonboltzmann.org/apbs/examples/visualization/apbs-electrostatics-in-pymol] For further help, there is a mailing list [https://lists.sourceforge.net/lists/listinfo/apbs-users] with the corresponding archive [http://sourceforge.net/mailarchive/forum.php?forum_name=apbs-users]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Further contributions and edits are needed.==&lt;br /&gt;
&lt;br /&gt;
[[Category:Electrostatics]]&lt;br /&gt;
[[Category:Biochemical_Properties]]&lt;br /&gt;
[[Category:Plugins]]&lt;/div&gt;</summary>
		<author><name>Rendereason</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Talk:APBS&amp;diff=11</id>
		<title>Talk:APBS</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Talk:APBS&amp;diff=11"/>
		<updated>2010-07-20T23:04:37Z</updated>

		<summary type="html">&lt;p&gt;Rendereason: /* Making the default paths to work? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I've added some details about where and how to download and install apbs and its dependencies.  I have cross-referenced a description of how this can be done on OS X.  &lt;br /&gt;
&lt;br /&gt;
I've put a few very tentative lines in about linux.&lt;br /&gt;
&lt;br /&gt;
== Well done! ==&lt;br /&gt;
&lt;br /&gt;
Hey, thanks for this plugin.  It worked on an SMP 64-bit Linux machine with little effort.  Still crashes a bit, but the effort is worth it.&lt;br /&gt;
[[User:Inchoate|Tree]] 18:21, 21 February 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
== Question/Crash ==&lt;br /&gt;
&lt;br /&gt;
I ran APBS on 2ILK.  When I try to show the solv. acc. map, it computes something for a sec, then crashes taking PyMOL with it.  Is this common?  Any ideas on fixing it?  It's probably my lack of understanding on how APBS works.&lt;br /&gt;
[[User:Inchoate|Tree]] 07:40, 22 February 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
For me it doesn't crash, but asks me to calculate the pqr file myself. Than it calculates the map fine.&lt;br /&gt;
[[User:Desastre|Desastre]] 27 April 2008&lt;br /&gt;
&lt;br /&gt;
== Making the default paths to work? ==&lt;br /&gt;
&lt;br /&gt;
I saw a discussion in the Pymolbb dated April 15, 2010 [http://www.mail-archive.com/pymol-users@lists.sourceforge.net/msg07858.html] about the default paths for binaries, psize.py, and temp files not loading automatically or even saving the paths.&lt;br /&gt;
&lt;br /&gt;
I am wondering if anyone has solved this issue. &lt;br /&gt;
&lt;br /&gt;
After installing pymol through fink, none of the binaries show up. After installing pdb2pqr through fink, the apbs plugin (Apbs Tools 2) does load /sw/share/pdb2pqr/pdb2pqr.py automatically. However, after installing apbs-mpi-openmpi through fink, neither APBS binary nor APBS psize.py load. &lt;br /&gt;
&lt;br /&gt;
I have tried modifying apbs_tools.py (/sw/lib/pymol-py26/modules/pmg_tk/startup/apbs_tools.py) in lines 112 through 115 to:&lt;br /&gt;
APBS_BINARY_LOCATION = '/sw/bin/apbs-mpi-openmpi'&lt;br /&gt;
APBS_PSIZE_LOCATION = '/sw/share/apbs-mpi-openmpi/tools/manip/psize.py'&lt;br /&gt;
APBS_PDB2PQR_LOCATION = None&lt;br /&gt;
TEMPORARY_FILE_DIR = None&lt;br /&gt;
&lt;br /&gt;
My $APBS_PSIZE returns /sw/share/apbs-mpi-openmpi/tools/manip by default, as installed through fink. I use 64-bit fink, pymol 1.3, and Snow Leopard OSX.&lt;br /&gt;
&lt;br /&gt;
The default temporary file locations also do not work. I have also tried to make apbs plugin save these these to no avail.&lt;br /&gt;
&lt;br /&gt;
I hope a solution to this issue can be posted in the wiki.&lt;br /&gt;
&lt;br /&gt;
PS.: I have looked at the output from X11 when pymol loads, and it seems it tries to load &lt;br /&gt;
trying /sw/bin/apbs-mpi-openmpi/psize.py&lt;br /&gt;
trying '''/sw/share/apbs-mpi-openmpi/tools/manip/psize.py'''/psize.py&lt;br /&gt;
trying /sw/share/pdb2pqr/psize.py&lt;br /&gt;
&lt;br /&gt;
and &lt;br /&gt;
trying '''/sw/bin/apbs-mpi-openmpi'''/apbs.exe&lt;br /&gt;
trying /sw/share/apbs-mpi-openmpi/tools/manip/psize.py/apbs.exe&lt;br /&gt;
trying /sw/share/pdb2pqr/apbs.exe&lt;br /&gt;
trying /sw/share/apbs/tools/manip/apbs.exe&lt;br /&gt;
trying /sw/bin/apbs.exe&lt;br /&gt;
&lt;br /&gt;
Which are obviously wrong. The correct paths should be '''/sw/share/apbs-mpi-openmpi/tools/manip/psize.py''' and '''/sw/bin/apbs-mpi-openmpi'''.&lt;br /&gt;
--[[User:Rendereason|Rendereason]] 22:40, 20 July 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>Rendereason</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Talk:APBS&amp;diff=10</id>
		<title>Talk:APBS</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Talk:APBS&amp;diff=10"/>
		<updated>2010-07-20T22:54:29Z</updated>

		<summary type="html">&lt;p&gt;Rendereason: /* Making the default paths to work? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I've added some details about where and how to download and install apbs and its dependencies.  I have cross-referenced a description of how this can be done on OS X.  &lt;br /&gt;
&lt;br /&gt;
I've put a few very tentative lines in about linux.&lt;br /&gt;
&lt;br /&gt;
== Well done! ==&lt;br /&gt;
&lt;br /&gt;
Hey, thanks for this plugin.  It worked on an SMP 64-bit Linux machine with little effort.  Still crashes a bit, but the effort is worth it.&lt;br /&gt;
[[User:Inchoate|Tree]] 18:21, 21 February 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
== Question/Crash ==&lt;br /&gt;
&lt;br /&gt;
I ran APBS on 2ILK.  When I try to show the solv. acc. map, it computes something for a sec, then crashes taking PyMOL with it.  Is this common?  Any ideas on fixing it?  It's probably my lack of understanding on how APBS works.&lt;br /&gt;
[[User:Inchoate|Tree]] 07:40, 22 February 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
For me it doesn't crash, but asks me to calculate the pqr file myself. Than it calculates the map fine.&lt;br /&gt;
[[User:Desastre|Desastre]] 27 April 2008&lt;br /&gt;
&lt;br /&gt;
== Making the default paths to work? ==&lt;br /&gt;
&lt;br /&gt;
I saw a discussion in the Pymolbb dated April 15, 2010 [http://www.mail-archive.com/pymol-users@lists.sourceforge.net/msg07858.html] about the default paths for binaries, psize.py, and temp files not loading automatically or even saving the paths.&lt;br /&gt;
&lt;br /&gt;
I am wondering if anyone has solved this issue. &lt;br /&gt;
&lt;br /&gt;
After installing pymol through fink, none of the binaries show up. After installing pdb2pqr through fink, the apbs plugin (Apbs Tools 2) does load /sw/share/pdb2pqr/pdb2pqr.py automatically. However, after installing apbs-mpi-openmpi through fink, neither APBS binary nor APBS psize.py load. &lt;br /&gt;
&lt;br /&gt;
I have tried modifying apbs_tools.py (/sw/lib/pymol-py26/modules/pmg_tk/startup/apbs_tools.py) in lines 112 through 115 to:&lt;br /&gt;
APBS_BINARY_LOCATION = '/sw/bin/apbs-mpi-openmpi'&lt;br /&gt;
APBS_PSIZE_LOCATION = '/sw/share/apbs-mpi-openmpi/tools/manip/psize.py'&lt;br /&gt;
APBS_PDB2PQR_LOCATION = None&lt;br /&gt;
TEMPORARY_FILE_DIR = None&amp;lt;code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
My $APBS_PSIZE returns /sw/share/apbs-mpi-openmpi/tools/manip by default, as installed through fink. I use 64-bit fink and Snow Leopard OSX.&lt;br /&gt;
&lt;br /&gt;
The default temporary file locations also do not work. I have also tried to make apbs plugin save these these to no avail.&lt;br /&gt;
&lt;br /&gt;
I hope a solution to this issue can be posted in the wiki.&lt;br /&gt;
&lt;br /&gt;
PS.: I have looked at the output from X11 when pymol loads, and it seems it tries to load &lt;br /&gt;
trying /sw/bin/apbs-mpi-openmpi/psize.py&lt;br /&gt;
trying '''/sw/share/apbs-mpi-openmpi/tools/manip/psize.py'''/psize.py&lt;br /&gt;
trying /sw/share/pdb2pqr/psize.py&lt;br /&gt;
&lt;br /&gt;
and &lt;br /&gt;
trying '''/sw/bin/apbs-mpi-openmpi'''/apbs.exe&lt;br /&gt;
trying /sw/share/apbs-mpi-openmpi/tools/manip/psize.py/apbs.exe&lt;br /&gt;
trying /sw/share/pdb2pqr/apbs.exe&lt;br /&gt;
trying /sw/share/apbs/tools/manip/apbs.exe&lt;br /&gt;
trying /sw/bin/apbs.exe&lt;br /&gt;
&lt;br /&gt;
Which are obviously wrong. The correct paths should be /sw/share/apbs-mpi-openmpi/tools/manip/psize.py and /sw/bin/apbs-mpi-openmpi.&lt;br /&gt;
--[[User:Rendereason|Rendereason]] 22:40, 20 July 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>Rendereason</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Talk:APBS&amp;diff=9</id>
		<title>Talk:APBS</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Talk:APBS&amp;diff=9"/>
		<updated>2010-07-20T22:52:32Z</updated>

		<summary type="html">&lt;p&gt;Rendereason: /* Making the default paths to work? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I've added some details about where and how to download and install apbs and its dependencies.  I have cross-referenced a description of how this can be done on OS X.  &lt;br /&gt;
&lt;br /&gt;
I've put a few very tentative lines in about linux.&lt;br /&gt;
&lt;br /&gt;
== Well done! ==&lt;br /&gt;
&lt;br /&gt;
Hey, thanks for this plugin.  It worked on an SMP 64-bit Linux machine with little effort.  Still crashes a bit, but the effort is worth it.&lt;br /&gt;
[[User:Inchoate|Tree]] 18:21, 21 February 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
== Question/Crash ==&lt;br /&gt;
&lt;br /&gt;
I ran APBS on 2ILK.  When I try to show the solv. acc. map, it computes something for a sec, then crashes taking PyMOL with it.  Is this common?  Any ideas on fixing it?  It's probably my lack of understanding on how APBS works.&lt;br /&gt;
[[User:Inchoate|Tree]] 07:40, 22 February 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
For me it doesn't crash, but asks me to calculate the pqr file myself. Than it calculates the map fine.&lt;br /&gt;
[[User:Desastre|Desastre]] 27 April 2008&lt;br /&gt;
&lt;br /&gt;
== Making the default paths to work? ==&lt;br /&gt;
&lt;br /&gt;
I saw a discussion in the Pymolbb dated April 15, 2010 [http://www.mail-archive.com/pymol-users@lists.sourceforge.net/msg07858.html] about the default paths for binaries, psize.py, and temp files not loading automatically or even saving the paths.&lt;br /&gt;
&lt;br /&gt;
I am wondering if anyone has solved this issue. &lt;br /&gt;
&lt;br /&gt;
After installing pymol through fink, none of the binaries show up. After installing pdb2pqr through fink, the apbs plugin (Apbs Tools 2) does load /sw/share/pdb2pqr/pdb2pqr.py automatically. However, after installing apbs-mpi-openmpi through fink, neither APBS binary nor APBS psize.py load. &lt;br /&gt;
&lt;br /&gt;
I have tried modifying apbs_tools.py (/sw/lib/pymol-py26/modules/pmg_tk/startup/apbs_tools.py) in lines 112 through 115 to:&lt;br /&gt;
&amp;lt;code&amp;gt;APBS_BINARY_LOCATION = '/sw/bin/apbs-mpi-openmpi'&lt;br /&gt;
APBS_PSIZE_LOCATION = '/sw/share/apbs-mpi-openmpi/tools/manip/psize.py'&lt;br /&gt;
APBS_PDB2PQR_LOCATION = None&lt;br /&gt;
TEMPORARY_FILE_DIR = None&amp;lt;code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
My $APBS_PSIZE returns /sw/share/apbs-mpi-openmpi/tools/manip by default, as installed through fink. I use 64-bit fink and Snow Leopard OSX.&lt;br /&gt;
&lt;br /&gt;
The default temporary file locations also do not work. I have also tried to make apbs plugin save these these to no avail.&lt;br /&gt;
&lt;br /&gt;
I hope a solution to this issue can be posted in the wiki.&lt;br /&gt;
&lt;br /&gt;
PS.: I have looked at the output from X11 when pymol loads, and it seems it tries to load &lt;br /&gt;
trying /sw/bin/apbs-mpi-openmpi/psize.py&lt;br /&gt;
trying '''/sw/share/apbs-mpi-openmpi/tools/manip/psize.py'''/psize.py&lt;br /&gt;
trying /sw/share/pdb2pqr/psize.py&lt;br /&gt;
and &lt;br /&gt;
trying '''/sw/bin/apbs-mpi-openmpi'''/apbs.exe&lt;br /&gt;
trying /sw/share/apbs-mpi-openmpi/tools/manip/psize.py/apbs.exe&lt;br /&gt;
trying /sw/share/pdb2pqr/apbs.exe&lt;br /&gt;
trying /sw/share/apbs/tools/manip/apbs.exe&lt;br /&gt;
trying /sw/bin/apbs.exe&lt;br /&gt;
&lt;br /&gt;
Which are obviously wrong. The correct paths should be /sw/share/apbs-mpi-openmpi/tools/manip/psize.py and /sw/bin/apbs-mpi-openmpi.&lt;br /&gt;
--[[User:Rendereason|Rendereason]] 22:40, 20 July 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>Rendereason</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Talk:APBS&amp;diff=8</id>
		<title>Talk:APBS</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Talk:APBS&amp;diff=8"/>
		<updated>2010-07-20T22:40:10Z</updated>

		<summary type="html">&lt;p&gt;Rendereason: /* Making the default paths to work? */ new section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I've added some details about where and how to download and install apbs and its dependencies.  I have cross-referenced a description of how this can be done on OS X.  &lt;br /&gt;
&lt;br /&gt;
I've put a few very tentative lines in about linux.&lt;br /&gt;
&lt;br /&gt;
== Well done! ==&lt;br /&gt;
&lt;br /&gt;
Hey, thanks for this plugin.  It worked on an SMP 64-bit Linux machine with little effort.  Still crashes a bit, but the effort is worth it.&lt;br /&gt;
[[User:Inchoate|Tree]] 18:21, 21 February 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
== Question/Crash ==&lt;br /&gt;
&lt;br /&gt;
I ran APBS on 2ILK.  When I try to show the solv. acc. map, it computes something for a sec, then crashes taking PyMOL with it.  Is this common?  Any ideas on fixing it?  It's probably my lack of understanding on how APBS works.&lt;br /&gt;
[[User:Inchoate|Tree]] 07:40, 22 February 2008 (CST)&lt;br /&gt;
&lt;br /&gt;
For me it doesn't crash, but asks me to calculate the pqr file myself. Than it calculates the map fine.&lt;br /&gt;
[[User:Desastre|Desastre]] 27 April 2008&lt;br /&gt;
&lt;br /&gt;
== Making the default paths to work? ==&lt;br /&gt;
&lt;br /&gt;
I saw a discussion in the Pymolbb dated April 15, 2010 [http://www.mail-archive.com/pymol-users@lists.sourceforge.net/msg07858.html] about the default paths for binaries, psize.py, and temp files not loading automatically or even saving the paths.&lt;br /&gt;
&lt;br /&gt;
I am wondering if anyone has solved this issue. &lt;br /&gt;
&lt;br /&gt;
After installing pymol through fink, none of the binaries show up. After installing pdb2pqr through fink, the apbs plugin (Apbs Tools 2) does load /sw/share/pdb2pqr/pdb2pqr.py automatically. However, after installing apbs-mpi-openmpi through fink, neither APBS binary nor APBS psize.py load.&lt;br /&gt;
&lt;br /&gt;
I have tried modifying apbs_tools.py (/sw/lib/pymol-py26/modules/pmg_tk/startup/apbs_tools.py) in lines 112 through 115 to:&lt;br /&gt;
&amp;lt;nowiki&amp;gt;APBS_BINARY_LOCATION = '/sw/bin/apbs-mpi-openmpi'&lt;br /&gt;
APBS_PSIZE_LOCATION = '/sw/share/apbs-mpi-openmpi/tools/manip/psize.py'&lt;br /&gt;
APBS_PDB2PQR_LOCATION = None&lt;br /&gt;
TEMPORARY_FILE_DIR = None&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I hope a solution to this issue can be posted in the wiki.&lt;br /&gt;
--[[User:Rendereason|Rendereason]] 22:40, 20 July 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>Rendereason</name></author>
	</entry>
</feed>