Magma 1.3.0 Shared Object

Open discussion for MAGMA library (Matrix Algebra on GPU and Multicore Architectures)

Magma 1.3.0 Shared Object

Postby marksieklucki » Wed Feb 13, 2013 11:35 pm


I'm trying to make use of MAGMA 1.3.0. I managed to create a static library and get a few of the tests working. When I attempted to create a shared object, I encountered significantly more issues.

Eventually, I managed to get things working, but I needed to apply the following fixes. Is there any way to get more robust support for creating a shared library in the next release?

Should be CC = gcc (without -shared)
NVOPTS should have -Xcompiler -fPIC

2. multiple definition of magmaSetDevice
Update *getrf2_mgpu.cpp to: static void magmaSetDevice

3. Makefile issues
Remove zhegvd_m.cpp from src/Makefile
Remove chegvd_m.cpp from src/Makefile.src

4. Multiple declarations of fillZero causes issues when creating shared lib
But fillZero is unused, so commented out code.

5. make lib does not work for shared libraries ( is written multiple
times) - Fix is to manually create the shared object after compilation (but, before make test).

I'm currently running cuda-4.2.9-rhel5.

Thank you!
Posts: 2
Joined: Wed Feb 13, 2013 9:10 am

Re: Magma 1.3.0 Shared Object

Postby mgates3 » Thu Feb 14, 2013 3:01 pm

Yes, we recognize some of these difficulties and have been working to fix them before the next release.
Posts: 566
Joined: Fri Jan 06, 2012 2:13 pm

Return to User discussion

Who is online

Users browsing this forum: Bing [Bot], JeffreyNeendy and 1 guest