Skip to content

dbcavalcanti/linearSolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple LIS Fortran test

This project builds LIS and uses it from a small Fortran program.

Files

linearSolver
|-- build.bat             Builds the complete project
|-- Makefile              Compiles and links the Fortran program
|-- ext
|   |-- build_ext.bat     Builds all external libraries
|   `-- lis
|       |-- build_lis.bat Builds LIS
|       `-- ...           LIS source code
|-- src\main.F90          Fortran test program
`-- build                 Generated when the project is built
    |-- obj               Intermediate compiler files
    `-- bin               Executable

Build

Open Command Prompt in the main project folder and run:

build.bat

The main build script:

  1. Builds the external libraries.
  2. Calls nmake using the root Makefile.
  3. The Makefile compiles src\main.F90 and links it with LIS.

If ext\lis\win\lis.lib already exists, LIS is not rebuilt. Delete that file before running build.bat if you want to force a new LIS build.

Run

After building, run:

build\bin\lis_test.exe

The last line should be:

LIS smoke test passed.

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors