Comments (4)
What compiler do you use?
from amgx.
I get this error too, with Visual Studio 2015. The C-compiler has this version string:
C:\Program Files (x86)\IntelSWTools>cl
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24215.1 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
Here is the output from the compilation in Visual Studio:
1> "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.2/bin/nvcc.exe" D:/oyvindj/gits/AMGX/base/src/amg.cu -c -o D:/oyvindj/gits/AMGX/build_92/base/CMakeFiles/amgx_base.dir/src/Debug/amgx_base_generated_amg.cu.obj -ccbin "C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin" -m64 -Xcompiler ,\"/DWIN32\",\"/D_WINDOWS\",\"/DNOMINMAX\",\"/W3\",\"/GR\",\"/EHsc\",\"/bigobj\",\"-openmp\",\"-DRAPIDJSON_DEFINED\",\"/D_DEBUG\",\"/Zl\",\"/Zi\",\"/Ob0\",\"/Od\",\"/RTC1\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" -gencode=arch=compute_52,code=\"sm_52,compute_52\" -gencode=arch=compute_60,code=\"sm_60,compute_60\" -gencode=arch=compute_70,code=\"sm_70,compute_70\" -g -G -DPROFILE -DAMGX_USE_CPU_PROFILER --Werror cross-execution-space-call -DNVCC -ID:/oyvindj/gits/AMGX/../../thrust -ID:/oyvindj/gits/AMGX/base/include "-IC:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.2/include" -ID:/oyvindj/gits/AMGX/external/rapidjson/include
1>D:\oyvindj\gits\AMGX\base\include\amgx_timer.h(88): error : identifier "t2" is undefined
1>
1>D:\oyvindj\gits\AMGX\base\include\amgx_timer.h(88): error : identifier "t1" is undefined
1>
1>D:\oyvindj\gits\AMGX\base\include\amgx_timer.h(127): error : no suitable user-defined conversion from "amgx::Times" to "std::vector<double, std::allocator<double>>" exists
An easy workaround is to undefine PROFILE and AMGX_USE_CPU_PROFILER.
from amgx.
A fix for the debug-build is to remove the PROFILE options from the DEBUG build, see this pull-request:
#42
Arguably we didn't want the profiling there to begin with.
But, once the profiling support gets fixed, we could consider re-enabling it in the debug build.
from amgx.
Hi Carl,
Sounds good. We will revisit profiling/ranging/debugging options at some point. Merged to unblock debug mode as of right now.
Thanks!
from amgx.
Related Issues (20)
- 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
- Caught amgx exception: Cannot allocate pinned memory HOT 3
- [Build] Error with thrust HOT 7
- [Issue]Caught amgx exception: SelectorFactory 'PMIS' has not been registered HOT 10
- "Cannot allocate pinned memory" error on a supercomputer HOT 5
- Caught amgx exception: getFixedSizesForView should not be called by a non-distributed matrix
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.