Replacement for (mkl) pardiso for arm64 (Apple Silicon) [closed] - solver

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed yesterday.
Improve this question
For an academic numerical project we use as direct solvers mostly pardiso (from mkl) and cholmod. Now I switch to Apple Silicon (amazing fast, a quarter of the build time!) and cannot use Intel's mkl for native compiling any more.
For BLAS openblas runs fine
For positive definite systems cholmod
works fine
For non positive definite systems (where pardiso is great), I'm searching for a replacement
By 01.2022 there is no academic Pardiso available any more.

One could use Apple's Accelerate Framework instead of openBLAS. SuiteSparse finds it by default.
For non-positive definite systems, one can use umfpack from SuiteSparse. However it is (in my experience) slow compared to cholmod.

Related

Why can I run x86 binary on ARM? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I recently compiled a C program I wrote with gcc on my x86 intel MacBook - I downloaded this binary onto my M1 MacBook and it seems to run fine... This challenges my understanding because I figured it had to be complied for a specific instruction set (x86 in this case).. I wonder if there is some software layer in my MacBook automatically 'assembling' the x86 into ARM
Any ideas?
MacOS contains Rosetta 2 software that does dynamic binary translation from x86, so that x86 software can be run on the M1 CPU. Not quite as efficient as code compiled directly from C to AArch64 machine code, but it works.
You can read more here:
https://developer.apple.com/documentation/apple-silicon/about-the-rosetta-translation-environment
Stack Overflow has a tag for it: rosetta-2.
There's also a question on the Apple site: How does Rosetta 2 work? where answers point out that the translation is done once and cached, so it can spend significant time optimizing the translation. (For non-JITed x86 code.)
Apple decided to transition from Intel to arm processors, which is a big decision due to the number of applications developed for the intel architecture over the years.
The Arm and the Intel instruction set are different, and programs compiled for Intel's architecture cannot natively run on the Arm's architecture. The instruction sets are protected, and it is illegal for a company to copy the instruction set of a competitor.
Rosetta is the solution to this instruction set incompatibility problem. Rosetta is an instruction translation that transforms Intel instructions into arm instructions. The performance impact can be negligible due to the performances of the M1 chip but the long term solution is to recompile the x86_64 application to the M1 architecture. XCode has already released the toolchain for this.
If you want to dig into the subject I recommend this article about the difference between the Intel and Arm architecture.

Adapt embedded linux distribution to unsupported hardware board [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I need to adapt embedded linux distribution to an unsupported hardware. Actually im working on an embedded linux distribution.
Im lost from where to start. My question is, what factors should I consider before starting the configuration.
Im guessing drivers should be first on the list but Im not sure.
Can you help me to find a starting point and list the points and what should I pay attention for?
Kind regards
If you don't know the starting point, you won't be able to carry him all alone.
Probably you need to modify the first stage bootloader, adapt u-boot, the kernel drivers, the device tree, ...
You could use something like Yocto, but again, I don't see any chance that you will solve it all at your own.
Currently my company adapts Yocto to a new developed board, with a team of 15 people.

Difference between ARM and Intel? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
"Technically, however, they represent different philosophies: the ARM architecture is designed to be as simple as possible, to keep energy wastage to a minimum, whereas Intel's range uses a more complex design that benefits from compatibility with the company's (much more power-hungry) desktop and laptop CPUs." Well then why can't I run Windows on a raspberry Pi? Also, what is start4.elf?
Microsoft seems to know there are issues with Windows on ARM because it won't even sell you a copy of it. The company licenses the ARM version only to OEMs to pre-install on new systems. When asked if it would open up sales so people could run Windows on the new Macs, Microsoft said it had no plans at this time.
Start4.elf is a file that raspberry pi uses to boot.
Hope this helps!

how to run sgi-irix programs x64 windows? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I recently need to run a program Metro:
http://vcg.isti.cnr.it/downloads/downloads.htm
It is used to measure the difference between two 3d models.
However, this program has to be run in irix 6.2/6.3. But I only have a win8.1 laptop. Is there any way to run it in a shell like cygwin? Or is there any available virtual machine resource of irix platform?
Thanks!
The software you're trying to run is old enough to drive in most countries (compiled in 1998), and was compiled for an operating system that doesn't exist anymore (Irix) that ran on a CPU architecture that's no longer even used for desktop computers (MIPS-II) and was released by a company that doesn't exist anymore either (SGI).
Your chances of getting it to run are practically nil without some major retrocomputing work. Sorry.

Completely open sourced ARM board [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Improve this question
I am learning to customize the Linux kernel to make it portable on embedded systems. To test my customized kernel , i want a completely open sourced ARM board. I investigated the Raspberry pi but some it's firmware (i.e. "start.elf") is not open source. Can anybody name an ARM board which is completely open source?
Also are there any such board whose ROM/AVRAM contents can also be replaced?
Thank you !
If by "completely open source" you mean open source bootloader, kernel and OS (correct me if I'm wrong), then I would recommend one of Beagle family boards -- they are inexpensive, user friendly and have a good community support. Their open source stack consists of U-Boot, Linux kernel and one of few available distributions. If you need advanced features, check out EVM's by Texas Instrument, but they cost much more.
Jetson-TK1 from nvidia, is a developer platform,
does have u-boot loader, Linux Kernel and rootfs,
The board layout is also shared, you can recompile things for you.
It comes with 2GB RAM, a 2.3GHz Quad core processor, with GPU that is ready for CUDA kind of high level programming
http://www.newegg.com/Product/Product.aspx?Item=N82E16813190005

Resources