OpneSeesMP on windows 8
Moderator: selimgunay
OpneSeesMP on windows 8
Hi all
I am trying to use OpenSeesMP on my windows 8 machine. I have downloaded and successfully installed MPICH2 (32 bit version 1.4.1p1), smpd is running and the command mpiexec -validate gives an output SUCCESS. I have tried to run the example problem in $MPICHROOT\examples and it runs fine. So I am assuming that installation of MPICH2 is correct. However when i use the command
mpiexec -np 6 OpenSeesMP filename.tcl
on command prompt nothing happens.
I use OpenSeesMP on my windows 7 machine with the same procedure and .tcl codes and it runs perfectly fine. I am not able to figure out the problem as to why it does not run on windows 8. Please suggest solutions to fix the problem.
Thanks
Kameshwar
I am trying to use OpenSeesMP on my windows 8 machine. I have downloaded and successfully installed MPICH2 (32 bit version 1.4.1p1), smpd is running and the command mpiexec -validate gives an output SUCCESS. I have tried to run the example problem in $MPICHROOT\examples and it runs fine. So I am assuming that installation of MPICH2 is correct. However when i use the command
mpiexec -np 6 OpenSeesMP filename.tcl
on command prompt nothing happens.
I use OpenSeesMP on my windows 7 machine with the same procedure and .tcl codes and it runs perfectly fine. I am not able to figure out the problem as to why it does not run on windows 8. Please suggest solutions to fix the problem.
Thanks
Kameshwar
Re: OpneSeesMP on windows 8
Thanks for your comment. I have also tried to reinstall MPICH2, I have also tried to run the example from MPICH2's directory and it runs fine.Also, the validation is successful and smpd is running, so i guess MPICH2 is fine. I use OpenSeesMP on windows 7, but when I use the same procedure on windows 8, it does not work. Can you please post the link where specific instruction to run OpenSeesMP on windows 8 are provided.
Thanks
Thanks
Re: OpneSeesMP on windows 8
i do not have access to a windows 8 machine to test it out for you.
Re: OpneSeesMP on windows 8
Because the example provided in MPICH2 installation directory is running fine, can there be any problem with the version of tcl in windows 8 ?
Re: OpneSeesMP on windows 8
some questions that pop to mind:
1) does the sequential version work?
2) are you using a 32bit version of mpich and tcl?
1) does the sequential version work?
2) are you using a 32bit version of mpich and tcl?
Re: OpneSeesMP on windows 8
The sequential version works fine..
My system is 64 bit; tcl and mpich are both 32 bit versions
My system is 64 bit; tcl and mpich are both 32 bit versions
Re: OpneSeesMP on windows 8
if the sequential runs, iy should not be a tcl problem.
1) have you tried a real simple script
puts "Hello World"
2) have you tried running the smpd in debug mode
1) have you tried a real simple script
puts "Hello World"
2) have you tried running the smpd in debug mode
Re: OpneSeesMP on windows 8
i have tried executing my regular codes in sequential mode and they run fine.
I ran smpd in debug mode; the following is the output. It gives some error but I dont know how to fix that
F:\try 1>smpd -d
[-1:13360]..\smpd_get_opt_int
[-1:13360]../smpd_get_opt_int
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt_int
[-1:13360]../smpd_get_opt_int
[-1:13360]..\smpd_get_opt_int
[-1:13360]../smpd_get_opt_int
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt_string
[-1:13360]../smpd_get_opt_string
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt_string
[-1:13360]../smpd_get_opt_string
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt_string
[-1:13360]../smpd_get_opt_string
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt_string
[-1:13360]../smpd_get_opt_string
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt_string
[-1:13360]../smpd_get_opt_string
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt_string
[-1:13360]../smpd_get_opt_string
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt_string
[-1:13360]../smpd_get_opt_string
[-1:13360]..\smpd_get_opt_string
[-1:13360]../smpd_get_opt_string
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]./smpd_parse_command_args
[-1:13360].\smpd_get_smpd_data
[-1:13360]..\smpd_get_smpd_data_from_environment
[-1:13360]../smpd_get_smpd_data_from_environment
[-1:13360]./smpd_get_smpd_data
[-1:13360].\smpd_entry_point
[00:13360]..\smpd_set_smpd_data
[00:13360]../smpd_set_smpd_data
[00:13360]..\SMPDU_Sock_create_set
[00:13360]...\SMPDU_Sock_get_sock_set_id
[00:13360].../SMPDU_Sock_get_sock_set_id
[00:13360]...created a set for the listener: 500
[00:13360]...\SMPDU_Sock_listen
[00:13360]....ERROR:Error binding socket to given port, Only one usage of each s
ocket address (protocol/network address/port) is normally permitted. (10048)
[00:13360]....ERROR:Error creating listen sock
[00:13360].../SMPDU_Sock_listen
[00:13360]...ERROR:SMPDU_Sock_listen failed,
sock error: Error = 10048
[00:13360]../smpd_entry_point
[00:13360]..calling SMPDU_Sock_finalize
[00:13360]..\SMPDU_Sock_finalize
[00:13360]../SMPDU_Sock_finalize
[00:13360]..\smpd_exit
[00:13360]...\smpd_kill_all_processes
[00:13360].../smpd_kill_all_processes
[00:13360]...\smpd_finalize_drive_maps
[00:13360].../smpd_finalize_drive_maps
I ran smpd in debug mode; the following is the output. It gives some error but I dont know how to fix that
F:\try 1>smpd -d
[-1:13360]..\smpd_get_opt_int
[-1:13360]../smpd_get_opt_int
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt_int
[-1:13360]../smpd_get_opt_int
[-1:13360]..\smpd_get_opt_int
[-1:13360]../smpd_get_opt_int
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt_string
[-1:13360]../smpd_get_opt_string
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt_string
[-1:13360]../smpd_get_opt_string
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt_string
[-1:13360]../smpd_get_opt_string
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt_string
[-1:13360]../smpd_get_opt_string
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt_string
[-1:13360]../smpd_get_opt_string
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt_string
[-1:13360]../smpd_get_opt_string
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]..\smpd_get_opt_string
[-1:13360]../smpd_get_opt_string
[-1:13360]..\smpd_get_opt_string
[-1:13360]../smpd_get_opt_string
[-1:13360]..\smpd_get_opt
[-1:13360]../smpd_get_opt
[-1:13360]./smpd_parse_command_args
[-1:13360].\smpd_get_smpd_data
[-1:13360]..\smpd_get_smpd_data_from_environment
[-1:13360]../smpd_get_smpd_data_from_environment
[-1:13360]./smpd_get_smpd_data
[-1:13360].\smpd_entry_point
[00:13360]..\smpd_set_smpd_data
[00:13360]../smpd_set_smpd_data
[00:13360]..\SMPDU_Sock_create_set
[00:13360]...\SMPDU_Sock_get_sock_set_id
[00:13360].../SMPDU_Sock_get_sock_set_id
[00:13360]...created a set for the listener: 500
[00:13360]...\SMPDU_Sock_listen
[00:13360]....ERROR:Error binding socket to given port, Only one usage of each s
ocket address (protocol/network address/port) is normally permitted. (10048)
[00:13360]....ERROR:Error creating listen sock
[00:13360].../SMPDU_Sock_listen
[00:13360]...ERROR:SMPDU_Sock_listen failed,
sock error: Error = 10048
[00:13360]../smpd_entry_point
[00:13360]..calling SMPDU_Sock_finalize
[00:13360]..\SMPDU_Sock_finalize
[00:13360]../SMPDU_Sock_finalize
[00:13360]..\smpd_exit
[00:13360]...\smpd_kill_all_processes
[00:13360].../smpd_kill_all_processes
[00:13360]...\smpd_finalize_drive_maps
[00:13360].../smpd_finalize_drive_maps
Re: OpneSeesMP on windows 8
this would appear to be an error relating to use of windows sockets. the windows sockets are what mpich uses to do the parallel processing, and not something that s being probably used in your script. (OpenSees does use tcp sockets for certain classes .. but if you have a typical script it should not be used). it could just be that you are using
a new version of the mpi library and may just require me to recompile (or you to install an older version). i will need to find the current version i have on the windows side of this mac i am using that s currently booted into OS X.
a new version of the mpi library and may just require me to recompile (or you to install an older version). i will need to find the current version i have on the windows side of this mac i am using that s currently booted into OS X.