Re: [petsc-dev] aijkokkos solvers

2020-12-24 Thread Junchao Zhang
When is the deadline of your SC paper?
--Junchao Zhang


On Thu, Dec 24, 2020 at 6:44 PM Mark Adams  wrote:

> It does not look like aijkokkos is equipped with solves the way
> aijcusparse is.
>
> I would like to get a GPU direct solver for an SC paper on the Landau
> stuff with Cuda and Kokkos backends. This would be a good opportunity to
> get the kinks out of our whole TS on GPUs and publish it.  We should equip
> Kokkos with solvers anyway. (Kokkos kernels also has a Gauss-Seidel which
> would be handy).
>
> Any thoughts?
> Mark
>


[petsc-dev] aijkokkos solvers

2020-12-24 Thread Mark Adams
It does not look like aijkokkos is equipped with solves the way aijcusparse
is.

I would like to get a GPU direct solver for an SC paper on the Landau stuff
with Cuda and Kokkos backends. This would be a good opportunity to get the
kinks out of our whole TS on GPUs and publish it.  We should equip Kokkos
with solvers anyway. (Kokkos kernels also has a Gauss-Seidel which would be
handy).

Any thoughts?
Mark


Re: [petsc-dev] Gfortran Fix for "library not found for -lSystem" macOS Big Sur

2020-12-24 Thread Sean Farley via petsc-dev


Jacob Faibussowitsch  writes:

> If anyone is on macOS and using brew to get gfortran, you may find it 
> suddenly doesn’t work anymore.
>
> Fix is to add /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib to 
> $LIBRARY_PATH in startup shell file, as per this SO post.

TLDR; reinstall gcc and libgccjit (if you use that) from source if
you're on MacOS 11 (Big Sur)

$ brew reinstall gcc --build-from-source --force
$ brew reinstall libgccjit --build-from-source --force

Setting LIBRARY_PATH on MacOS is almost always a smell. I had this same
problem with libgccjit as gfortran did. Unfortunately, setting the
environment variable doesn't fix gcc's jit.

The binaries that Homebrew hosts are somehow misconfigured (I suspect
they weren't compiled on Big Sur and didn't pick up the new search path
for -lSystem).

After waiting (perhaps hours) for gcc to compile, things should work
without any environment variables being set. Also, the gfortran formula
is just a link to gcc so recompiling one will fix the fortran compiler.

Anyways, hope that helps.