jmainpri / electromag-with-cuda Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/electromag-with-cuda
Automatically exported from code.google.com/p/electromag-with-cuda
================================================================================ : ElectroMag Project Overview ================================================================================ Copyright Alexandru Gagniuc ================================================================================ : Required packages ================================================================================ gcc-c++ (use other compilers at your own risk) OpenMP devel library (libgomp or the omp that comes with your compiler) Optional packages for Graphics display glew devel 1.5 or higher freeglut devel 2.6.0 or higher Working OpenGL/GLU headers and libraries (you most definitely have these) ================================================================================ : NOTES ================================================================================ 1) llvm/clang status: clang++ is not yet mature enough to compile electromag without errors. If you still wish to give it a try, change the CMAKE_C_COMPILER to clang, and CMAKE_CXX_COMPILER to clang++. 2) Older versions of gcc I have recieved several reports of compilation issues with gcc 4.1.2. gcc 4.4.4 and later should work fine. Earlier versions have known issues about some exotic c++ tricks which electromag uses. 3) Earlier versions of CMake Some distributions package old versions of cmake. You may edit CMakeLists.txt to select a lower cmake_minimum_required, but your your milage may vary. The best option is to upgrade your cmake. ================================================================================ : Compiling ================================================================================ 0) cd to trunk directory 1) $ mkdir build 2) $ cd build 3) $ cmake .. 4) Optional: select Release build using ccmake .. 5) $ make
What steps will reproduce the problem?
1. Compile ElectroMag with GCC
What is the expected output? What do you see instead?
Expected to compile and link.
Compiles, but linking generates the following error
In Electrostatics.coo: undefined reference to
CudaElectrosFunctor<float>::CudaElectrosFunctor();
Original issue reported on code.google.com by [email protected]
on 10 Feb 2010 at 3:17
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.