parallel pool 运行错误,在cluster profile manager 的validate 时,第三个SPMD job test 失败并显示错误:Job errored or did not reach the state 'finished'

78 views (last 30 days)
Error Report: Job errored or did not reach the state 'finished'.
Debug Log: LOG FILE OUTPUT:
[thread 28552 also had an error]
#
# There is insufficient memory for the Java Runtime Environment to continue.
[thread 17360 also had an error]
[thread 22316 also had an error]
[thread 20556 also had an error]
[thread 26812 also had an error]
[thread 22700 also had an error]
# Native memory allocation (malloc) failed to allocate [thread 28452 also had an error]
32744 bytes for ChunkPool::allocate
# An error report file with more information is saved as:
# C:\Users\book\AppData\Local\Temp\hs_error_pid28464.log

Answers (1)

zhu zhu
zhu zhu on 22 Nov 2023
经过几天调试,目前可以正常使用:
如果是validate失败,看下面的原因,多数是内存不足的引起的。修改matlab预设项Java堆或者在电脑设置里修改虚拟内存(注意有一个需要重启的弹窗,弹出来并重启才算成功)
validate成功后如果仍failed to start parallel pool,检查程序问题,看是否有两个连用的parfor,修改为一个parfor,一个for
我是这样解决的,仅供参考

Categories

Find more on Parallel Computing Fundamentals in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!