jasonlarkin / p3dfft

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

Implicit declaration warnings (timer functions) #56

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When compiling on NCSA Abe:

mpicc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include/  -DINTEL -DMEASURE 
-DFFTW -g    -O3 -xW -vec_report0 -c driver_sine.c
../../include/p3dfft.h(82): warning #266: function "p3dfft_mp_get_timers_" 
declared implicitly
    FORT_MOD_NAME(get_timers)(timers);
    ^

../../include/p3dfft.h(86): warning #266: function "p3dfft_mp_set_timers_" 
declared implicitly
    FORT_MOD_NAME(set_timers)();
    ^

mpicc  -O3 -xW -vec_report0  -lmpi_f90 -lmpi_f77 -limf -o test_sine_c.x  
driver_sine.o ../../build/libp3dfft.a 
/usr/apps/math/fftw/fftw-3.1.2/intel10/lib/libfftw3.a
mpicc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include/  -DINTEL -DMEASURE 
-DFFTW -g    -O3 -xW -vec_report0 -c driver_sine_inplace.c
../../include/p3dfft.h(82): warning #266: function "p3dfft_mp_get_timers_" 
declared implicitly
    FORT_MOD_NAME(get_timers)(timers);
    ^

../../include/p3dfft.h(86): warning #266: function "p3dfft_mp_set_timers_" 
declared implicitly
    FORT_MOD_NAME(set_timers)();
    ^

mpicc  -O3 -xW -vec_report0  -lmpi_f90 -lmpi_f77 -limf -o test_sine_inplace_c.x 
 driver_sine_inplace.o ../../build/libp3dfft.a 
/usr/apps/math/fftw/fftw-3.1.2/intel10/lib/libff
tw3.a
mpicc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include/  -DINTEL -DMEASURE 
-DFFTW -g    -O3 -xW -vec_report0 -c driver_rand.c
../../include/p3dfft.h(82): warning #266: function "p3dfft_mp_get_timers_" 
declared implicitly
    FORT_MOD_NAME(get_timers)(timers);
    ^

../../include/p3dfft.h(86): warning #266: function "p3dfft_mp_set_timers_" 
declared implicitly
    FORT_MOD_NAME(set_timers)();
    ^

mpicc  -O3 -xW -vec_report0  -lmpi_f90 -lmpi_f77 -limf -o test_rand_c.x  
driver_rand.o ../../build/libp3dfft.a 
/usr/apps/math/fftw/fftw-3.1.2/intel10/lib/libfftw3.a
mpicc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include/  -DINTEL -DMEASURE 
-DFFTW -g    -O3 -xW -vec_report0 -c driver_spec.c
../../include/p3dfft.h(82): warning #266: function "p3dfft_mp_get_timers_" 
declared implicitly
    FORT_MOD_NAME(get_timers)(timers);
    ^

../../include/p3dfft.h(86): warning #266: function "p3dfft_mp_set_timers_" 
declared implicitly
    FORT_MOD_NAME(set_timers)();
    ^

mpicc  -O3 -xW -vec_report0  -lmpi_f90 -lmpi_f77 -limf -o test_spec_c.x  
driver_spec.o ../../build/libp3dfft.a 
/usr/apps/math/fftw/fftw-3.1.2/intel10/lib/libfftw3.a
mpicc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include/  -DINTEL -DMEASURE 
-DFFTW -g    -O3 -xW -vec_report0 -c driver_inverse.c
../../include/p3dfft.h(82): warning #266: function "p3dfft_mp_get_timers_" 
declared implicitly
    FORT_MOD_NAME(get_timers)(timers);
    ^

../../include/p3dfft.h(86): warning #266: function "p3dfft_mp_set_timers_" 
declared implicitly
    FORT_MOD_NAME(set_timers)();
    ^

Original issue reported on code.google.com by d4p...@ucsd.edu on 24 Aug 2010 at 9:10

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Fix committed. Currently testing on Kraken.

Original comment by d4p...@ucsd.edu on 24 Aug 2010 at 11:41

GoogleCodeExporter commented 9 years ago

Original comment by d4p...@ucsd.edu on 24 Aug 2010 at 11:58