[petsc-users] Installation on NEC SX-Aurora TSUBASA

Stefano Zampini stefano.zampini at gmail.com
Thu Oct 28 14:38:12 CDT 2021


Rafael

PETSc can be built for NEC vector engines. Here is a sample configure script https://gitlab.com/petsc/petsc/-/blob/main/config/examples/arch-necve.py <https://gitlab.com/petsc/petsc/-/blob/main/config/examples/arch-necve.py>
NEC blas lapack should be automatically used.

I don’t know if the packages you need will compile and run smoothly. Their C/C++ compiler is very buggy, and I had to resort compiling with -O1to get almost all PETSc  tests pass.
PETSc automatically uses this optimization flag if you compile using with-debugging=0. Do not use higher optimizations, unless you are willing to file bug reports to them


Stefano

> On Oct 28, 2021, at 10:12 PM, Rafael Monteiro da Silva <rafael.m.silva at alumni.usp.br> wrote:
> 
> Hello.
> 
> On my machine, for initial tests, I use the following options to install petsc:
> 
> PETSC_DIR=/home/rafael/petsc PETSC_ARCH=optimized-v3.15.5 --with-debugging=0 COPTFLAGS="-O3 -march=native -mtune=native" CXXOPTFLAGS="-O3 -march=native -mtune=native" FOPTFLAGS="-O3 -march=native -mtune=native" --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --download-fblaslapack --download-mpich --download-superlu_dist --download-metis --download-parmetis --download-mumps --download-scalapack --download-hdf5
> 
> I need to test our software in an environment with NEC SX-Aurora TSUBASA Vector Engine.
> Is there any resource where I can set up petsc to use Vector Engine?
> 
> Thank you!
> Regards,
> Rafael.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20211028/0d257989/attachment.html>


More information about the petsc-users mailing list