Re: [petsc-users] Installing PETSc in Ubuntu 24.04 - check test error

2024-09-04 Thread Bodhinanda Chandra
Dear Satish and Barry, thanks for answering. This command: /usr/local/openmpi-4.1.5/bin/mpif90 -show outputs: gfortran -I/usr/local/openmpi-4.1.5/include -I/usr/local/openmpi-4.1.5/lib -L/usr/local/openmpi-4.1.5/lib -Wl,-rpath -Wl,/usr/local/openmpi-4.1.5/lib -Wl,--enable-new-dtags -lmpi_usempif

Re: [petsc-users] Installing PETSc in Ubuntu 24.04 - check test error

2024-09-03 Thread Satish Balay
what do you have for: /usr/local/openmpi-4.1.5/bin/mpif90 -show Also, can you try: make check FFLAGS=-Wno-maybe-uninitialized Satish On Tue, 3 Sep 2024, Barry Smith wrote: > >This is fine. Just an over-enthusiastic compiler > >Barry > > > > On Sep 3, 2024, at 9:43 PM, Bodhinanda

Re: [petsc-users] Installing PETSc in Ubuntu 24.04 - check test error

2024-09-03 Thread Barry Smith
This is fine. Just an over-enthusiastic compiler Barry > On Sep 3, 2024, at 9:43 PM, Bodhinanda Chandra wrote: > > Dear PETSc community, > > I recently tried to install PETSc in Ubuntu 24.04. All seems to work fine, > but one of the check tests ex5f thow the following errors: > > --

[petsc-users] Installing PETSc in Ubuntu 24.04 - check test error

2024-09-03 Thread Bodhinanda Chandra
Dear PETSc community, I recently tried to install PETSc in Ubuntu 24.04. All seems to work fine, but one of the check tests ex5f thow the following errors: Running PETSc check examples to verify

Re: [petsc-users] installing petsc via spack on ac922 (a summit like system)

2020-03-10 Thread Satish Balay via petsc-users
Glad it worked! Thanks for the update. Satish On Tue, 10 Mar 2020, Cameron Smith wrote: > Thank you. > > Using the spack spec > > petsc@3.7.7 ~hdf5 ~hypre ~superlu-dist cflags=-qsmp=omp fflags=-qsmp=omp > cxxflags=-qsmp=omp > > and passing the same flags to a manual (non-spack) petsc 3.7.7 bu

Re: [petsc-users] installing petsc via spack on ac922 (a summit like system)

2020-03-10 Thread Cameron Smith
Thank you. Using the spack spec petsc@3.7.7 ~hdf5 ~hypre ~superlu-dist cflags=-qsmp=omp fflags=-qsmp=omp cxxflags=-qsmp=omp and passing the same flags to a manual (non-spack) petsc 3.7.7 build produced installs that do not list xlomp_ser in the configure.log. Thank-you, Cameron On 3/10/20

Re: [petsc-users] installing petsc via spack on ac922 (a summit like system)

2020-03-10 Thread Satish Balay via petsc-users
Created an MR for this change https://gitlab.com/petsc/petsc/-/merge_requests/2593 Satish On Tue, 10 Mar 2020, Satish Balay via petsc-users wrote: > Another option is to strip out -lxlomp_ser when parsing 'xlc -V' [as its a > common library for all 3 language compilers]. i.e the following chan

Re: [petsc-users] installing petsc via spack on ac922 (a summit like system)

2020-03-10 Thread Satish Balay via petsc-users
Another option is to strip out -lxlomp_ser when parsing 'xlc -V' [as its a common library for all 3 language compilers]. i.e the following change [this change is on current maint - but similar change can be done with petsc-3.7].. [This is easier than changing the order in which --with-openmp opt

Re: [petsc-users] installing petsc via spack on ac922 (a summit like system)

2020-03-10 Thread Cameron Smith
That makes sense. Thank you. -Cameron On 3/10/20 9:25 AM, Satish Balay wrote: PETSc configure attempts to check for compiler libraries [so that one can mix and use c,c++,fortran codes with a c linker] by running compilers in verbose mode - and parsing the output. [i.e checkCLibraries(), check

Re: [petsc-users] installing petsc via spack on ac922 (a summit like system)

2020-03-10 Thread Satish Balay via petsc-users
PETSc configure attempts to check for compiler libraries [so that one can mix and use c,c++,fortran codes with a c linker] by running compilers in verbose mode - and parsing the output. [i.e checkCLibraries(), checkFortranLibraries() ..] Here IBM compiler is using different library internally bas

Re: [petsc-users] installing petsc via spack on ac922 (a summit like system)

2020-03-10 Thread Cameron Smith
Thank you. I'll give that a shot. Out of curiosity, how does passing the openmp flags relate to the '--with-openmp' option described here: https://www.mcs.anl.gov/petsc/documentation/installation.html under 'Installing packages that utilize OpenMP'? Is this just passing the openmp flags in

Re: [petsc-users] installing petsc via spack on ac922 (a summit like system)

2020-03-10 Thread Satish Balay via petsc-users
BTW: You might be able to do the same via spack. spack install petsc@3.7.7 ~hdf5 ~hypre ~superlu-dist cflags=-fopenmp fflags=-fopenmp cxxflags=-fopenmp Satish On Tue, 10 Mar 2020, Satish Balay via petsc-users wrote: > Cameron, > > You can try changing following petsc configure options and see

Re: [petsc-users] installing petsc via spack on ac922 (a summit like system)

2020-03-10 Thread Satish Balay via petsc-users
Cameron, You can try changing following petsc configure options and see if that works.. [i.e build petsc manually] CFLAGS=-fopenmp FFLAGS=-fopenmp CXXFLAGS=-fopenmp Satish On Tue, 10 Mar 2020, Cameron Smith wrote: > Thank you Mark. > > The configure.log is attached. > > Please let me know i

Re: [petsc-users] installing petsc via spack on ac922 (a summit like system)

2020-03-10 Thread Mark Adams
Hi Cameron, This can go on the list and we always want the configure.log file. I build on Summit, but have not used the XL compilers. I've built 3.7.7 with GNU and PGI. (XGC usually wants PGI) On Mon, Mar 9, 2020 at 11:27 PM Cameron Smith wrote: > Hello, > > I'm installing petsc 3.7.7 on a s

Re: [petsc-users] Installing PETSc

2019-02-05 Thread Jed Brown via petsc-users
Fazlul Huq via petsc-users writes: > Hello PETSc Developers, > > may be this is a trivial question! > > I usually run PETSc code from Home/petsc-3.10.2 directory. Last day I tried > to run the code from Documents/petsc directory but I can't. As far as I can > recall, I have installed PETSc in the

Re: [petsc-users] Installing PETSc

2019-02-05 Thread Balay, Satish via petsc-users
On Tue, 5 Feb 2019, Fazlul Huq via petsc-users wrote: > Hello PETSc Developers, > > may be this is a trivial question! > > I usually run PETSc code from Home/petsc-3.10.2 directory. Last day I tried > to run the code from Documents/petsc directory but I can't. I don't know what you mean here -

Re: [petsc-users] installing PETSc with mkl_pardiso solver

2016-06-30 Thread Satish Balay
Our current build works with: Configure Options: --configModules=PETSc.Configure --optionsModule=config.compilerOptions CC=icc CXX=icpc FC=ifort --with-blas-lapack-dir=/soft/com/packages/intel/15/update3/mkl --with-mkl_pardiso-dir=/soft/com/packages/intel/15/update3/mkl --download-mpich=1 --wi

[petsc-users] installing PETSc with mkl_pardiso solver

2016-06-30 Thread Hoffman, Galen
Greetings, I have been trying to install PETSc v3.7.2 with the MKL Pardiso add-on. I have been using the instructions at the bottom of the webpage at https://www.mcs.anl.gov/petsc/documentation/changes/35.html, which require setting the following options for the PETSc configuration: --blas-la

Re: [petsc-users] Installing petsc on Linux with Intel mpi

2015-02-09 Thread Jed Brown
Wee Beng Tay writes: > Hi, > > I'm using the latest version 5 update 1,just installed 1 wk ago. Why are you installing such an old version now? Satish wasn't joking around when he said you need at least Update 2. Earlier versions return 0 for failure making it impossible to test for features.

Re: [petsc-users] Installing petsc on Linux with Intel mpi

2015-02-09 Thread Barry Smith
You need always to send configure.log when a configure fails. Barry > On Feb 9, 2015, at 5:30 PM, Wee Beng Tay wrote: > > Hi, > > I'm trying to install petsc on Linux with Intel mpi 5 and compiler. What > should be the configure > Command line to use? Anyone has experience? > > I tried

Re: [petsc-users] Installing petsc on Linux with Intel mpi

2015-02-09 Thread Wee Beng Tay
Hi, I'm using the latest version 5 update 1,just installed 1 wk ago. Compiling of code uses mpiicc, mpiifort.  Compiling a hello mpi code works. Sent using CloudMagic On Tue, Feb 10, 2015 at 7:43 am, Satish Balay wrote:Which version of IMPI do you have? Make sure you have t

Re: [petsc-users] Installing petsc on Linux with Intel mpi

2015-02-09 Thread Satish Balay
Which version of IMPI do you have? Make sure you have the following (or newer?) - as it has the required fixes. https://software.intel.com/en-us/articles/intel-mpi-library-50-update-2-readme Satish On Mon, 9 Feb 2015, Wee Beng Tay wrote: > > Hi, > > I'm trying to install petsc on Linux with

[petsc-users] Installing petsc on Linux with Intel mpi

2015-02-09 Thread Wee Beng Tay
Hi, I'm trying to install petsc on Linux with Intel mpi 5 and compiler. What should be the configure Command line to use? Anyone has experience? I tried the usual options but they all can't work. Thanks Sent using CloudMagic

Re: [petsc-users] installing petsc with scalapack from mkl

2013-07-18 Thread Inge Gutheil
The configure finally worked when I added '--with-scalapack-include=/usr/local/intel/Composer/composer_xe_2011_sp1.10.319/mkl/include', There is an mkl_scalapck.h in that directory. It did not work with MKLPATH and with empty path I got a python error, perhaps I added a blank where I should not h

Re: [petsc-users] installing petsc with scalapack from mkl

2013-07-17 Thread Satish Balay
On Wed, 17 Jul 2013, Matthew Knepley wrote: > > 1) Please do not send logs to petsc-users, send them to > petsc-ma...@mcs.anl.gov since the reorg of mailing lists - Its now acceptalble to post logs on mailing lists. [and one doesn't need to subscribe to mailing lists] Satish

Re: [petsc-users] installing petsc with scalapack from mkl

2013-07-17 Thread Matthew Knepley
On Wed, Jul 17, 2013 at 2:47 AM, Inge Gutheil wrote: > Hello, > I tried this and got the following error: > 1) Please do not send logs to petsc-users, send them to petsc-ma...@mcs.anl.gov 2) The logic is wrong here. We are requiring you to also specify an empty --with-scalapack-include=[],

Re: [petsc-users] installing petsc with scalapack from mkl

2013-07-16 Thread Satish Balay
On Tue, 16 Jul 2013, Michael Povolotskyi wrote: > Thank you. > Can I use dynamic libraries for scalapack and blas? yes, when compiler sees -lfoo - it looks for libfoo.so first.. You can also use; --with-scalapack-lib="/opt/intel/mkl//lib/intel64/libmkl_scalapack_lp64.so /opt/intel/mkl//lib/int

Re: [petsc-users] installing petsc with scalapack from mkl

2013-07-16 Thread Michael Povolotskyi
Thank you. Can I use dynamic libraries for scalapack and blas? On 07/16/2013 11:27 AM, Satish Balay wrote: Try: --with-scalapack-lib="-L/opt/intel/mkl//lib/intel64 -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64" BLACS is now part of scalapack-2 [which petsc-3.4 uses] - but mkl has blas/scal

Re: [petsc-users] installing petsc with scalapack from mkl

2013-07-16 Thread Satish Balay
Try: --with-scalapack-lib="-L/opt/intel/mkl//lib/intel64 -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64" BLACS is now part of scalapack-2 [which petsc-3.4 uses] - but mkl has blas/scalapack split. So you would have to specify both libs with the --with-scalapack-lib option. Satish On Tue, 16

[petsc-users] Installing Petsc

2012-08-04 Thread Matthew Knepley
On Sat, Aug 4, 2012 at 8:50 AM, Dharmendar Reddy wrote: > Hello Matthew, >I Do i need to download the external packages > again? I mean, if i give the download options again and add debuggin=no, > will the packages be downloaded again or will they be used from the > existin

[petsc-users] Installing Petsc

2012-08-04 Thread Dharmendar Reddy
Hello Matthew, I Do i need to download the external packages again? I mean, if i give the download options again and add debuggin=no, will the packages be downloaded again or will they be used from the existing downloads in the folder external packages ? On Sat, Aug 4, 2012

[petsc-users] Installing Petsc

2012-08-04 Thread Matthew Knepley
On Sat, Aug 4, 2012 at 8:32 AM, Dharmendar Reddy wrote: > Hello, > I have a petsc installed in debug mode with following options: > > Configure Options: --configModules=PETSc.Configure > --optionsModule=PETSc.compilerOptions --with-petsc-arch=mpi_rScalar > --with-mpi-dir=/opt/mpich2-curren

[petsc-users] Installing Petsc

2012-08-04 Thread Dharmendar Reddy
Hello, I have a petsc installed in debug mode with following options: Configure Options: --configModules=PETSc.Configure --optionsModule=PETSc.compilerOptions --with-petsc-arch=mpi_rScalar --with-mpi-dir=/opt/mpich2-current --with-scalar-type=real --with-blas-lapack-dir=/opt/intel/lib/inte

[petsc-users] Installing PETSc with make install

2011-12-20 Thread Chekuri S. Choudary
What is the correct way to do make install? Is it still working? I tried the following and failed: 1) (i) cd petsc-dev (ii)./configure --prefix=$HOME (iii) make all (iv) make install PETSC_DIR=$PWD 2) (i) cd petsc-dev (ii)./configure

[petsc-users] Installing PETSc with make install

2011-12-20 Thread Satish Balay
What problems are you encountering? Send relavent logs to petsc-maint. Satish On Tue, 20 Dec 2011, Chekuri S. Choudary wrote: > What is the correct way to do make install? Is it still working? > > > > I tried the following and failed: > > > > 1) > > (i) cd petsc-dev > > (ii)./