Project

General

Profile

Actions

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
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
01/18/2012
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 2.1.0
Show in known bugs:
No
Workaround:

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?


Related issues 1 (0 open1 closed)

Related to Appion - Task #1513: CentOS 6 installation of myami 3.0 errorsClosedAnchi Cheng01/18/2012

Actions
Actions #1

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.

Actions #2

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).

Actions #3

Updated by Neil Voss almost 13 years ago

Yeah, I checked,

ldd myami/appion/bin/ace2.exe
   not a dynamic executable

Actions #4

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.

Actions #5

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.

Actions #6

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?

Actions #7

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.

Actions #8

Updated by Jim Pulokas over 12 years ago

r16628: committed to svn a statically linked ace2correct.exe

Actions #9

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.

Actions #10

Updated by Anchi Cheng almost 7 years ago

  • Status changed from New to Won't Fix or Won't Do
Actions #11

Updated by Anchi Cheng almost 7 years ago

the static built made this irrelevent

Actions

Also available in: Atom PDF