Bug #1525
closedace2correct need to be recompiled for fftw3.2 if used instead of 3.1 yum installed CentOS 6 version
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?
Updated by Neil Voss almost 13 years ago
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.
Updated by Neil Voss almost 13 years ago
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).
Updated by Neil Voss almost 13 years ago
Yeah, I checked,
ldd myami/appion/bin/ace2.exe not a dynamic executable
Updated by Anchi Cheng almost 13 years ago
ace2correct probably isn't static built, which is why I only had the problem at that part.
Updated by Neil Voss almost 13 years ago
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.
Updated by Anchi Cheng over 12 years ago
- 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?
Updated by Neil Voss over 12 years ago
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.
Updated by Jim Pulokas over 12 years ago
r16628: committed to svn a statically linked ace2correct.exe
Updated by Neil Voss over 12 years ago
- 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.
Updated by Anchi Cheng almost 7 years ago
- Status changed from New to Won't Fix or Won't Do
Updated by Anchi Cheng almost 7 years ago
the static built made this irrelevent