jasonlarkin / p3dfft

Automatically exported from code.google.com/p/p3dfft
GNU General Public License v3.0
0 stars 0 forks source link

Fix configure process to use ESSL #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently when --enable-essl is given, FFTW is also enabled and 
the process stalls. 

Original issue reported on code.google.com by dmitry...@gmail.com on 14 Jun 2010 at 8:41

GoogleCodeExporter commented 9 years ago
Should be able to work now. There was a typo in one of the options that was 
probably causing this behavior.

Original comment by masta.p...@gmail.com on 16 Jun 2010 at 6:02

GoogleCodeExporter commented 9 years ago
I get an error with configure - see attached config.log file

Original comment by dmitry...@gmail.com on 21 Jun 2010 at 9:49

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by dmitry...@gmail.com on 21 Jun 2010 at 9:50

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi Dr.,

I looked through the config.log file and think I might see the problem, however 
I'm not quite sure yet. Could you copy-paste what the configure script directly 
prints to the screen? Thanks.

Original comment by d4p...@ucsd.edu on 23 Jun 2010 at 11:08

GoogleCodeExporter commented 9 years ago
Added support for IBM compiler; configure script will now pass in a 
comma-separated list of compiler flags if IBM defined. The script saves each 
user requested option into an array and will output a string at the end that is 
separated by commas.

Original comment by masta.p...@gmail.com on 21 Jul 2010 at 3:31

GoogleCodeExporter commented 9 years ago
Went through and cleaned up the script. There were a few errors I noticed and 
fixed. Tested by compiling on Triton with PGI.

Original comment by masta.p...@gmail.com on 21 Jul 2010 at 11:15

GoogleCodeExporter commented 9 years ago
Configure script and FORTRAN kind changes now comply with IBM. The latest 
attempt to compile P3DFFT fails at the C drivers due to what appears to be a 
linking issue:

mpcc -DHAVE_CONFIG_H -I. -I../.. -I../../include/  -DIBM -DMEASURE -DSTRIDE1 
-DESSL -g    -q64 -DNUS_XCOMP -c driver_sine.c
mpcc  -q64 -DNUS_XCOMP   -o test_sine_c.x driver_sine.o ../../build/libp3dfft.a 

../../build/libp3dfft.a(module.o):(.text+0x4b0): undefined reference to 
`_xlfErrorExitWithLoc'
../../build/libp3dfft.a(module.o):(.text+0x500): undefined reference to 
`_xlfErrorExitWithLoc'
../../build/libp3dfft.a(module.o):(.text+0x550): undefined reference to 
`_xlfErrorExitWithLoc'
../../build/libp3dfft.a(module.o):(.text+0x5a0): undefined reference to 
`_xlfErrorExitWithLoc'
../../build/libp3dfft.a(module.o):(.text+0x5f0): undefined reference to 
`_xlfErrorExitWithLoc'
../../build/libp3dfft.a(module.o):(.text+0x640): more undefined references to 
`_xlfErrorExitWithLoc' follow
../../build/libp3dfft.a(module.o):(.text+0x7b8): undefined reference to 
`_xlfBeginIO'
../../build/libp3dfft.a(module.o):(.text+0x7d4): undefined reference to 
`_xlfWriteLDChar'
../../build/libp3dfft.a(module.o):(.text+0x7e0): undefined reference to 
`_xlfEndIO'
../../build/libp3dfft.a(module.o):(.text+0x5928): undefined reference to 
`__xlf_malloc'
../../build/libp3dfft.a(module.o):(.text+0x5970): undefined reference to 
`_xlfErrorExitWithLoc'
../../build/libp3dfft.a(module.o):(.text+0x7c0c): undefined reference to 
`__xlf_malloc'
../../build/libp3dfft.a(module.o):(.text+0x7c54): undefined reference to 
`_xlfErrorExitWithLoc'
../../build/libp3dfft.a(module.o):(.text+0x9148): undefined reference to 
`_xlfBeginIO'
../../build/libp3dfft.a(module.o):(.text+0x9164): undefined reference to 
`_xlfWriteLDChar'
../../build/libp3dfft.a(module.o):(.text+0x9170): undefined reference to 
`_xlfEndIO'
../../build/libp3dfft.a(module.o):(.text+0x94a8): undefined reference to 
`_xlfBeginIO'
../../build/libp3dfft.a(module.o):(.text+0x94c4): undefined reference to 
`_xlfWriteLDChar'
../../build/libp3dfft.a(module.o):(.text+0x94d0): undefined reference to 
`_xlfEndIO'
../../build/libp3dfft.a(module.o):(.text+0xed60): undefined reference to 
`_xlfErrorExitWithLoc'
../../build/libp3dfft.a(module.o):(.text+0xeda4): undefined reference to 
`_xlfErrorExitWithLoc'
../../build/libp3dfft.a(module.o):(.text+0xee04): undefined reference to 
`_xlfErrorExitWithLoc'
../../build/libp3dfft.a(module.o):(.text+0xee48): undefined reference to 
`_xlfErrorExitWithLoc'
../../build/libp3dfft.a(module.o):(.text+0xeea8): undefined reference to 
`_xlfErrorExitWithLoc'
../../build/libp3dfft.a(module.o):(.text+0xeeec): more undefined references to 
`_xlfErrorExitWithLoc' follow
../../build/libp3dfft.a(module.o):(.text+0xf74c): undefined reference to 
`__xlf_malloc'
../../build/libp3dfft.a(module.o):(.text+0xf798): undefined reference to 
`_xlfErrorExitWithLoc'
../../build/libp3dfft.a(module.o):(.text+0xf7dc): undefined reference to 
`_xlfErrorExitWithLoc'
../../build/libp3dfft.a(module.o):(.text+0xf7ec): undefined reference to 
`__xlf_malloc'
../../build/libp3dfft.a(module.o):(.text+0xf838): undefined reference to 
`_xlfErrorExitWithLoc'
../../build/libp3dfft.a(module.o):(.text+0xf87c): undefined reference to 
`_xlfErrorExitWithLoc'
../../build/libp3dfft.a(module.o):(.text+0xf8d0): undefined reference to 
`_xlfErrorExitWithLoc'
../../build/libp3dfft.a(module.o):(.text+0xf994): undefined reference to 
`_xlfBeginIO'
../../build/libp3dfft.a(module.o):(.text+0xf9b0): undefined reference to 
`_xlfWriteLDChar'
../../build/libp3dfft.a(module.o):(.text+0xf9e0): undefined reference to 
`_xlfWriteLDInt'
../../build/libp3dfft.a(module.o):(.text+0xf9ec): undefined reference to 
`_xlfEndIO'
../../build/libp3dfft.a(module.o):(.text+0xf9fc): undefined reference to 
`__xlf_malloc'
../../build/libp3dfft.a(module.o):(.text+0xfa80): undefined reference to 
`_xlfBeginIO'
../../build/libp3dfft.a(module.o):(.text+0xfa9c): undefined reference to 
`_xlfWriteLDChar'
../../build/libp3dfft.a(module.o):(.text+0xfac8): undefined reference to 
`_xlfWriteLDInt'
../../build/libp3dfft.a(module.o):(.text+0xfad4): undefined reference to 
`_xlfEndIO'
../../build/libp3dfft.a(module.o):(.text+0xfb44): undefined reference to 
`_xlfBeginIO'
../../build/libp3dfft.a(module.o):(.text+0xfb60): undefined reference to 
`_xlfWriteLDChar'
../../build/libp3dfft.a(module.o):(.text+0xfb8c): undefined reference to 
`_xlfWriteLDInt'
../../build/libp3dfft.a(module.o):(.text+0xfb98): undefined reference to 
`_xlfEndIO'
../../build/libp3dfft.a(module.o):(.text+0xfccc): undefined reference to 
`_xlfBeginIO'
../../build/libp3dfft.a(module.o):(.text+0xfce8): undefined reference to 
`_xlfWriteLDChar'
../../build/libp3dfft.a(module.o):(.text+0xfd04): undefined reference to 
`_xlfWriteLDInt'
../../build/libp3dfft.a(module.o):(.text+0xfd20): undefined reference to 
`_xlfWriteLDInt'
../../build/libp3dfft.a(module.o):(.text+0xfd3c): undefined reference to 
`_xlfWriteLDInt'
../../build/libp3dfft.a(module.o):(.text+0xfd58): undefined reference to 
`_xlfWriteLDInt'
../../build/libp3dfft.a(module.o):(.text+0xfd64): undefined reference to 
`_xlfEndIO'
../../build/libp3dfft.a(module.o):(.text+0xfdc0): undefined reference to 
`_xlfErrorExitWithLoc'
../../build/libp3dfft.a(module.o):(.text+0xfe04): undefined reference to 
`_xlfErrorExitWithLoc'
../../build/libp3dfft.a(module.o):(.text+0xfe60): undefined reference to 
`_xlfErrorExitWithLoc'
../../build/libp3dfft.a(module.o):(.text+0xfea4): undefined reference to 
`_xlfErrorExitWithLoc'
../../build/libp3dfft.a(module.o):(.text+0xff00): undefined reference to 
`_xlfErrorExitWithLoc'
../../build/libp3dfft.a(module.o):(.text+0xff44): more undefined references to 
`_xlfErrorExitWithLoc' follow
../../build/libp3dfft.a(module.o):(.text+0x1050c): undefined reference to 
`_xlfBeginIO'
../../build/libp3dfft.a(module.o):(.text+0x10528): undefined reference to 
`_xlfWriteLDChar'
../../build/libp3dfft.a(module.o):(.text+0x10534): undefined reference to 
`_xlfEndIO'
../../build/libp3dfft.a(module.o):(.text+0x10560): undefined reference to 
`_xlfBeginIO'
../../build/libp3dfft.a(module.o):(.text+0x1057c): undefined reference to 
`_xlfWriteLDChar'
../../build/libp3dfft.a(module.o):(.text+0x1059c): undefined reference to 
`_xlfWriteLDArray'
../../build/libp3dfft.a(module.o):(.text+0x105b8): undefined reference to 
`_xlfWriteLDChar'
../../build/libp3dfft.a(module.o):(.text+0x105d4): undefined reference to 
`_xlfWriteLDInt'
../../build/libp3dfft.a(module.o):(.text+0x105f0): undefined reference to 
`_xlfWriteLDChar'
../../build/libp3dfft.a(module.o):(.text+0x105fc): undefined reference to 
`_xlfEndIO'
../../build/libp3dfft.a(module.o):(.text+0x10604): undefined reference to 
`#ABORT'
../../build/libp3dfft.a(module.o):(.text+0x10630): undefined reference to 
`_xlfBeginIO'
../../build/libp3dfft.a(module.o):(.text+0x1064c): undefined reference to 
`_xlfWriteLDChar'
../../build/libp3dfft.a(module.o):(.text+0x10658): undefined reference to 
`_xlfEndIO'
../../build/libp3dfft.a(module.o):(.text+0x1067c): undefined reference to 
`_xlfBeginIO'
../../build/libp3dfft.a(module.o):(.text+0x10698): undefined reference to 
`_xlfWriteLDChar'
../../build/libp3dfft.a(module.o):(.text+0x106a4): undefined reference to 
`_xlfEndIO'
../../build/libp3dfft.a(module.o):(.text+0x106c8): undefined reference to 
`_xlfBeginIO'
../../build/libp3dfft.a(module.o):(.text+0x106e4): undefined reference to 
`_xlfWriteLDChar'
../../build/libp3dfft.a(module.o):(.text+0x106f0): undefined reference to 
`_xlfEndIO'
../../build/libp3dfft.a(module.o):(.text+0x106f8): undefined reference to 
`#ABORT'
../../build/libp3dfft.a(module.o):(.text+0x10724): undefined reference to 
`_xlfBeginIO'
../../build/libp3dfft.a(module.o):(.text+0x10740): undefined reference to 
`_xlfWriteLDChar'
../../build/libp3dfft.a(module.o):(.text+0x10758): undefined reference to 
`_xlfWriteLDInt'
../../build/libp3dfft.a(module.o):(.text+0x10770): undefined reference to 
`_xlfWriteLDInt'
../../build/libp3dfft.a(module.o):(.text+0x10788): undefined reference to 
`_xlfWriteLDInt'
../../build/libp3dfft.a(module.o):(.text+0x10794): undefined reference to 
`_xlfEndIO'
../../build/libp3dfft.a(module.o):(.text+0x1079c): undefined reference to 
`#ABORT'
../../build/libp3dfft.a(module.o):(.text+0x10930): undefined reference to 
`_xlfBeginIO'
../../build/libp3dfft.a(module.o):(.text+0x10948): undefined reference to 
`_xlfWriteLDInt'
../../build/libp3dfft.a(module.o):(.text+0x10960): undefined reference to 
`_xlfWriteLDChar'
../../build/libp3dfft.a(module.o):(.text+0x1097c): undefined reference to 
`_xlfWriteLDInt'
../../build/libp3dfft.a(module.o):(.text+0x10998): undefined reference to 
`_xlfWriteLDInt'
../../build/libp3dfft.a(module.o):(.text+0x109b4): undefined reference to 
`_xlfWriteLDInt'
../../build/libp3dfft.a(module.o):(.text+0x109cc): undefined reference to 
`_xlfWriteLDChar'
../../build/libp3dfft.a(module.o):(.text+0x109e4): undefined reference to 
`_xlfWriteLDCmplx'
../../build/libp3dfft.a(module.o):(.text+0x109f0): undefined reference to 
`_xlfEndIO'
../../build/libp3dfft.a(fft_init.o):(.text+0xec): undefined reference to `dcft'
../../build/libp3dfft.a(fft_init.o):(.text+0x21c): undefined reference to 
`dcrft'
../../build/libp3dfft.a(fft_init.o):(.text+0x37c): undefined reference to `dcft'
../../build/libp3dfft.a(fft_init.o):(.text+0x4c4): undefined reference to 
`drcft'
../../build/libp3dfft.a(fft_init.o):(.text+0x71c): undefined reference to 
`_xlfBeginIO'
../../build/libp3dfft.a(fft_init.o):(.text+0x738): undefined reference to 
`_xlfWriteLDChar'
../../build/libp3dfft.a(fft_init.o):(.text+0x744): undefined reference to 
`_xlfEndIO'
../../build/libp3dfft.a(fft_init.o):(.text+0x83c): undefined reference to 
`_xlfBeginIO'
../../build/libp3dfft.a(fft_init.o):(.text+0x858): undefined reference to 
`_xlfWriteLDChar'
../../build/libp3dfft.a(fft_init.o):(.text+0x864): undefined reference to 
`_xlfEndIO'
../../build/libp3dfft.a(fft_init.o):(.text+0x974): undefined reference to 
`_xlfBeginIO'
../../build/libp3dfft.a(fft_init.o):(.text+0x990): undefined reference to 
`_xlfWriteLDChar'
../../build/libp3dfft.a(fft_init.o):(.text+0x99c): undefined reference to 
`_xlfEndIO'
../../build/libp3dfft.a(fft_init.o):(.text+0xaac): undefined reference to 
`_xlfBeginIO'
../../build/libp3dfft.a(fft_init.o):(.text+0xac8): undefined reference to 
`_xlfWriteLDChar'
../../build/libp3dfft.a(fft_init.o):(.text+0xad4): undefined reference to 
`_xlfEndIO'
../../build/libp3dfft.a(fft_init.o):(.text+0xcc0): undefined reference to 
`_xlfErrorExitWithLoc'
../../build/libp3dfft.a(fft_init.o):(.text+0xd34): undefined reference to 
`_xlfErrorExitWithLoc'
../../build/libp3dfft.a(fft_init.o):(.text+0xda8): undefined reference to 
`_xlfErrorExitWithLoc'
../../build/libp3dfft.a(fft_init.o):(.text+0xed8): undefined reference to 
`_xlfErrorExitWithLoc'
../../build/libp3dfft.a(fft_exec.o):(.text+0x22c): undefined reference to `dcft'
../../build/libp3dfft.a(fft_exec.o):(.text+0x32c): undefined reference to `dcft'
../../build/libp3dfft.a(fft_exec.o):(.text+0x440): undefined reference to 
`dcrft'
../../build/libp3dfft.a(fft_exec.o):(.text+0x54c): undefined reference to `dcft'
../../build/libp3dfft.a(fft_exec.o):(.text+0x64c): undefined reference to `dcft'
../../build/libp3dfft.a(fft_exec.o):(.text+0x75c): undefined reference to 
`drcft'
make[3]: *** [test_sine_c.x] Error 1
make[3]: Leaving directory `/home/dmitryp/p3dfft-trunk/sample/C'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/dmitryp/p3dfft-trunk/sample'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dmitryp/p3dfft-trunk'
make: *** [all] Error 2

I'm guessing we just need to pass in some library to LDFLAGS to bypass this.

Original comment by masta.p...@gmail.com on 28 Jul 2010 at 1:20

GoogleCodeExporter commented 9 years ago
Issue was resolved by using Fortran loader instead of mpcc

Original comment by dmitry...@gmail.com on 9 Aug 2010 at 7:12