Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

dbcavalcanti/linearSolver

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
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

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.