Coder Social home page Coder Social logo

Comments (18)

ningjiafei avatar ningjiafei commented on August 16, 2024

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.

ningjiafei avatar ningjiafei commented on August 16, 2024

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.

pyramidpoint avatar pyramidpoint commented on August 16, 2024

How to solve this problem

from amgx.

pyramidpoint avatar pyramidpoint commented on August 16, 2024

@P6(UKPB7TAWVGW@WT(AX53

from amgx.

marsaev avatar marsaev commented on August 16, 2024

@pyramidpoint it's possible that windows interprets backslashes as special characters. Try specify path to the configuration in OS-canonical way.

from amgx.

pyramidpoint avatar pyramidpoint commented on August 16, 2024

@pyramidpoint Windows可能会将反斜杠解释为特殊字符。尝试以OS-canonical方式指定配置的路径。
thank you
image

from amgx.

marsaev avatar marsaev commented on August 16, 2024

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.

pyramidpoint avatar pyramidpoint commented on August 16, 2024

@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.

ningjiafei avatar ningjiafei commented on August 16, 2024

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.

pyramidpoint avatar pyramidpoint commented on August 16, 2024

image
I changed the path a little bit but it doesn't feel like that's the reason

from amgx.

marsaev avatar marsaev commented on August 16, 2024

@pyramidpoint can you set environment variable CUDA_LAUNCH_BLOCKING=1 and try running same command again?

from amgx.

pyramidpoint avatar pyramidpoint commented on August 16, 2024

@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.

pyramidpoint avatar pyramidpoint commented on August 16, 2024

@marsaev @ningjiafei same mistake

from amgx.

pyramidpoint avatar pyramidpoint commented on August 16, 2024

@marsaev hi,I have another question,Why is my maximum memory usage equal to 0
image

from amgx.

pyramidpoint avatar pyramidpoint commented on August 16, 2024

@marsaev Hi,my "AMG" solver can't work ,I want know the reason,

from amgx.

marsaev avatar marsaev commented on August 16, 2024

@marsaev hi,I have another question,Why is my maximum memory usage equal to 0
image

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 avatar marsaev commented on August 16, 2024

@marsaev Hi,my "AMG" solver can't work ,I want know the reason,

What exact issue do you see?

from amgx.

marsaev avatar marsaev commented on August 16, 2024

Closing due to inactivity

from amgx.

Related Issues (20)

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.