Menu

[fcfb75]: / COMPILE.txt  Maximize  Restore  History

Download this file

40 lines (26 with data), 1.3 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
The package and tests can be run using the supplied Makefile.
To compile the package and run the tests simply type
make
The compilation and testing can be done separately using
make lib
make tests
The compiler will report a few warnings such as
ada_lapack.adb:11596:10: info: code between label and backwards goto rewritten as loop
ada_lapack.adb:11622:10: info: code between label and backwards goto rewritten as loop
These can be safely ignored.
Each test, one for each of the Lapack routines, compares the output
of the test against existing correct output (found in
tests/output). In the normal state of affairs, when the code is
working correctly, you should expect to see no output from the
tests. To be doubly sure, look for files with the .diff extension
in the test directory. These files will be non-empty only when
there was a problem with that particular test.
Simon Wright has kindly provided a set of GNAT project files that can
be used to compile the package and any project that uses the package.
To compile the package type
gnatmake -p -P ada_lapack.gpr
To compile one of the test codes (say tdgeev) type
cd test
gnatmake -p -P tests.gpr -o tdgeev tdgeev.adb
It should be a simple matter to adapt these project files to your
own needs.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.