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

Stefano Zampini stefano.zampini at gmail.com
Thu Oct 28 14:54:36 CDT 2021



> On Oct 28, 2021, at 10:52 PM, Rafael Monteiro da Silva <rafael.m.silva at alumni.usp.br> wrote:
> 
> Thank you Satish and Stefano for pointing me out how to do this.
> 
> Stefano, if I'm interpreting correctly, I could try to add build options I need to this script. Is that correct?

The script configures PETSc with default options for NEC. I don’t recommend changing compilation flags


> 
> First, I'll try to install (based on arch-necve.py script) and then, as Satish suggested, include additional build options.
> 

Good luck with building and running these external packages

> 
> Rafael.
> 
> Em qui., 28 de out. de 2021 às 16:38, Stefano Zampini <stefano.zampini at gmail.com <mailto:stefano.zampini at gmail.com>> escreveu:
> 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 <mailto: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/fc369890/attachment.html>


More information about the petsc-users mailing list