dirname '/Applications/APBS.app/Contents/MacOS/apbs_term'
dirname '/Applications/APBS.app/Contents/MacOS/apbs_term'
/../Frameworks
cmake -DBUILD_TOOLS=OFF -DENABLE_PYTHON=OFF -DENABLE_OPENMP=OFF -DENABLE_iAPBS=ON -DBUILD_WRAPPER=ON -DENABLE_MPI=OFF ..
uname -a
is Linux 018dc623c045 4.9.13-moby #1 SMP Sat Mar 25 02:48:44 UTC 2017 x86_64 GNU/Linux
Note: The following floating-point exceptions are signalling: IEEE_DENORMAL
. When I ran gdb
and did some debugging, I found that it was caused by APBS. The best digging I could do is that it is caused somewhere during the initAPOL
routine in APBS, closely after Destroying multigrid structures.
is logged.
Vpmg_ibForce: No force for zero ionic strength!
mgF tot 17 -4.403e+01 -4.021e+01 -7.123e+01
mgF qf 17 -4.403e+01 -4.021e+01 -7.123e+01
mgF ib 17 0.000e+00 0.000e+00 0.000e+00
mgF db 17 -0.000e+00 -0.000e+00 -0.000e+00
Vpmg_ibForce: No force for zero ionic strength!
mgF tot 18 -1.777e+01 -6.556e+00 -1.234e+00
mgF qf 18 -1.834e+01 -8.440e+00 -1.483e+00
mgF ib 18 0.000e+00 0.000e+00 0.000e+00
mgF db 18 5.610e-01 1.883e+00 2.488e-01
Vpmg_ibForce: No force for zero ionic strength!
mgF tot 19 1.835e+00 4.241e+00 -3.509e+00
mgF qf 19 1.835e+00 4.241e+00 -3.509e+00
mgF ib 19 0.000e+00 0.000e+00 0.000e+00
mgF db 19 -0.000e+00 -0.000e+00 -0.000e+00
Vpmg_ibForce: No force for zero ionic strength!
mgF tot 20 4.713e+00 2.707e-01 3.614e+00
mgF qf 20 4.713e+00 2.707e-01 3.614e+00
mgF ib 20 0.000e+00 0.000e+00 0.000e+00
mgF db 20 -0.000e+00 -0.000e+00 -0.000e+00
Vpmg_ibForce: No force for zero ionic strength!
mgF tot 21 4.481e+00 -4.705e+00 2.504e+00
mgF qf 21 4.481e+00 -4.705e+00 2.504e+00
mgF ib 21 0.000e+00 0.000e+00 0.000e+00
mgF db 21 -0.000e+00 -0.000e+00 -0.000e+00
Destroying multigrid structures.
Program received signal SIGFPE: Floating-point exception - erroneous arithmetic operation.
Backtrace for this error:
#0 0x7EFEB284C407
#1 0x7EFEB284CA1E
#2 0x7EFEB1D690DF
#3 0x12A8062 in initAPOL
#4 0x1294B63 in apbsdrv_
#5 0x9E4099 in __iapbs_MOD_apbs at apbs.F90:782
#6 0xC69318 in __pbeq_MOD_pbeq0 at pbeq.F90:377
#7 0x405203 in maincomx_ at charmm_main.F90:1116
#8 0x4077F1 in charmm at charmm_main.F90:407
@jo-sm Sorry for the late response. For some reason the notification went to my spam folder. So from the error you described and giving a second look at your CMake build command could you try build APBS as:
cmake -DBUILD_TOOLS=OFF -DENABLE_PYTHON=OFF -DENABLE_OPENMP=OFF -DENABLE_iAPBS=ON -DBUILD_iAPBS_FORTRAN_WRAPPER=ON -DENABLE_MPI=OFF ..
Then try again. Hopefully this takes care of it.
apbs/contrib/iapbs/modules/CHARMM/
?
@ncclementi Depending on what level of detail you want and which system you are using you could use one of the following. If you are using a bash like terminal the bash command time will print the wall, user, and system time it took to run the script/command like so:
$time ./apbs inputFile.in
real 0m0.096s
user 0m0.084s
sys 0m0.008s
Also, if you are running the program locally on your computer APBS outputs the file io.mc
which contains a lot of information. Among others the timings of different APBS' procedures. However, you should copy or rename it after each run otherwise ABPS will append the new output to the same file.
Let me know if this helped. Thanks!!
read
mol pqr built_parse.pqr
end
# LYSOZYME SOLVATION ENERGY -- SOLVATED STATE
elec name lys-solv
mg-manual
dime 257 161 257
glen 50 40 50
# glen 69.43 61.38 77.82
gcent mol 1
mol 1
lpbe
bcfl mdh
ion charge 1 conc 0.15 radius 2.0
ion charge -1 conc 0.15 radius 2.0
pdie 4.0
sdie 80.00
chgm spl2
srfm mol
srad 1.4
swin 0.3
sdens 50.0
temp 300.00
calcenergy total
calcforce no
end
# LYSOZYME SOLVATION ENERGY -- REFERENCE STATE
elec name lys-ref
mg-manual
dime 257 161 257
glen 50 40 50
# glen 69.43 61.38 77.82
gcent mol 1
mol 1
lpbe
bcfl mdh
ion charge 1 conc 0.00 radius 2.0
ion charge -1 conc 0.00 radius 2.0
pdie 4.0
sdie 4.00
chgm spl2
srfm mol
srad 1.4
swin 0.3
sdens 50.0
temp 300.00
calcenergy total
calcforce no
end
# Lysozyme solvation energy
print elecEnergy lys-solv - lys-ref end
quit
Hello @Arvindiyer , could you give me a little more information about how you're building the program?
If the folder and file do exist, then it may be that you are calling CMake from a place where it can't reach the /src folder. I usually create a build folder in apbs' top level and build from there:
<apbs-top-level>$ mkdir build1 && cd build1
<apbs-top-level>/build1$ cmake <cmake-build-options> ..
<apbs-top-level>/build1$ make
Please let me know if this helped. Thanks!!
Hello everybody,
I tried to install apbs on my Computer and my Laptop. After unpacking all files, I tried to run apbs in from the bin folder. Two black boxes appear but immediately disappear again. Nothing else happens. Does anybody know what to do to fix this?
Best Stephan