Comments (18)
I debug the project amgx_capi,then shows:
Usage: ./amgx_capi [-mode [hDDI | hDFI | hFFI | dDDI | dDFI | dFFI]] [-m file] [-c config_file] [-amg "variable1=value1 ... variable3=value3"]
-mode: select the solver mode
-m file: read matrix stored in the file
-c: set the amg solver options from the config file
-amg: set the amg solver options from the command line
请按任意键继续. . .
I can't do anything
from amgx.
DONE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
PS E:\AMGXmaster\lib> examples/amgx_capi -m ../examples/matrix.mtx -c ../core/configs/FGMRES_AGGREGATION.json
AMGX version 2.0.0.130-opensource
Built on Mar 15 2019, 14:36:31
Compiled with CUDA Runtime 9.0, using CUDA driver 9.1
Warning: No mode specified, using dDDI by default.
Reading data...
RHS vector was not found. Using RHS b=[1,鈥?1]^T
Solution vector was not found. Setting initial solution to x=[0,鈥?0]^T
Finished reading
AMG Grid:
Number of Levels: 1
LVL ROWS NNZ SPRSTY Mem (GB)
--------------------------------------------------------------
0(D) 12 61 0.424 8.75e-07
--------------------------------------------------------------
Grid Complexity: 1
Operator Complexity: 1
Total Memory Usage: 8.75443e-07 GB
--------------------------------------------------------------
iter Mem Usage (GB) residual rate
--------------------------------------------------------------
Ini 0.730985 3.464102e+00
0 0.730985 1.619840e-14 0.0000
--------------------------------------------------------------
Total Iterations: 1
Avg Convergence Rate: 0.0000
Final Residual: 1.619840e-14
Total Reduction in Residual: 4.676075e-15
Maximum Memory Usage: 0.731 GB
--------------------------------------------------------------
Total Time: 0.0197452
setup: 0.00148221 s
solve: 0.018263 s
solve(per iteration): 0.018263 s
from amgx.
How to solve this problem
from amgx.
from amgx.
@pyramidpoint it's possible that windows interprets backslashes as special characters. Try specify path to the configuration in OS-canonical way.
from amgx.
@pyramidpoint Windows可能会将反斜杠解释为特殊字符。尝试以OS-canonical方式指定配置的路径。
thank you
from amgx.
What GPU do you have?
Which AMGX configuration is it?
Can you try running AMGX solver on sample matrix https://github.com/NVIDIA/AMGX/blob/master/examples/matrix.mtx
from amgx.
@marsaev on a 2060 rtx, with VS 2015, CMake 3.4.2,win10 and CUDA TK 9.0.I run AMGX solver on sample matrix before.But the above error occurred
from amgx.
What GPU do you have?
Which AMGX configuration is it?
Can you try running AMGX solver on sample matrix https://github.com/NVIDIA/AMGX/blob/master/examples/matrix.mtx
I can solve the sample and other matrices. You may pay attention to the path of .json and .mtx.
from amgx.
I changed the path a little bit but it doesn't feel like that's the reason
from amgx.
@pyramidpoint can you set environment variable CUDA_LAUNCH_BLOCKING=1 and try running same command again?
from amgx.
@marsaev I am working on my graduation project. Could you please add my qq or other contact information
and I have some other questions .Thank you!
My qq :1209294961
from amgx.
@marsaev @ningjiafei same mistake
from amgx.
@marsaev hi,I have another question,Why is my maximum memory usage equal to 0
from amgx.
@marsaev Hi,my "AMG" solver can't work ,I want know the reason,
from amgx.
@marsaev hi,I have another question,Why is my maximum memory usage equal to 0
Maximum memory usage is calculated only when multigrid is used. I would assume you are not using multigrid in the mentioned config.
from amgx.
@marsaev Hi,my "AMG" solver can't work ,I want know the reason,
What exact issue do you see?
from amgx.
Closing due to inactivity
from amgx.
Related Issues (20)
- Build issue with OMP requirement HOT 1
- AMGX 2.3.0 still indicates 2.2.0.132-opensource HOT 1
- Mixed precision modes not currently supported for CUDA 10.1 or later? HOT 2
- CMAKE [Build] error HOT 2
- [Build] v2.4.0 with Cuda 11.0 HOT 4
- Benchmarking HOT 1
- [Build] HOT 4
- Is there a way to reduce solve setup time? HOT 2
- [Build] Build Error with MVAPICH2-GDR HOT 5
- Seeking Advice on Configuring AMGX for Solving a Poorly-Conditioned Matrix Equation
- Seeking Advice on Configuring AMGX for Solving a Poorly-Conditioned Matrix Equation HOT 2
- [Issue] Recovering from out of memory error
- [Build] OKay to ENABLE NvToolsExt for Windows? HOT 2
- [Build] CMake Error in Windows with GCC HOT 3
- [Build] _NV_IF__NV_TARGET_BOOL_NV_PROVIDES_SM_90 is undefined HOT 1
- Error trying to build an app that uses AmgX HOT 6
- AMGX Fails to Converge to the Correct Solution HOT 2
- Seeking advice for setting up solver for finite element HOT 4
- [Issue]solution depends on the number of levels of AMG grid HOT 4
- AMGX crashed due to out of memory[Issue] HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amgx.