-
-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A segmentation fault occurs when my array is large. #870
Comments
Can you please show the output of using MPI
MPI.versioninfo() What's the |
julia> MPI.versioninfo()
MPIPreferences:
binary: MPICH_jll
abi: MPICH
Package versions
MPI.jl: 0.20.16
MPIPreferences.jl: 0.1.11
MPICH_jll: 4.2.1+1
Library information:
libmpi: /home/zju_jyc/.julia/artifacts/b7a943fb6a811908b073b8af69d955f16703ca2b/lib/libmpi.so
libmpi dlpath: /home/zju_jyc/.julia/artifacts/b7a943fb6a811908b073b8af69d955f16703ca2b/lib/libmpi.so
MPI version: 4.1.0
Library version:
MPICH Version: 4.2.1
MPICH Release date: Wed Apr 17 15:30:02 CDT 2024
MPICH ABI: 16:1:4
MPICH Device: ch3:nemesis
MPICH configure: --prefix=/workspace/destdir --build=x86_64-linux-musl --host=x86_64-linux-gnu --disable-dependency-tracking --disable-doc --enable-fast=all,O3 --enable-static=no --with-device=ch3 --with-hwloc=/workspace/destdir
MPICH CC: cc -DNDEBUG -DNVALGRIND -O3
MPICH CXX: c++ -DNDEBUG -DNVALGRIND -O3
MPICH F77: gfortran -O3
MPICH FC: gfortran -O3
MPICH features: run command is : using MPI
using JLD2
using FFTW
MPI.Init()
comm = MPI.COMM_WORLD
rank = MPI.Comm_rank(comm)
nprocs = MPI.Comm_size(comm)
include("fun_mpi.jl")
const root = 0
nx_g = 90000#size(xx,1)*j2
Ndims = n
nx0 = rows_per_process[rank+1]
# @show rank, nx0
Axy = get_Axy_MPI(nx_g, nx0, rank, nprocs, k)
MPI.Finalize() |
That doesn't really answer my question. What's
in the terminal? Also
|
As I mensioned in title, here is my code, it works when nx_g<=10000, but can't works over it. Error info: [42194] signal (11.1): Segmentation fault. My compute mem morethan 700G
The text was updated successfully, but these errors were encountered: