-
Notifications
You must be signed in to change notification settings - Fork 33
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
Sudden segfault
when doing calculating FWI on the cloud
#214
Comments
It seems to happen randomly because of BLAS multithreading when there is more than one Julia worker on the same node. |
Should maybe disable it but make data time interpolation but slow sometimes without multithreading |
Thank you! |
I just tried to run FWI with preliminary settings in @info "STARTUP SCRIPT: $(@__FILE__ )"
using LinearAlgebra
BLAS.set_num_threads(1)
ENV["DEVITO_LANGUAGE"]="openmp"
ENV["OMP_NUM_THREADS"]=length(Sys.cpu_info())
ENV["DEVITO_LOGGING"]="INFO"
@info "Number of BLAS threads: $(BLAS.get_num_threads())"
@info "DEVITO_LANGUAGE: $(ENV["DEVITO_LANGUAGE"])"
@info "OMP_NUM_THREADS: $(ENV["OMP_NUM_THREADS"])"
@info "DEVITO_LOGGING: $(ENV["DEVITO_LOGGING"])" and this didn't help: I got the same segfault error et 9th FWI iteration. |
This won't help JUDI set BLAS num threads in it's init so need to set it to 1 after Line 203 in 83752f1
|
Didnt know that! thank you! |
@mloubout it is strange but sometimes addprocs(["[email protected]",
"[email protected]",
"[email protected]",
"[email protected]"],
env=["DEVITO_LANGUAGE"=>"openmp", "OMP_NUM_THREADS"=>"3", "DEVITO_LOGGING"=>"INFO"]) I hope this help |
|
Julia community thoughts on this (for the future references): |
Thanks for raising it there and the update |
Hi,
I do calculations on the cloud (master node and 4 computational nodes, standard SSH cluster manager, CentOS 7).
Starting from yesterday I begin to receive segmentation fault.
Before that moment probably a week I haven't encountered this error:
I used to have
julia LTS 1.6.7
but today after this problem started annoying me I updated julia using the following commads:and now
julia version is 1.9.3
but the problem still appears.I can get this error at iteration 9 or 4 or probably at any other time.
I understand that the problem is unlikely related to JUDI itself but maybe you already seen that?
The text was updated successfully, but these errors were encountered: