cminpack | MINPACK software
kandi X-RAY | cminpack Summary
kandi X-RAY | cminpack Summary
C/C++ Minpack [Coverity Scan Build Status] "Coverity Badge").
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of cminpack
cminpack Key Features
cminpack Examples and Code Snippets
Community Discussions
Trending Discussions on cminpack
QUESTION
I need to solve a nonlinear system of equations and I found the MINPACK library to do the job. But I need the code to work with CUDA and I'm not able to compile the code.
I'm facing this problem:
...ANSWER
Answered 2021-Mar-03 at 23:18Based on talonmies's comment I was able to compile the code defining the __device__
function dpmpar
in main.cu
file.
Then I found this post https://forums.developer.nvidia.com/t/external-calls-to-device-functions/17737 where the guy answered that CUDA doesn't have a linker on the device side, so it's not possible to call a __device__
function from a different .cu
file.
With this in mind, I copied only the files that I needed from the library and made some modifications, like changing __cminpack_attr__
to __device__
and I rewrote the header file too. So basically I made my own device library (thank's again to talonmies's).
The last thing I did was move all this new files to the same folder where my main.cu
and my makefile
lives and I rewrote the makefile
.
Now the code compile fine!!
QUESTION
I have Portable Msys2.
I mean to install cminpack
.
As I understand, https://aur.archlinux.org/packages/mingw-w64-cminpack/ means such package is available. I expected then that the package shows up in the list of available packages, but
ANSWER
Answered 2019-Aug-05 at 18:02I think you got mixed between msys2 pacman and arch linux pacman
. What you have linked is an AUR repository for arch linux, not MSYS2. The utility used pacman
is taken over from arch linux, but that is all.
To search package for a packages within your repositories you really can use pacman -Ss
. If you can't find your package that means that within the installed repositories there is no such package.
If you can't find it you can always check the web: search within msys2 packages. If that is not enough you can do that search within all generated package MSYS2 history: packages at msys2 repositories.
I have check the repositories for your mingw-w64-cminpack
package and that is not available for msys2. You would have to cross-compile it yourself.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install cminpack
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page