Re: [deal.II] dealii/spack on apple m1

2021-05-12 Thread Praveen C
Latest spack detects the cpu properly on apple m1. But installing deal.II via spack leads to many dependencies not able to compile. However, I could install and run deal.II via docker. It installed the ubuntu focal version, which seems to work. Compiling deal.II code under docker seems

Re: [deal.II] dealii/spack on apple m1

2021-04-16 Thread Praveen C
Thanks for pointing this out. I think these recent fixes should be the solution to compiling on M1. I will give it a try. best praveen > On 17-Apr-2021, at 12:26 AM, Jean-Paul Pelteret wrote: > > Dear Praveen, > > Even though you’re trying to install deal.II, it would seem that the issue >

Re: [deal.II] dealii/spack on apple m1

2021-04-16 Thread Jean-Paul Pelteret
Dear Praveen, Even though you’re trying to install deal.II, it would seem that the issue that you documented sysctl: unknown oid 'machdep.cpu.leaf7_features' sysctl: unknown oid 'machdep.cpu.vendor' sysctl: unknown oid 'machdep.cpu.model' sysctl: unknown oid 'machdep.cpu.leaf7_features' sysctl:

Re: [deal.II] dealii/spack on apple m1

2021-04-15 Thread Praveen C
Thank you for sharing your experience. So it looks like we cannot yet install spack natively, right ? > On 15-Apr-2021, at 12:08 PM, Alberto Salvadori > wrote: > > 1 - After opening a terminal rosetta, installing gcc, installing deal.ii via > spack and using gfortran from gcc installation,

Re: [deal.II] dealii/spack on apple m1

2021-04-15 Thread Alberto Salvadori
Hi Praveen, here is my experience on apple M1 and deal.ii. 1 - After opening a terminal rosetta, installing gcc, installing deal.ii via spack and using gfortran from gcc installation, it works just fine 2 - Even in a rosetta terminal, the current dmg package does not seem to work 3 - After

[deal.II] dealii/spack on apple m1

2021-04-14 Thread Praveen C
Dear all Has anyone succeeded in installing dealii via spack on an apple m1 ? What works/does not work ? spack gives me a spec but also gives some warnings $ spack spec dealii Input spec dealii Concretized sysctl: unknown oid