Skip to content
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

Installed MPI.jl doesn't pass the test "test_shared_win.jl". #347

Closed
liuspace opened this issue Feb 14, 2020 · 8 comments
Closed

Installed MPI.jl doesn't pass the test "test_shared_win.jl". #347

liuspace opened this issue Feb 14, 2020 · 8 comments

Comments

@liuspace
Copy link

liuspace commented Feb 14, 2020

MPI.jl is installed. Most test cases are passed except the test_shared_win.jl. I am using Julia 1.0 and MPICH (Version 3.3b1) on Mac.

The issue is listed as follows. Please give me some suggestions what is wrong there.

signal (11): Segmentation fault: 11
in expression starting at ~/.julia/packages/MPI/G4WHR/test/test_shared_win.jl:60
copyto! at ./array.jl:769
copyto! at ./abstractarray.jl:723 [inlined]
copyto! at ./broadcast.jl:841 [inlined]
copyto! at ./broadcast.jl:800 [inlined]
materialize! at ./broadcast.jl:759 [inlined]
main at ~/.julia/packages/MPI/G4WHR/test/test_shared_win.jl:39
unknown function (ip: 0x10860bd61) 
jl_fptr_trampoline at /Users/julia/buildbot/worker/package_macos64/build/src/gf.c:1809
do_call at /Users/julia/buildbot/worker/package_macos64/build/src/interpreter.c:324
eval_stmt_value at /Users/julia/buildbot/worker/package_macos64/build/src/interpreter.c:363 [inlined]
eval_body at /Users/julia/buildbot/worker/package_macos64/build/src/interpreter.c:697
jl_interpret_toplevel_thunk_callback at /Users/julia/buildbot/worker/package_macos64/build/src/interpreter.c:806
unknown function (ip: 0xfffffffffffffffe)
unknown function (ip: 0x10674800f)
unknown function (ip: 0xffffffffffffffff)
jl_interpret_toplevel_thunk at /Users/julia/buildbot/worker/package_macos64/build/src/interpreter.c:815
jl_toplevel_eval_flex at /Users/julia/buildbot/worker/package_macos64/build/src/toplevel.c:805
jl_parse_eval_all at /Users/julia/buildbot/worker/package_macos64/build/src/ast.c:838
jl_load at /Users/julia/buildbot/worker/package_macos64/build/src/toplevel.c:839 [inlined]
jl_load_ at /Users/julia/buildbot/worker/package_macos64/build/src/toplevel.c:846
include at ./boot.jl:317 [inlined]
include_relative at ./loading.jl:1044
include at ./sysimg.jl:29
exec_options at ./client.jl:266
_start at ./client.jl:425
true_main at /Applications/Julia-1.0.app/Contents/Resources/julia/bin/julia (unknown line)
main at /Applications/Julia-1.0.app/Contents/Resources/julia/bin/julia (unknown line)
Allocations: 3919615 (Pool: 3918735; Big: 880); GC: 8

===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   PID 24842 RUNNING AT pn1715089.lanl.gov
=   EXIT CODE: 11
=   CLEANING UP REMAINING PROCESSES
=   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
===================================================================================
YOUR APPLICATION TERMINATED WITH THE EXIT STRING: Segmentation fault: 11 (signal 11)
This typically refers to a problem with your application.
Please see the FAQ page for debugging suggestions
@simonbyrne
Copy link
Member

What version of MPI.jl are you using? You can find out by

julia --project -e 'using Pkg; Pkg.status()'

@simonbyrne
Copy link
Member

Also, is there any reason you are using an old preview release of MPICH? Can you try it with a newer stable version?

@liuspace
Copy link
Author

What version of MPI.jl are you using? You can find out by

julia --project -e 'using Pkg; Pkg.status()'

Thanks, Simon. I am using the following version.

[da04e1cc] MPI v0.11.0 #master (https://github.com/JuliaParallel/MPI.jl)

@liuspace
Copy link
Author

Also, is there any reason you are using an old preview release of MPICH? Can you try it with a newer stable version?

I need to add package MPI.jl and Pets2.jl. Right now, Petsc2.jl only support Petsc 3.9.6 (the accompanying MPICH is version 3.3.b) and Julia 0.6. In order to make it easier to code wrapper file for Petsc in future,
I selected this version for Petsc and the accompanying MPICH.

@simonbyrne
Copy link
Member

Ah ok. I would suggest trying it with a newer MPICH version to at least see if you can determine the cause. I don't have any experience with that part of the code, so it is difficult to say what is going on. @barche do you have any ideas?

Unless your package is using the shared memory functionality, it is probably safe to ignore.

@liuspace
Copy link
Author

Ah ok. I would suggest trying it with a newer MPICH version to at least see if you can determine the cause. I don't have any experience with that part of the code, so it is difficult to say what is going on. @barche do you have any ideas?

Unless your package is using the shared memory functionality, it is probably safe to ignore.

Sure. I will try new MPICH.

@liuspace
Copy link
Author

Also, is there any reason you are using an old preview release of MPICH? Can you try it with a newer stable version?

I tried newer MPICH (3.3.2) and it works well now. Weird. 
All the tests have been validated. 
Thanks, 

@simonbyrne
Copy link
Member

Great, I'll close this then. Please open a new issue if further problems arise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants