<div dir="ltr">Thanks for examplation, Stefano.<div>I was referring to options for downloading external packages, like mumps.</div><div><br></div><div>My understanding is that I'll need to look for how to build those packages and check if they support nec vector engine, is that correct?</div><div><br></div><div>Rafael.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em qui., 28 de out. de 2021 às 16:54, Stefano Zampini <<a href="mailto:stefano.zampini@gmail.com">stefano.zampini@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><br><div><br><blockquote type="cite"><div>On Oct 28, 2021, at 10:52 PM, Rafael Monteiro da Silva <<a href="mailto:rafael.m.silva@alumni.usp.br" target="_blank">rafael.m.silva@alumni.usp.br</a>> wrote:</div><br><div><div dir="ltr">Thank you Satish and Stefano for pointing me out how to do this.<div><div><br></div><div>Stefano, if I'm interpreting correctly, I could try to add build options I need to this script. Is that correct?</div></div></div></div></blockquote><div><br></div><div>The script configures PETSc with default options for NEC. I don’t recommend changing compilation flags</div><div><br></div><br><blockquote type="cite"><div><div dir="ltr"><div><br></div><div>First, I'll try to install (based on arch-necve.py script) and then, as Satish suggested, include additional build options.</div><div><br></div></div></div></blockquote><div><br></div><div>Good luck with building and running these external packages</div><br><blockquote type="cite"><div><div dir="ltr"><div><br></div><div>Rafael.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em qui., 28 de out. de 2021 às 16:38, Stefano Zampini <<a href="mailto:stefano.zampini@gmail.com" target="_blank">stefano.zampini@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Rafael<div><br></div><div>PETSc can be built for NEC vector engines. Here is a sample configure script <a href="https://gitlab.com/petsc/petsc/-/blob/main/config/examples/arch-necve.py" target="_blank">https://gitlab.com/petsc/petsc/-/blob/main/config/examples/arch-necve.py</a></div><div>NEC blas lapack should be automatically used.</div><div><br></div><div>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.</div><div><div>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</div><div><br></div><div><br></div><div>Stefano</div><div><br><blockquote type="cite"><div>On Oct 28, 2021, at 10:12 PM, Rafael Monteiro da Silva <<a href="mailto:rafael.m.silva@alumni.usp.br" target="_blank">rafael.m.silva@alumni.usp.br</a>> wrote:</div><br><div><div dir="ltr">Hello.<div><br></div><div>On my machine, for initial tests, I use the following options to install petsc:</div><div><br></div><div>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<br></div><div><br></div><div>I need to test our software in an environment with NEC SX-Aurora TSUBASA Vector Engine.</div><div>Is there any resource where I can set up petsc to use Vector Engine?</div><div><br></div><div>Thank you!</div><div>Regards,</div><div>Rafael.</div></div>
</div></blockquote></div><br></div></div></blockquote></div>
</div></blockquote></div><br></div></blockquote></div>