Re: [petsc-users] suppress CUDA warning & choose MCA parameter for mpirun during make PETSC_ARCH=arch-linux-c-debug check

2022-10-09 Thread Junchao Zhang
OK, let's walk back and don't use -DCMAKE_C_COMPILER=/path/to/mpicc libompitrace.so.40.30.0 is not the OpenMP library; it is the tracing library for OpenMPI, https://github.com/open-mpi/ompi/issues/10036 In your previous email, there was /path/to/cmake/cmake-3.22.1-linux-x86_64/bin/cmake -E

Re: [petsc-users] suppress CUDA warning & choose MCA parameter for mpirun during make PETSC_ARCH=arch-linux-c-debug check

2022-10-09 Thread Rob Kudyba
I did have -DMPI_CXX_COMPILER set, so I added -DCMAKE_C_COMPILER and now get these errors: [ 25%] Linking CXX shared library librichdem.so /lib/../lib64/crt1.o: In function `_start': (.text+0x24): undefined reference to `main' CMakeFiles/richdem.dir/src/random.cpp.o: In function

[petsc-users] PETSc 2023 User Meeting and New Release 3.18

2022-10-09 Thread Barry Smith
We are pleased to announce the - next PETSc users meeting, June 5-7, 2023, in Chicago on the campus of IIT (mark your calendars, further information will be forthcoming soon) and the - release of PETSc version 3.18.0 at https://petsc.org/release/install/download/

Re: [petsc-users] suppress CUDA warning & choose MCA parameter for mpirun during make PETSC_ARCH=arch-linux-c-debug check

2022-10-09 Thread Junchao Zhang
In the last link step to generate the executable /cm/local/apps/gcc/10.2.0/bin/c++ -isystem -O3 -g -Wall -Wextra -pedantic -Wshadow CMakeFiles/wtm.x.dir/src/WTM.cpp.o -o wtm.x -Wl,-rpath,/path/to/WTM/build/common/richdem:/path/to/ gdal-3.3.0/lib:/path/to/openmpi-4.1.1_ucx_cuda_11.0.3_

Re: [petsc-users] Slepc, shell matrix, parallel, halo exchange

2022-10-09 Thread Matthew Knepley
On Fri, Oct 7, 2022 at 5:48 PM feng wang wrote: > Hi Mat, > > I've tried the suggested approach. The halo cells are not exchanged > somehow. Below is how I do it, have I missed anything? > > I create a ghost vector *petsc_dcsv* and it is a data member of the class > cFdDomain, which is a