raptor-library / raptor Goto Github PK
View Code? Open in Web Editor NEWGeneral, high performance algebraic multigrid solver
License: BSD 2-Clause "Simplified" License
General, high performance algebraic multigrid solver
License: BSD 2-Clause "Simplified" License
static builds are forced right now:
https://github.com/raptor-library/raptor/blob/master/raptor/CMakeLists.txt#L22
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
allow both
Parameters such as smoother, sweeps, iterations, etc should be expressed in some sort of config structure and set in a json file.
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
settle on a common doc string
Using Gtest
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!
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)?
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
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"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.