28 lines
801 B
Markdown
28 lines
801 B
Markdown
# Numerical Analysis Homework 3
|
|
|
|
## Compile Alert
|
|
|
|
This source file contain UNIX `fork` function!!! please compile and run in Ubuntu.
|
|
|
|
when compiling source, must be included below c file
|
|
|
|
```makefile
|
|
nr/ansiother/nrutil.c nr/ansirecipes/gaussj.c nr/ansirecipes/ludcmp.c nr/ansirecipes/svdcmp.c nr/ansirecipes/mprove.c nr/ansirecipes/lubksb.c nr/ansirecipes/pythag.c main.c matutil.c
|
|
```
|
|
|
|
and include dir `nr/ansi/other` and `$(workspace)`(this folder)
|
|
|
|
cflags are:
|
|
```makefile
|
|
CFLAGS := -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -Wall -g -std=c90
|
|
LDFLAGS := -lm
|
|
```
|
|
|
|
**executable should be located in the same folder as the *.dat file.**
|
|
|
|
## Results & Report
|
|
|
|
Compile, build and run results are included in hw3.txt
|
|
|
|
The report is the output of a compilation executable.
|