Hi!
I want to run an example.
C:\Users\user\source\repos\chrono_build\bin\Release>"C:\Program
Files\Microsoft MPI\Bin\mpiexec.exe" -n 2 -debug 3
demo_VEH_Cosim_TrackedVehicle.exe --terrain_specfile
"C:\Users\user\source\repos\chrono_build\bin\data\vehicle\cosim\terrain\granular_mpi.json"
As a result, the program stops working on functions
MPI_Allgather(&type, 1, MPI_INT, type_all, 1, MPI_INT, MPI_COMM_WORLD);
See the debug information log in file log1.txt
--
You received this message because you are subscribed to the Google Groups
"ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/projectchrono/44c0e9c7-c41f-4139-9760-81d23cb823a3n%40googlegroups.com.
[0][Vehicle node] rank = 0 running on: WIN-Q6P8TL3FINF
[1][Terrain node] rank = 1 running on: WIN-Q6P8TL3FINF
[1]node->Initialize()
[0][Vehicle node] output directory:
C:/Users/user/source/repos/chrono_build/bin/Release/out/MBS
[0]node->Initialize()
[0]MPI_Allgather size:2type:1
job aborted:
[ranks] message
[0] terminated
[1] process exited without calling finalize
---- error analysis -----
[1] on WIN-Q6P8TL3FINF
demo_VEH_Cosim_TrackedVehicle.exe ended prematurely and may have crashed. exit
code 0xc0000005
---- error analysis -----
manager listening on port 9efee26a-b70a-403e-8a36-9aef676fb147
[00:22636] closing the pipe to the manager
[00:22636] WIN-Q6P8TL3FINF posting a re-connect to
WIN-Q6P8TL3FINF:9efee26a-b70a-403e-8a36-9aef676fb147 in left child context.
[-1:18436] version check complete, using PMP version 4.
[-1:18436] Received session header from parent id=1, parent=0, level=0
[01:18436] Connecting back to parent using host WIN-Q6P8TL3FINF and endpoint
f7544d1e-9c45-4f73-8f54-79a9003101c5
[00:22636] version check complete, using PMP version 4.
[00:22636] posting command SMPD_COLLECT to left child, src=0, dest=1.
[01:18436] handling command SMPD_COLLECT src=0
[00:22636] Handling cmd=SMPD_COLLECT result
[00:22636] cmd=SMPD_COLLECT result will be handled locally
[00:22636] Finished collecting hardware summary.
[00:22636] posting command SMPD_STARTDBS to left child, src=0, dest=1.
[01:18436] handling command SMPD_STARTDBS src=0
[01:18436] sending start_dbs result command kvs =
4f5033b7-9270-4a50-9eaf-5989ab709db3.
[00:22636] Handling cmd=SMPD_STARTDBS result
[00:22636] cmd=SMPD_STARTDBS result will be handled locally
[00:22636] start_dbs succeeded, kvs_name:
'4f5033b7-9270-4a50-9eaf-5989ab709db3', domain_name:
'd9be5040-70be-48b0-8d4a-354e5e40e502'
[00:22636] creating a process group of size 2 on node 0 called
4f5033b7-9270-4a50-9eaf-5989ab709db3
[00:22636] launching the processes.
[00:22636] posting command SMPD_LAUNCH to left child, src=0, dest=1.
[01:18436] handling command SMPD_LAUNCH src=0
[01:18436] Successfully handled bcast nodeids command.
[01:18436] setting environment variable: <MPIEXEC_HOSTNAME> = <WIN-Q6P8TL3FINF>
[01:18436] env: PMI_SIZE=2
[01:18436] env: PMI_KVS=4f5033b7-9270-4a50-9eaf-5989ab709db3
[01:18436] env: PMI_DOMAIN=d9be5040-70be-48b0-8d4a-354e5e40e502
[01:18436] env: PMI_HOST=localhost
[01:18436] env: PMI_PORT=9efee26a-b70a-403e-8a36-9aef676fb147
[01:18436] env: PMI_SMPD_ID=1
[01:18436] env: PMI_APPNUM=0
[01:18436] env: PMI_SPAWN=0
[01:18436] env: PMI_NODE_IDS=smp_region_18436
[01:18436] env: PMI_RANK_AFFINITIES=affinity_region_18436
[01:18436] searching for 'demo_VEH_Cosim_TrackedVehicle.exe' in workdir
'C:\Users\user\source\repos\chrono_build\bin\Release'
[01:18436]
C:\Users\user\source\repos\chrono_build\bin\Release>CreateProcess(C:\Users\user\source\repos\chrono_build\bin\Release\demo_VEH_Cosim_TrackedVehicle.exe
demo_VEH_Cosim_TrackedVehicle.exe --terrain_specfile
C:\Users\user\source\repos\chrono_build\bin\data\vehicle\cosim\terrain\granular_mpi.json)
[01:18436] env: PMI_RANK=1
[01:18436] env: PMI_SMPD_KEY=0
[01:18436]
C:\Users\user\source\repos\chrono_build\bin\Release>CreateProcess(C:\Users\user\source\repos\chrono_build\bin\Release\demo_VEH_Cosim_TrackedVehicle.exe
demo_VEH_Cosim_TrackedVehicle.exe --terrain_specfile
C:\Users\user\source\repos\chrono_build\bin\data\vehicle\cosim\terrain\granular_mpi.json)
[01:18436] env: PMI_RANK=0
[01:18436] env: PMI_SMPD_KEY=1
[00:22636] Handling cmd=SMPD_LAUNCH result
[00:22636] cmd=SMPD_LAUNCH result will be handled locally
[00:22636] successfully launched process 1
[00:22636] successfully launched process 0
[00:22636] root process launched, starting stdin redirection.
[01:18436] version check complete, using PMP version 4.
[01:18436] forwarding command SMPD_INIT src=1 ctx_key=0
[01:18436] 1 -> 0 : returning parent_context: 0 < 1
[01:18436] posting command SMPD_INIT to parent, src=1, ctx_key=0, dest=0.
[00:22636] handling command SMPD_INIT src=1 ctx_key=0
[00:22636] init: 1:2:4f5033b7-9270-4a50-9eaf-5989ab709db3
[01:18436] Handling cmd=SMPD_INIT result
[01:18436] forward SMPD_INIT result to dest=1 ctx_key=0
[01:18436] handling command SMPD_BCPUT src=1 ctx_key=0
[01:18436] Handling SMPD_BCPUT command from smpd 1
ctx_key=0
rank=1
value=port=0 description="192.168.15.106 WIN-Q6P8TL3FINF "
shm_host=WIN-Q6P8TL3FINF shm_queue=20324:588
result=success
[01:18436] handling command SMPD_BARRIER src=1 ctx_key=0
[01:18436] Handling SMPD_BARRIER src=1 ctx_key=0
[01:18436] initializing barrier(4f5033b7-9270-4a50-9eaf-5989ab709db3): in=1
size=2
[01:18436] incrementing barrier(4f5033b7-9270-4a50-9eaf-5989ab709db3) incount
from 0 to 1 out of 2
[01:18436] version check complete, using PMP version 4.
[01:18436] forwarding command SMPD_INIT src=1 ctx_key=1
[01:18436] 1 -> 0 : returning parent_context: 0 < 1
[01:18436] posting command SMPD_INIT to parent, src=1, ctx_key=1, dest=0.
[00:22636] handling command SMPD_INIT src=1 ctx_key=1
[00:22636] init: 0:2:4f5033b7-9270-4a50-9eaf-5989ab709db3
[01:18436] Handling cmd=SMPD_INIT result
[01:18436] forward SMPD_INIT result to dest=1 ctx_key=1
[01:18436] handling command SMPD_BCPUT src=1 ctx_key=1
[01:18436] Handling SMPD_BCPUT command from smpd 1
ctx_key=1
rank=0
value=port=0 description="192.168.15.106 WIN-Q6P8TL3FINF "
shm_host=WIN-Q6P8TL3FINF shm_queue=1532:584
result=success
[01:18436] handling command SMPD_BARRIER src=1 ctx_key=1
[01:18436] Handling SMPD_BARRIER src=1 ctx_key=1
[01:18436] incrementing barrier(4f5033b7-9270-4a50-9eaf-5989ab709db3) incount
from 1 to 2 out of 2
[01:18436] all in barrier, release the barrier.
[01:18436] sending reply to barrier command
'4f5033b7-9270-4a50-9eaf-5989ab709db3'.
[01:18436] sending reply to barrier command
'4f5033b7-9270-4a50-9eaf-5989ab709db3'.
[01:18436] handling command SMPD_BCGET src=1 ctx_key=0
[01:18436] Handling SMPD_BCGET command from smpd 1
ctx_key=0
rank=0
value=port=0 description="192.168.15.106 WIN-Q6P8TL3FINF "
shm_host=WIN-Q6P8TL3FINF shm_queue=1532:584
result=success
[01:18436] handling command SMPD_BCGET src=1 ctx_key=1
[01:18436] Handling SMPD_BCGET command from smpd 1
ctx_key=1
rank=1
value=port=0 description="192.168.15.106 WIN-Q6P8TL3FINF "
shm_host=WIN-Q6P8TL3FINF shm_queue=20324:588
result=success
[01:18436] read 53 bytes from stdout
[01:18436] posting command SMPD_STDOUT to parent, src=1, dest=0.
[01:18436] read 53 bytes from stdout
[01:18436] posting command SMPD_STDOUT to parent, src=1, dest=0.
[01:18436] read 20 bytes from stdout
[01:18436] posting command SMPD_STDOUT to parent, src=1, dest=0.
[00:22636] handling command SMPD_STDOUT src=1
[00:22636] Handling SMPD_STDOUT
[00:22636] handling command SMPD_STDOUT src=1
[00:22636] Handling SMPD_STDOUT
[01:18436] Handling cmd=SMPD_STDOUT result
[01:18436] cmd=SMPD_STDOUT result will be handled locally
[00:22636] handling command SMPD_STDOUT src=1
[01:18436] Handling cmd=SMPD_STDOUT result
[00:22636] Handling SMPD_STDOUT
[01:18436] cmd=SMPD_STDOUT result will be handled locally
[01:18436] Handling cmd=SMPD_STDOUT result
[01:18436] cmd=SMPD_STDOUT result will be handled locally
[01:18436] read 94 bytes from stdout
[01:18436] posting command SMPD_STDOUT to parent, src=1, dest=0.
[01:18436] read 20 bytes from stdout
[01:18436] posting command SMPD_STDOUT to parent, src=1, dest=0.
[00:22636] handling command SMPD_STDOUT src=1
[00:22636] Handling SMPD_STDOUT
[01:18436] read 29 bytes from stdout
[01:18436] posting command SMPD_STDOUT to parent, src=1, dest=0.
[00:22636] handling command SMPD_STDOUT src=1
[00:22636] Handling SMPD_STDOUT
[01:18436] Handling cmd=SMPD_STDOUT result
[01:18436] cmd=SMPD_STDOUT result will be handled locally
[01:18436] Handling cmd=SMPD_STDOUT result
[01:18436] cmd=SMPD_STDOUT result will be handled locally
[00:22636] handling command SMPD_STDOUT src=1
[00:22636] Handling SMPD_STDOUT
[01:18436] Handling cmd=SMPD_STDOUT result
[01:18436] cmd=SMPD_STDOUT result will be handled locally
[01:18436] reading failed, assuming stdout is closed. error 0xc000014b
[01:18436] process_id=0 process refcount == 2, pmi client closed.
[01:18436] process_id=0 process refcount == 1, stdout closed.
[01:18436] reading failed, assuming stderr is closed. error 0xc000014b
[01:18436] process_id=0 process refcount == 0, stderr closed.
[01:18436] process_id=0 rank=1 refcount=0, waiting for the process to finish
exiting.
[01:18436] creating an exit command for process id=0 rank=1, pid=20324, exit
code=-1073741819.
[01:18436] posting command SMPD_EXIT to parent, src=1, dest=0.
[00:22636] handling command SMPD_EXIT src=1
[00:22636] saving exit code: rank 1, exitcode -1073741819, pg
<4f5033b7-9270-4a50-9eaf-5989ab709db3>
[00:22636] Suspending rank 0, smpd id = 1, ctx_key=1
[00:22636] posting command SMPD_SUSPEND to left child, src=0, dest=1.
[01:18436] handling command SMPD_SUSPEND src=0
[01:18436] suspending proc_id=1 succeeded, sending result to parent context
[01:18436] Handling cmd=SMPD_EXIT result
[01:18436] cmd=SMPD_EXIT result will be handled locally
[00:22636] Handling cmd=SMPD_SUSPEND result
[00:22636] cmd=SMPD_SUSPEND result will be handled locally
[00:22636] posting kill command smpd id=1, ctx_key=1
[00:22636] posting command SMPD_KILL to left child, src=0, dest=1.
[00:22636] suspended rank 1 already exited, no need to kill it.
[01:18436] handling command SMPD_KILL src=0
[01:18436] process_id=1 process refcount == 2, pmi client closed.
[01:18436] process_id=1 rank=0 refcount=2, waiting for the process to finish
exiting.
[01:18436] creating an exit command for process id=1 rank=0, pid=1532, exit
code=-1.
[01:18436] posting command SMPD_EXIT to parent, src=1, dest=0.
[01:18436] reading failed, assuming stdout is closed. error 0xc000014b
[01:18436] reading failed, assuming stderr is closed. error 0xc000014b
[00:22636] Handling cmd=SMPD_KILL result
[00:22636] cmd=SMPD_KILL result will be handled locally
[01:18436] handling command SMPD_CLOSE from parent
[01:18436] sending 'closed' command to parent context
[01:18436] posting command SMPD_CLOSED to parent, src=1, dest=0.
[00:22636] handling command SMPD_EXIT src=1
[00:22636] last process exited, tearing down the job tree num_exited=2
num_procs=2.
[00:22636] handling command SMPD_CLOSED src=1
[00:22636] closed command received from left child.
[00:22636] smpd manager successfully stopped listening.
[01:18436] Handling cmd=SMPD_EXIT result