Homework exercises #3
Contents
Homework exercises #3¶
Code compilation and Makefile¶
Download FFT_serial.tgz
from
https://linuxcourse.rutgers.edu/summer2023/html/HW/FFT_serial.tgz
Untar the archive.
Compile the source code into binary file
fft.x
Create static library
libcfft.a
fromcffti.c
,ccopy.c
,cfft2.c
, andstep.c
files.Develop Makefile that include targets for
fft.x
, and librarylibcfft.a
Command grep and regular expressions¶
How many times is function cfft2
called in file fft_serial.c
?
Python script¶
Develop a python script that accomplishes the same task as command grep above.