Topic: NAG LAPACK TEST

Thank you for cooperation.
I tried NAG LAPACK TEST by linux.
It's required bellow.
main program
include modules
specific libraly
I can build it by console.
gfortran -o dgbsv dgbsv.f90 -I.. ../libaux.a -lblas -llapack
(include modules and specific libraly are upper directory)
I can't build by Simply fortran.
How set up Simply fortran?

Re: NAG LAPACK TEST

I use Ubuntu 22.04 LTS.
I installed gcc ,gcortran ,LAPACK and BLAS by apt other than Symply fortran.

Re: NAG LAPACK TEST

You need to take three steps:

1. Add .. to the Include/Module Search Directories

2. Add .. to the Library Search Directories

3. Add the compiler flags.

First, open Project Options in Simply Fortran (from the Project menu).  Next, select the category "File Locations" in the Options window.  In the text box at the bottom next to the Browse button, you can actually just enter .. and click "Add."  Once done, switch to the Libraries tab in that same options category and repeat.

Finally, select the "Compiler Flags" category.  In the Linker box, add:

-laux -lblas -llapack

and click the Ok button.  Save the project to the directory where your source file is (via "Save Project" in the Project menu).  Now you should be able to build everything.

Jeff Armstrong
Approximatrix, LLC