Skip to content

Interface for moving between Elemental and PETSC libraries

Notifications You must be signed in to change notification settings

stharakan/el2petsc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eventually will be an interface between Elemental and PETSC C++ libraries To use, make sure that PETSC_DIR and EL_DIR are defined (these are referenced in the makefile)

Current functions

- El2Petsc_vec: Elemental vector (VC,STAR only) --> PETSC vector

- Petsc2El_vec: PETSC vector --> Elemental vector (VC,STAR only)

See el_petsc_utils.hpp for function signatures and el_petsc_utils.cpp for source code

Testing

Run the following on maverick

make test 
cd runs/
./test_el2petsc

from this directory to create test_funcs.exe, an 
executable that will test functions above by creating a PETSC vector 
x = {0,1,2 ..}, and transforming it to Elemental and back. The next 
two lines will submit a couple jobs to test performance 

About

Interface for moving between Elemental and PETSC libraries

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published