GithubHelp home page GithubHelp logo

raptor-library / raptor Goto Github PK

View Code? Open in Web Editor NEW
57.0 13.0 11.0 23.26 MB

General, high performance algebraic multigrid solver

License: BSD 2-Clause "Simplified" License

C++ 88.97% CMake 6.92% Python 1.97% Jupyter Notebook 2.14%
mpi parallel sparse cpp multigrid krylov

raptor's Issues

segfault on test 5 or 6

there's a segfault on test 5 or 6 when i run

mpirun -n 2 ./benchmark.out

specifically i get an area saying

Test 4 - b0[0] = 0.000
Test 4 - b0[1] = 0.000

Test 4 - b0[2] = 0.000
Test 4 - b0[3] = 0.000

Test 5 - b0[0] = 0.000


===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   PID 6790 RUNNING AT Appa
=   EXIT CODE: 11
=   CLEANING UP REMAINING PROCESSES
=   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
===================================================================================
YOUR APPLICATION TERMINATED WITH THE EXIT STRING: Segmentation fault (signal 11)
This typically refers to a problem with your application.
Please see the FAQ page for debugging suggestions

add parameters to a json file

Parameters such as smoother, sweeps, iterations, etc should be expressed in some sort of config structure and set in a json file.

Complex Doubles and Long Integers

Change variables in raptor to RAPTOR_DOUBLE, RAPTOR_INT, RAPTOR_I, RAPTOR_F (or something similar) where RAPTOR_I can be int or long, and RAPTOR_F can be double or complex

when i compile raptor, error occurs

hi ,
I'm having some difficulties, when I type cmake .. under build and type make, I meet the following error:

[ 50%] Linking CXX executable test_par_scale_aniso
/usr/local/lib/liblapack.a(xerbla.o): In function `xerbla_':
xerbla.f:(.text+0x53): undefined reference to `_gfortran_st_write'
xerbla.f:(.text+0x5e): undefined reference to `_gfortran_string_len_trim'
xerbla.f:(.text+0x73): undefined reference to `_gfortran_transfer_character_write'
xerbla.f:(.text+0x83): undefined reference to `_gfortran_transfer_integer_write'
xerbla.f:(.text+0x8b): undefined reference to `_gfortran_st_write_done'
xerbla.f:(.text+0x94): undefined reference to `_gfortran_stop_string'
collect2: error: ld returned 1 exit status
raptor/util/tests/CMakeFiles/test_par_scale_aniso.dir/build.make:99: recipe for target 'raptor/util/tests/test_par_scale_aniso' failed
make[2]: *** [raptor/util/tests/test_par_scale_aniso] Error 1
CMakeFiles/Makefile2:1466: recipe for target 'raptor/util/tests/CMakeFiles/test_par_scale_aniso.dir/all' failed
make[1]: *** [raptor/util/tests/CMakeFiles/test_par_scale_aniso.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

I added the -lgfortran option when compiling LAPACK, but the problem is still not solved. Is this a LAPACK problem or should I add any compilation options in RAPtor?

Looking forward to your reply!

best wishes!

Python bindings?

As far as I know, raptor is a completely different implementation than PyAMG. Given that PyAMG still lacks parallelism support, are there any plans to have python bindings for raptor (along the lines of petsc4py and slepc4py)?

Question with aggregation using METIS

Hi, thanks for your previous reply to the compilation question.

I have another question to discuss with you about aggregating using Metis.

Due to Metis limitation on the number of segmented subgraphs, when the fine-grid layer matrix is large enough, Metis cannot aggregate enough coarse nodes (for example, the fine-grid layer has a million nodes, each two of which aggregates into points on the next layer of the grid, which will result in about 500,000 aggregates, and Metis cannot split a graph of this size). Do you have any good suggestions for this situation?

I look forward to receiving your reply, and I will benefit from any help you give me.

Best wishes

make in build isn't working

after i run
mkdir build cmake .. build
right when it's almost finished it gives me this error:
/usr/bin/ld: cannot find -lraptor collect2: error: ld returned 1 exit status make[2]: *** [examples/vecnorm] Error 1 make[1]: *** [examples/CMakeFiles/vecnorm.dir/all] Error 2 make: *** [all] Error 2

can't test until i fix this.i think it might have to do with how i have mpicxx instead of mpiCC. the result of this is when i try to run make for benchmark.cpp, is a compile error saying:
mpicxx -O2 -std=c++11 -I//home/mwang81/Desktop/olson/raptor/external/ -I//home/mwang81/Desktop/olson/raptor/raptor/ benchmark.cpp -L//home/mwang81/Desktop/olson/raptor/build/raptor -lraptor -o benchmark.out benchmark.cpp:13:35: fatal error: util/linalg/matmult.hpp: No such file or directory #include "util/linalg/matmult.hpp"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.