Bug #1525
closed
ace2correct need to be recompiled for fftw3.2 if used instead of 3.1 yum installed CentOS 6 version
Added by Anchi Cheng almost 13 years ago.
Updated almost 7 years ago.
Status:
Won't Fix or Won't Do
Affected Version:
Appion/Leginon 2.1.0
Description
We stayed at 3.1 for php-mrc, I think. appiondev which I am testing CentOS 6 has fftw3.2 from Neil's testing and it works with redux. We may want to consider moving to it as recommended in [Compile_Ace_2_from_source]
Any preference?
From Craig:
3.2 should be fine... IIRC I was using 3.2 on my development machine and was disappointed we were stuck with 3.1 on Cent because 3.2 was ~20% faster in my testing. The only change in the API that I recall was they added a convenient flag for conditional creation of the fftw wisdom data.
I think I remember Craig compiling a static build of ace2, so that it included the 3.2 libraries.
Since it is a static build it probably does not need to be recompiled (ever).
Yeah, I checked,
ldd myami/appion/bin/ace2.exe
not a dynamic executable
ace2correct probably isn't static built, which is why I only had the problem at that part.
The binaries in subversion both are statically built, but if you compiled your own at sometime it would not be. You can check with the 'ldd' command.
- Assignee set to Neil Voss
Finally got back to this. /appion/bin/ace2correct.exe is a dynamic build because Dymitri made some changes. How do I statically build this?
As Craig said, you need to add the -static
to the gcc commands, so just add it to CFLAGS in the Makefile. But in order to compile programs statically you need to have the static libraries installed for all the libraries the program uses:
sudo yum install gsl-static glibc-static fftw-static
amibox01 was setup to do this, but I am sure you have reformated it by now. IRC FFTW needs to be version 3.2 or higher, because of the .fftwisdom file craig was using.
r16628: committed to svn a statically linked ace2correct.exe
- Tracker changed from Task to Bug
- Assignee changed from Neil Voss to Anchi Cheng
- Affected Version set to Appion/Leginon 2.1.0
- Show in known bugs set to No
please test new binaries in trunk.
- Status changed from New to Won't Fix or Won't Do
the static built made this irrelevent
Also available in: Atom
PDF